Skip to content

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

Neon 11 min read Deep dive easyNovice

Zero-ETL lakehouses for Postgres people

Data lakehouses unbundle an OLAP database into six layers: object storage, raw data formats like Parquet, table formats like Iceberg or Delta Lake, a metadata catalog such as Unity Catalog or DuckLake, compute, and query engines like Spark or DuckDB. This layering gives warehouse-like SQL, ACID and snapshots at close to data-lake cost. The explanation is aimed at Postgres users and covers why OLAP systems favour column-oriented, time-chunked and partitioned storage, why HTAP has lost out to zero-ETL sync between separate OLTP and OLAP systems, and how separating storage from compute shapes the stack. Parquet and Iceberg are emerging as favourites, and the Postgres extensions pg_duckdb, pg_lake and pg_mooncake are highlighted as bridges between Postgres and lakehouses.

Related posts

  • Are open-table-formats + lakehouses the future of observability?

    ClickHouse mediumAdept

    Lakehouses built on open table formats like Apache Iceberg and Delta Lake are becoming viable for observability, combining Parquet's columnar compression, encodings, page and row-group statistics, and Bloom filters with table-level schema evolution, partitioning, snapshots, and catalogs. At telemetry scale they run into real problems. Partitioning involves tradeoffs between small-file explosion and wide scans, metadata and manifests grow with high ingest, optimistic-concurrency commits contend under many writers, Parquet handles semi-structured data and point lookups poorly, and object storage adds latency. Liquid clustering, Parquet's new VARIANT type, and formats like Lance are narrowing these gaps, while engines like ClickHouse handle batching, sorting, and merges natively.

  • From Spreadsheets to DuckLake: A Data Engineer's Road to DuckDB

    DuckDB mediumAdept

    Data engineer Matt Martin traces his path from copy-pasting Excel reports through Teradata, BigQuery and heavyweight Spark clusters to DuckDB, which let him query local CSVs, S3 Parquet files and Iceberg tables in a few lines of SQL with no JVM or cluster. He favours DuckLake over Iceberg because it keeps lakehouse metadata in a SQL database. In his experience, catalog operations that take seconds with Iceberg's metadata files resolve in under a millisecond, and the setup is two statements instead of a 20-plus-line Spark configuration. In DuckDB 2.0 alpha, asynchronous I/O cut his S3 read times for 1,000–10,000 files by 67–70%, and ATTACH now accepts expressions such as getenv. The Quack protocol can also serve a DuckLake over HTTP without handing out AWS credentials.

  • HTAP is Dead

    Neon easyNovice

    HTAP as a single-database architecture never reached product-market fit, even though systems like SingleStore and TiDB proved row and column storage could be combined. The reasons given: replacing an incumbent OLTP system is very hard, most transactional workloads fit on one large machine, the cloud favored shared-disk object storage over shared-nothing designs, and OLTP and OLAP belong to different teams. The HTAP need now lives in the composed data stack, where OLTP systems and stream processors act as the WAL, Iceberg serves as storage, Spark or Trino handle execution, and ClickHouse or Elastic act as indexes. The open problem has become making the lakehouse real-time, mainly through efficient CDC into the lake and keeping indexes in sync.

  • Supabase Analytics Buckets with Iceberg Support

    Supabase mediumAdept

    Supabase 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.

  • 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.

The quest for software engineering knowledge.

Look:
Layout: