qmetrics.net

PgDog

PostgreSQL pooler, load balancer, and sharding proxy

DatabasesSelf-hostable
PgDog screenshot

PgDog is a Rust proxy that pools PostgreSQL connections, balances read traffic across replicas, and routes sharded queries using the native SQL parser. Clients connect to PgDog as they would to a single database endpoint.

Overview

PgDog scales PostgreSQL behind one proxy process that understands the wire protocol. Transaction and session pooling let many application clients share a small set of server connections, with handling for SET statements and startup options when connections are shared.

As a layer-seven load balancer, it distributes transactions across primaries and replicas using round robin, random, or least-active strategies, with health checks that remove failed hosts from rotation. Read and write splitting sends mutating statements to the primary and SELECT queries to replicas when configured.

Sharding maps tables or schemas to shards using partition-style hash, list, or range rules, or schema-based placement. Cross-shard queries merge results in memory, with growing support for aggregates and ordered results; two-phase commit can coordinate multi-shard writes.

Authentication integrates password hashing, AWS RDS IAM, Azure Workload Identity, and HashiCorp Vault dynamic or static credentials. Deployment options documented include Docker Compose, a Helm chart, and binary configuration via pgdog.toml and users.toml.

Key features

  • Transaction and session connection pooling
  • Replica load balancing with health checks
  • Automatic read and write splitting
  • Multi-shard query routing and merging
  • Vault and cloud IAM backend auth
  • Failover-aware write redirection
  • Helm and Docker deployment

Use cases

  • Pool thousands of app connections to few Postgres backends
  • Expose one endpoint for primary and replicas
  • Horizontally shard large Postgres datasets
  • Front RDS or Patroni clusters with failover handling

Tags

Similar software

Supabase

Open-source Postgres platform with auth, APIs, and storage

Supabase bundles a dedicated Postgres database with authentication, auto-generated REST and GraphQL APIs, realtime, functions, file storage, and vector tooling.

  • Dedicated Postgres per project
  • Built-in authentication and RLS
  • Auto-generated REST and GraphQL APIs
TypeScriptDetails →
★ 115.9k⟳ todayApache-2.0
Open Source Alternative to:Amazon AuroraFirebase+1

NocoDB

Self-hostable no-code database with spreadsheet interface

NocoDB turns Postgres, MySQL, SQLite, or a hosted database into editable tables with grid, kanban, form, gallery, and calendar views. Teams collaborate with roles, sharing, REST APIs, and workflow integrations.

  • Spreadsheet-style grid and alternate views
  • Connect Postgres, MySQL, or SQLite
  • Role-based access and locked views
TypeScriptDockerDetails →
★ 65.7k⟳ todaySource-available
DatabasesSelf-hostable
Alternative to:AirtableGoogle Sheets+1

etcd

Raft-backed distributed consistent key-value store

etcd stores small critical configuration and coordination data for clusters. It exposes a gRPC API, tolerates failures via Raft, and ships with the etcdctl command-line client.

  • Strongly consistent Raft replication
  • gRPC and HTTP key-value API
  • Watch keys and directories for changes
GoLinux, macOS, Windows, DockerDetails →
★ 52.7k⟳ yesterdayApache-2.0
DatabasesSelf-hostable

DBeaver

Universal multi-platform database tool and SQL client

Free desktop client for developers and DBAs with SQL editing, data editing, ER diagrams, exports, and support for hundreds of JDBC or ODBC databases.

  • SQL and schema editors
  • Data grid editing
  • ER diagram modeling
JavaLinux, macOS, WindowsDetails →
★ 52.6k⟳ todayApache-2.0
DatabasesDesktop/CLI app
Open Source Alternative to:DataGripNavicat+4

ClickHouse

Column-oriented real-time analytics database management system

ClickHouse is a column-oriented database for generating analytical reports in real time using SQL on large datasets.

  • Column-oriented OLAP storage
  • Real-time analytical SQL queries
  • High compression for large datasets
C++Linux, macOSDetails →
★ 51.4k⟳ todayApache-2.0
Open Source Alternative to:Amazon RedshiftBigQuery+1

DuckDB

In-process analytical SQL database engine

DuckDB embeds in applications and the CLI to run fast OLAP SQL locally. It reads Parquet, CSV, JSON, remote object storage, and lakehouse formats without a separate database server.

  • Embedded in-process OLAP engine
  • Rich SQL with windows and nested types
  • Direct queries on Parquet and CSV files
C++CLIDetails →
★ 43.7k⟳ todayMIT