Next steps for Postgres pluggable storage
Postgres 12 introduced a table access method (TAM) API intended to let different tables use different storage engines, but work on ZHeap and the API stalled, leaving gaps: index updates are all-or-nothing, and row versions must be identified by block and offset, which rules out index-organized tables and undo-based versioning. Citus Columnar and EDB's Advanced Storage Pack work within these limits, while OrioleDB has been upstreaming its fork, shrinking its patchset from about 5,000 lines in Postgres 14 to about 2,000 for Postgres 16. If the remaining changes land, possibly in Postgres 17, engines like OrioleDB could ship as ordinary extensions offering undo logs, row-level WAL and index-organized tables.
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.
- 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.
- Scale without limits: Multigres, OrioleDB, and dbarena
Supabase easyNoviceSupabase 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.
- Beyond FTS5: Building Transactional Full-Text Search in TursoDB
Turso mediumAdeptTursoDB adds native full-text search by embedding Tantivy and implementing its Directory trait on top of Turso's B-tree, storing index "files" as 512KB chunks in an internal table. Because of this design, index updates share the SQL transaction, WAL, rollback and single-file storage, and indexes are created with Postgres-style `CREATE INDEX ... USING fts` syntax with configurable tokenizers, BM25 column weights, MATCH and highlighting. A hybrid cache keeps metadata resident, caches hot small files (term dictionaries, fast fields) whole, and lazy-loads large segment data by chunk. Background merges conflict with single-writer transactional storage, so automatic merging is disabled via NoMergePolicy. An explicit `OPTIMIZE INDEX` command handles compaction, similar to VACUUM or ANALYZE.
- Turso v0.6.0
Turso mediumAdeptTurso 0.6 is the first release supporting all major SQLite features, adding experimental multi-process WAL access (OFD locks on Linux, fcntl elsewhere, IOCP on Windows) and VACUUM/VACUUM INTO. SQL additions include production-ready triggers, temp tables, virtual generated columns, CREATE TABLE AS SELECT, partial WITHOUT ROWID support, UPDATE...FROM, FILTER on aggregates, NULLS FIRST/LAST, and INDEXED BY hints. The STRICT type system gains arrays, structs/unions and Postgres-style domains, and MVCC logical logs are now encrypted with AEAD in 32 KiB chunks. SDK changes add query timeouts, async prepare, fixed interactive transactions in the serverless driver, an npm-distributed CLI and a SQLAlchemy asyncio dialect.