Scale without limits: Multigres, OrioleDB, and dbarena
Supabase launched three Postgres scaling efforts. Multigres, from the Vitess team, adds built-in connection pooling and automated failover across three availability-zone nodes, using a consensus protocol over synchronous replication so no committed write is lost. It is in private alpha. OrioleDB, in public beta, is a storage engine that replaces heap storage with a page-level undo log, removing bloat and the need for VACUUM, and uses 64-bit transaction IDs to avoid wraparound; it reports up to 1.8x heap throughput on TPC-C-derived benchmarks and can be chosen per table with USING orioledb. dbarena publishes reproducible, cost-normalized benchmarks comparing Supabase, RDS and Cloud SQL.
Related posts
- OrioleDB public beta: a Postgres storage engine for update-heavy tables
Supabase mediumAdeptOrioleDB, an open-source Postgres storage engine plugged in via the Table Access Method, is now in public beta on all Supabase plans. It replaces the heap with an undo log instead of dead tuples, 64-bit transaction IDs, index-organized tables where secondary indexes point to the primary key, lock-free page reads without buffer mapping, and copy-on-write checkpoints with row-level WAL, which removes most VACUUM and bloat problems on update-heavy tables. On a TPC-C-derived DBArena benchmark with data four times larger than memory, it delivered about 1.8x the throughput of heap Postgres on a 32 vCPU instance, but gains shrink for in-memory, read-mostly workloads and heap was ahead at the smallest size. It is not production-ready: no PITR, it must be chosen at project creation, and non-B-tree indexes such as pgvector HNSW run through an experimental bridge.
- Multigres private alpha: automatic failover for Supabase Postgres
Supabase easyNoviceMultigres, an open source Postgres cluster manager from the Vitess team, is now in private alpha on Supabase, running Postgres on three nodes across availability zones with automatic failover and built-in connection pooling behind a single connection string. Failover is treated as a consensus problem layered on Postgres synchronous replication: writes are acknowledged only once replicated enough to survive a failure, and surviving nodes agree on the committed set before promoting a replica, so acknowledged commits aren't lost. The pooler tracks session state per query instead of requiring a PgBouncer-style mode, uses per-user pools with fair-share allocation, and deduplicates prepared statements. The alpha is free for up to two projects on paid plans but lacks Realtime, PITR, resizing, and multi-region support, and is not for production.
- Multigres v0.1 Alpha: an operating system for Postgres
Supabase easyNoviceMultigres v0.1 alpha is an open-source management layer for Postgres. It aims to bring Vitess-style sharding, connection pooling, automatic failover and backup orchestration to Postgres, and this first release ships a single-shard cluster with HA, pooling and a Kubernetes operator. HA uses a generalized-consensus protocol over unmodified Postgres replication, with user-defined durability policies that are not tied to majority quorums. Pooling is split into a multigateway and a multipooler that parse queries to pool by connection state, keep a separate pool per user, and deduplicate prepared statements. Backups use pgBackRest taken from replicas; sharding is not included yet, the CR API is unstable, and the release is not production-ready.
- Oriole joins Supabase
Supabase easyNoviceOrioleDB, a Postgres table storage extension built on the Table Access Method API, is joining Supabase to build a faster drop-in storage engine, advance pluggable storage upstream, and enable decoupled storage and compute. Oriole implements MVCC via an undo log instead of tuple versioning, with row-level WAL, lockless in-memory access, page-level compression (roughly 4-5x smaller databases), in-place updates that avoid bloat, and index-organized tables. Its reduced IO makes S3-backed Postgres feasible, with local caching synced asynchronously to object storage. Oriole still requires patches to Postgres, which Supabase plans to help upstream with no fixed timeline.
- Supavisor 1.0: a scalable connection pooler for Postgres
Supabase mediumAdeptSupavisor 1.0, Supabase's Elixir-based Postgres connection pooler, is production-ready and adds query load balancing, named prepared statement support in transaction mode, and query cancelation. All SQL is now parsed via pg_query.rs through Rustler. Reads are randomly spread across primary and replicas, while writes find the primary by probing until a write succeeds, which adds a few milliseconds but makes failover transparent. PREPARE statements are broadcast to all backend connections, trading some memory for throughput. The release also raises default client limits for smaller projects and uses IPv4-to-IPv6 mediation to avoid AWS IPv4 charges.