compare
Apache ShardingSphere vs PgDog
The same facts for both, read from GitHub every night, and the relation a person reviewed.
| Fact | Apache ShardingSphere | PgDog |
|---|---|---|
| Language | Java | Rust |
| Licence | Apache-2.0 | AGPL-3.0 |
| Stars | 21k | 5.7k |
| Latest | 5.5.3 | v0.1.66 |
| Last push | 2026-11-22 | 2026-11-21 |
| Release cadence | about 184 days between releases | about 7 days between releases |
| Active contributors | 25+ commit authors on the default branch in the last 90 days | 20 commit authors on the default branch in the last 90 days |
| Flags | none | none |
How they relate
Both replace Citus. Alternatives to Citus →
PartialApache ShardingSphereShards ordinary PostgreSQL or MySQL servers from a proxy or a JDBC driver, instead of an extension.
PartialPgDogShards ordinary PostgreSQL servers from a proxy, with connection pooling and load balancing, instead of an extension.
Apache ShardingSphere
- 5.5.32026-02-281. Fix CVE-2025-55163, CVE-2025-58056, CVE-2025-58057 #36758
- 5.5.22025-01-221. Kernel: Add firebird SQL parser module and database type #33773
- 5.5.12024-10-221. Authority: Mark privilege provider ALL_PERMITTED as deprecated and will be removed in future
- 5.5.02024-04-301. Proxy: Remove the outdated schemaName configuration of the Proxy
- 5.4.12023-10-211. Proxy: Supports dbcp and c3p0 connection pools
PgDog
- v0.1.662026-11-19Cross-shard CTEs and subqueries use unnest now for passing data between shards @jkaczman
- v0.1.652026-11-12More performance improvements in the hot path, reducing memory allocations, CPU instructions, and mutex contention requ…
- v0.1.642026-11-05Use PGO for release builds improving x86 performance by 5% and ARM64 by 30%
- v0.1.632026-11-02Add support for recursive cross-shard subqueries (i.e., subquery inside another subquery) @jkaczman
- v0.1.622026-10-16Basic support for cross-shard subqueries @jkaczman
Apache ShardingSphere
unsigned The latest release, 5.5.3, carries no signature GitHub could verify.
Loading the security report
PgDog
✓ signed The latest release, v0.1.66, carries a signature GitHub verified.
Loading the security report