PgDog
Scale PostgreSQL horizontally without the pain.
PgDog is an open-source PostgreSQL proxy that combines connection pooling, load balancing, and sharding in a single executable, deployable anywhere. It acts as a drop-in proxy so applications can connect through one endpoint without code changes, sharing a limited number of database connections across many clients while preserving session state features like SET commands, advisory locks, and LISTEN/NOTIFY.
Its connection pooler supports real transaction mode with multi-threaded, async operation and prepared statement compatibility across client drivers. The load balancer distributes reads across replicas with health checks, replication lag detection, failover detection, and read/write splitting using an internal Postgres SQL parser. The sharding layer routes queries by sharding key, supports scatter/gather for queries without one, cross-shard transactions via two-phase commit, replicated tables, automatic big integer primary keys, and cross-shard DDL compatible with migration tools such as Alembic and ActiveRecord.
PgDog is aimed at teams running PostgreSQL who need horizontal scaling, connection management, or distributed database capabilities. It is open source with an Enterprise offering available; specific packaging details such as free plans, trials, or seat-based pricing are not stated on these pages.
12 alternatives to PgDog
Ranked by how well each tool replaces PgDog: shared features, audience, price and popularity.
Open source object-relational database system
Covers 1 of 15 key features.
Free planOpen source64 out of 100 matchFreeThe sovereign data and AI platform for the agentic enterprise.
Covers 4 of 15 key features.
61 out of 100 match—- 61 out of 100 matchFree
- 60 out of 100 match$30/mo
- 59 out of 100 match$25/mo
- 58 out of 100 matchFree
Distributed SQL database for AI agents, transactions, and analytics
Covers 7 of 15 key features.
Free planOpen source58 out of 100 match$1,376/moA scalable, open source Big Data Management System (BDMS) for storing, indexing and semi-.
Covers 7 of 15 key features.
Open source58 out of 100 match—- 57 out of 100 match—
- 57 out of 100 match—
Real-time analytics database for live operational data
Covers 1 of 15 key features.
Free planOpen source57 out of 100 matchContact salesDistributed PostgreSQL database for AI-native and agentic workloads
Covers 0 of 15 key features.
Free planOpen source56 out of 100 match$125/mo