As we're gearing up for the inaugural 1.0.0 release of pgEdge ColdFront, this is a good moment to show what it does. ColdFront transparently tiers PostgreSQL data to Apache Iceberg: your recent rows stay in Postgres, older rows move automatically to low-cost object storage in an open format, and your application keeps querying and updating all of it through the same tables, with the same SQL. It can also keep a table entirely in Iceberg from the first row, with PostgreSQL as the way in for all your reads and writes. I presented it at two meetups in London in October, so this post has the recording of the talk, the slides, and a live demo that you can run yourself. What ColdFront does Keeping years of history in your primary database is expensive. The usual alternative is to move the older data out to a separate system, but then your application can no longer reach it without a pipeline in between. ColdFront gives you a better option. As data ages past a threshold you set, it moves to object storage and remains part of the database, so there is no export pipeline to build or maintain, and no application code to change. It has two modes behind one SQL interface. Tiered mode is the one described above, with recent rows in Postgres and older rows in Iceberg. In decoupled mode, a table lives in Iceberg from the first row: every write goes straight to object storage, Postgres holds only a thin view over it, and you scale out by adding PostgreSQL nodes. The main features:
A cold table is partitioned the same way as its hot counterpart, so a query with a time filter skips the partitions outside it without reading any of their data, and you get fast analytical queries courtesy of DuckDB. The cold tier accepts INSERT, UPDATE and DELETE, as well as COPY and MERGE (on PostgreSQL 17 and later). Iceberg tables created by other engines, such as Apache Spark or Trino, can be adopted and read through Postgres, and those engines can read ColdFront's cold tier in turn, because it is standard Iceberg. In a Spock active-active cluster, every node can read and write the cold tier, so many PostgreSQL nodes share a single data lake. Vector search works on cold data too, using the IVF (inverted file) technique on top of Parquet's own statistics, with no separate index to build. It runs all 99 queries of the TPC-DS benchmark in decoupled mode, and returns the same results as plain PostgreSQL (and greater things are coming...).
All of this runs on stock PostgreSQL 16, 17 and 18, on x86 and ARM, with the cold tier on S3-compatible object storage, Google Cloud Storage or Azure Data Lake Storage Gen2, and it is open source under the PostgreSQL Licence.
Presenting ColdFront to the London PostgreSQL Meetup at Doggett's Coat and Badge Watch the talk The talk is called ColdFront: Transparent PostgreSQL Data Tiering to Apache Iceberg, and I gave it on two consecutive evenings: at the London PostgreSQL Meetup on Wednesday, October 7th, and at the Iceberg Europe Community Meetup, at Fresha's London office, on Thursday, October 8th. That made for one evening with a Postgres crowd and one with an Iceberg crowd, which suits ColdFront well, as it sits right where the two meet. The recording is from the second evening. It goes into how ColdFront works inside, including how each read and write is directed to the right tier, how commits from many Postgres nodes are kept from colliding at the Iceberg catalog, and how we verified that with TLA+. 🎞️ Video on YouTube: youtube.com/watch?v=PR6q_Ko8Cfk
📊 View the slides: ColdFront: Transparent PostgreSQL Data Tiering to Apache Iceberg (PDF)
The audience at Fresha's office for the Iceberg Europe Community Meetup I shared both evenings with other great speakers. At the London PostgreSQL Meetup, Elizabeth Christensen of Snowflake gave the main talk, New Postgres Tools for Analytics, and Alex Kasko of DuckLabs presented Analytics over Postgres data with DuckDB. At the Iceberg Europe Community Meetup, Giannis Polyzos of Fresha presented Apache Fluss and The Streaming Lakehouse: Rethinking Architecture For Data & AI, Elizabeth Christensen presented The Open Data Stack: Postgres, pg_lake, Iceberg, Jan Kaul of Vakamo presented Lakekeeper: Running compaction with concurrent writes, and Andrei Tserakhau of Databricks presented From Data Portability to Metadata Portability. Many thanks to the organisers of both meetups for having me, to Snowflake for sponsoring the Postgres evening, and to Fresha, Databricks and Vakamo for co-hosting the Iceberg one. Vakamo is the company behind Lakekeeper, the Iceberg catalog that ColdFront uses. See it running At the Iceberg meetup I finished with a live demo. The deck had a note to self a few slides before the end:
"Jimmy, start the live demo containers", and the guided walkthrough adding ColdFront to a database that already holds 10 million rows The demo is the tiered mode walkthrough from the ColdFront documentation, run with its interactive guide. It starts with an ordinary partitioned Postgres table that is already full of data, all of it on hot storage, then enables the pg_duckdb and coldfront extensions on that running database and tells ColdFront where the object store is. From there, the archiver moves the older monthly partitions to Iceberg, one query reads hot and cold data together, and an UPDATE changes an archived row in place. You can run all of this yourself. Exploring ColdFront in the pgEdge docs has the walkthroughs in two forms: an interactive guide for the command line of your own machine, which shows each command, runs it when you press Enter and prints the output, and a GitHub Codespace, where each walkthrough opens as a notebook in your browser and every code block runs with a click. Besides tiered mode, they cover decoupled mode, a distributed setup with two PostgreSQL nodes over one shared lake, and the standalone partitioner. Everything runs in Docker containers with a local S3-compatible object store, so you don't need a cloud bucket to try it. Gearing up for 1.0.0 The 1.0.0 release is very close now, so expect more news soon. Until then, have a go with ColdFront:
Code: github.com/pgEdge/coldfront Documentation: docs.pgedge.com/coldfront Walkthroughs: docs.pgedge.com/coldfront/development/exploring_coldfront
You can find me on 🦣 Mastodon at @vyruss@fosstodon.org or on 🦋 Bluesky at @vyruss.org.






