Introducing Supabase Pipelines
Supabase Pipelines is a managed change-data-capture service that replicates Postgres tables to analytical destinations in near real time using logical replication, publications and replication slots, with an initial sync followed by batched ongoing changes. BigQuery was the first destination, and an update adds ClickHouse, DuckLake and Snowflake in public alpha. Setup is done in the Dashboard. Constraints include required primary keys for BigQuery, no generated columns, custom types replicated as strings, beta-only schema change support, and no transformations. The underlying ETL engine is open source and written in Rust.
Related posts
- Realtime or Pipelines? How to choose the right tool
Supabase mediumAdeptSupabase Realtime and Supabase Pipelines both read Postgres changes via logical replication but serve different jobs. Realtime pushes changes to client apps over WebSocket with best-effort delivery, temporary replication slots, and a per-subscriber RLS check for every change, typically under 100ms. Pipelines is managed CDC to analytical destinations like BigQuery, with persistent slots, at-least-once delivery, batching, and resume from retained WAL. The guidance: never use Realtime's Postgres Changes to maintain a durable copy of data in another system, because disconnects and restarts silently drop changes. Use Pipelines for that and Realtime for live user-facing updates, often both together.
- Supabase Analytics Buckets with Iceberg Support
Supabase mediumAdeptSupabase Analytics Buckets, now in private alpha, are a separate storage bucket type built on the Apache Iceberg table format, chosen for append-only history, snapshot-based time travel, schema evolution and open-format portability. Buckets live in a new `storage.buckets_iceberg` table, expose a REST catalog that tools like pyiceberg can use to create namespaces and tables, and are queried via SQL through the new Supabase Iceberg Wrapper by mapping tables into a non-public Postgres schema. Writes currently require external Iceberg-compatible ingestion until upstream iceberg-rust gains write support. Alpha limits are two buckets per project, five namespaces per bucket and ten tables per namespace.
- Adding Real Time Analytics to a Supabase Application With ClickHouse
ClickHouse mediumAdept
HouseClick, a demo estate-agency app, keeps ~1000 current listings in Supabase Postgres and serves analytics over the ~30M-row UK house price dataset from ClickHouse Cloud. The app first queried ClickHouse directly via its JS client, then switched to Supabase's ClickHouse Foreign Data Wrapper so Postgres pushes queries down to ClickHouse and returns only aggregated results. That gives developers a single SQL interface and lets them join transactional and analytical data without ETL. The post also contrasts OLTP and OLAP workloads and walks through FDW setup, best practices, and options for syncing transactional data into ClickHouse.
- ClickHouse Partnership, improved Postgres Replication, and Disk Management
Supabase mediumAdeptSupabase and ClickHouse are partnering around a Postgres-for-transactions, ClickHouse-for-analytics stack that is becoming common among AI companies. The Supabase ClickHouse foreign data wrapper now supports ClickHouse parameterized views, so query parameters can be passed from Postgres into ClickHouse. Thirteen Postgres replication and memory parameters, including max_slot_wal_keep_size and max_wal_size, are now configurable through the CLI. This targets PeerDB CDC pipelines, where the default 1GB WAL limit could cause data loss. Disk space can also be split between database and WAL, for example 6GB/2GB on the Pro plan.
- Supabase Wrappers v0.2: Query Pushdown & Remote Subqueries
Supabase mediumAdeptSupabase Wrappers v0.2, a Rust-based Postgres foreign data wrapper framework for querying third-party sources with SQL, adds query pushdown, remote subqueries and per-FDW usage statistics. Pushdown is implemented inside each wrapper, so a filter on a Stripe customer id becomes a single API call and ClickHouse queries can push down ORDER BY and LIMIT. Remote subqueries map a static query, or a parameterized ClickHouse/BigQuery view whose parameters are exposed as columns, onto a foreign table. A new wrappers_fdw_stats table records rows and bytes transferred in each direction for spotting bottlenecks, and the release also adds Airtable and S3 wrappers.