Skip to content
SPECIFICTION
Get listed

SPQR vs Supavisor

SPQR

docs.pg-sharding.tech

Supavisor

github.com

Side by side

FigureSPQRSupavisor
Price fromFree$25/mo
Free planYesYes
Free trial——
Open source—Yes
LinuxYesYes
APIYesYes
Self-hostedYesYes
Plans published15
Spec score · Database Proxy Software7.8 (#9)8.5 (#4)
What it doesSPQR is a stateless PostgreSQL query router for horizontally scaling PostgreSQL through sharding.Supavisor is a scalable, cloud-native connection pooler that proxies many PostgreSQL client connections into pooled database connections.

Plans

SPQR

  • SPQRFree

SPQR pricing →

Supavisor

  • FreeFree
  • Open-source SupavisorFree
  • Pro$25 a month
  • Team$599 a month
  • EnterprisePriced on request

Supavisor pricing →

In their own words

SPQR

SPQR is a self-hosted query router for horizontally scaling PostgreSQL through sharding. It can extract a sharding key from a query and route it to the relevant key range and shard when possible; keys can use one column or several. Queries can also specify a key or shard in a SQL comment. Applications connect using the PostgreSQL protocol, and the router and coordinator provide administrative consoles accessible through psql. SPQR supports one-phase and two-phase commit strategies; two-phase commit provides atomicity across shards and requires max_prepared_transactions greater than zero on each shard. The system can move data between shards to balance workload, and the project describes reducing transferred ranges to limit locking impact. Its documentation includes Docker and configuration-file deployment instructions. SPQR is free and distributed under the PostgreSQL Global Development Group License. The FAQ cautions that it is not suited to complex cross-shard queries, transactions modifying multiple shards or OLAP workloads, and reports a roughly 10–30% performance drop versus vanilla PostgreSQL depending on workload.

Visit docs.pg-sharding.tech

Supavisor

Supavisor has no write-up on Specifiction yet; its figures are above.

Visit github.com