Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Supabase 3 min read Announcement easyNovice

Oriole joins Supabase

OrioleDB, 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.

Assumes: PostgreSQL basicsMVCC

Related posts

  • OrioleDB public beta: a Postgres storage engine for update-heavy tables

    Supabase mediumAdept

    OrioleDB, 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.

  • Next steps for Postgres pluggable storage

    Supabase easyNovice

    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.

  • Scale without limits: Multigres, OrioleDB, and dbarena

    Supabase easyNovice

    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.

  • Storage is now available in Supabase

    Supabase mediumAdept

    Supabase Storage is an object store built as a custom TypeScript/Fastify API server behind Kong, with object metadata and access policies kept in each project's Postgres database and objects stored in S3. Existing servers like Minio, Ceph and Zenko were rejected because they couldn't use Postgres as their datastore, carried features unnecessary on managed backends, and didn't map to Supabase Auth. Authorization uses Postgres Row Level Security on a storage.objects table: if a user can select or delete the row, they can read or delete the object, so policies are written in SQL and listing filters happen in the database. Uploads stream through Node streams to S3 with minimal buffering, trading off knowing the object size upfront, and objects get a default 1-hour Cache-Control header.

  • Supabase Storage: major performance, security, and reliability updates

    Supabase mediumAdept

    Supabase Storage replaces its trigger-maintained prefixes table with a hybrid skip-scan algorithm that derives folder structure at read time, and switches from OFFSET to cursor-based pagination, making deep pagination up to 14.8x faster on 60 million rows with no write penalty. The release also closes a file-backend path traversal bug and blocks direct SQL DELETEs on storage tables that orphaned S3 objects. It adds Postgres query cancellation on client disconnect, idempotent migrations verified by pg_dump comparison, a fix for a TUS S3 lock renewal race, and a move from prom-client to OpenTelemetry metrics. No code changes are required, though switching to the listV2 endpoint is recommended.

The quest for software engineering knowledge.

Look:
Layout: