PgDog — Complete Page Extraction

2026-05-15 · source · source ↗ · raw capture · wiki page

Overview

PgDog is a PostgreSQL proxy tool that combines three capabilities into a single executable: a connection pooler, a load balancer, and a distributed (sharded) database system. The tagline is "Scale Postgres n times."

It deploys via Docker, Helm on Kubernetes, or as a standalone binary.


Three Core Features

1. Connection Pooler — "Real transaction mode"

2. Load Balancer — "ALB for your database"

3. Distributed Database — "Shard Postgres, without app changes"

Distributed Database Advanced Features


Architecture

The visual architecture shows: Your App → PgDog (which acts as pooler + load balancer + distributed SQL coordinator/sharder) → PostgreSQL instances (primaries, replicas, and shards).

The config-driven setup uses a pgdog.toml file where you define databases with host, port, role (primary/replica), and shard assignments.

Sharding Model (visualized)

Each shard appears to have one primary + 2 replicas.


Deployment Options

Method Command
Helm (Kubernetes) helm repo add pgdogdev https://helm.pgdog.dev then helm install pgdog pgdogdev/pgdog
Docker docker run ghcr.io/pgdogdev/pgdog:latest

Performance Metrics (claimed)


User Testimonials / Use Cases

Source Quote (trimmed to 125 chars)
John Kulzick, Span "We couldn't have done it without PgDog. This was a first for me and it turned out being easier and less scary than I expected."
Mike Matkiwsky, TripStack "We're ingesting more data than ever before. Since switching to PgDog, we've only had 100% uptime."
Sam R., Modal "We run thousands of pods and couldn't have scaled this far without PgDog. The team has been very responsive throughout."
Maher Beg, Ramp Compared to RDS Proxy, PgDog provided "a huge step up in connection scalability and removed a major bottleneck."
Hutch Ingold, Earth Genome Moved "complicated geospatial sharding logic from the application tier into a simple config" with nearly 4 billion rows and zero issues.

Known Users (Logos)

Coinbase, Bitstack, Reducto, Circleback, TripStack, Span, Ramp, Modal, Huntress, Earth Genome


Client Drivers Mentioned

asyncpg, pgx, libpq, ruby-pg


Docs & Resources

Section Links
Product Open source docs, Enterprise page, Blog
Docs Installation, Connection pooler, Load balancer, Sharding
Support GitHub (4.3k stars), Discord, Calendly (talk to us), Email

Pricing

No pricing information is visible on this page. The product has an open-source offering (docs.pgdog.dev) and a separate Enterprise page (linked but not detailed here). The footer also links to a Privacy policy and Terms of service.


Key Takeaway

PgDog is positioned as a drop-in PostgreSQL proxy requiring no application code changes — it replaces or augments tools like RDS Proxy while adding sharding capabilities typically found in middleware like Citus, but with a simpler configuration-driven approach.