News for hackers. Stuff that matters.
Re:Show HN: Streambed – Stream Postgres to Iceberg on S3, Su... by vira28 on Sunday May 31, 2026 @07:23PM (#48350820)
Author here. For context, I was the tech lead for the Postgres team at Cloudflare, and this came directly out of a challenge I kept hitting there: BI and dashboard teams needed to run long-running analytical queries, and the answer was always to spin up another bespoke read replica or stand up an ETL dump into an analytical database and query that.

So the question I started with was: what's the fewest components I could get away with? That led to the architecture here — Streambed connects to Postgres as a logical replication subscriber (same mechanism as a read replica) and streams WAL changes straight into Apache Iceberg on S3, queryable from psql via an embedded DuckDB. There are a lot of edge cases to handle, and it's very much early days.

Welcome any feedback.

Re:Show HN: Streambed – Stream Postgres to Iceberg on S3, Su... by ashtuchkin on Sunday May 31, 2026 @08:18PM (#48351222)
Just wanted to say thank you! Very relevant to our use cases. I'll report if I find any issues.
Re:Show HN: Streambed – Stream Postgres to Iceberg on S3, Su... by vira28 on Monday June 01, 2026 @03:08AM (#48353521)
Welcome. Would love to hear your experience. Feel free to share here or in the repo. Fully open source.
Re:Show HN: Streambed – Stream Postgres to Iceberg on S3, Su... by kikimora on Sunday May 31, 2026 @09:08PM (#48351539)
To me being able to query over psql is secondary. I’m fine with any SQL. What is very important is being able to transform the data to better suite analytical queries. That is, define custom transformations, define how data sectioned and what indices available.
Re:Show HN: Streambed – Stream Postgres to Iceberg on S3, Su... by erikcw on Monday June 01, 2026 @01:02AM (#48352802)
Thanks for releasing this! How do you handle DDL queries? Are table changes synchronized to the Iceberg table automatically?

Also, I recently started looking into olake[0] to serve the same purpose. What would you say differentiates Streambed?

[0] https://github.com/datazip-inc/olake

Re:Show HN: Streambed – Stream Postgres to Iceberg on S3, Su... by raducu on Monday June 01, 2026 @01:18AM (#48352897)
> queryable from psql via an embedded DuckDB.

noob question here from someone who ony played a bit with iceberg and trino: what's the reason to do the analytics stil inside the postgres -- is it so that you don't eat up the IOPS/bandwidth of the main postgresql disks?

Re:Show HN: Streambed – Stream Postgres to Iceberg on S3, Su... by iamcreasy on Monday June 01, 2026 @01:21AM (#48352914)
Very cool! What would a 10,000 feet solution look like for MySQL to Iceberg on S3?
Re:Show HN: Streambed – Stream Postgres to Iceberg on S3, Su... by vira28 on Monday June 01, 2026 @03:07AM (#48353511)
Should be fairly doable using binlog-based producer https://github.com/go-mysql-org/go-mysql.
Re:Show HN: Streambed – Stream Postgres to Iceberg on S3, Su... by kshri24 on Monday June 01, 2026 @03:36AM (#48353708)
> streams WAL changes straight into Apache Iceberg on S3, queryable from psql via an embedded DuckDB

Why not use Ducklake instead of Apache Iceberg? Wouldn't that simplify the architecture substantially?

Re:Show HN: Streambed – Stream Postgres to Iceberg on S3, Su... by vira28 on Thursday June 04, 2026 @01:30AM (#48394374)
From what I understand Ducklake needs a dedicated metadata database and it also ties to DuckDB land wherease with Iceberg many engines can query directly.
Re:Show HN: Streambed – Stream Postgres to Iceberg on S3, Su... by kshri24 on Thursday June 04, 2026 @02:41AM (#48394909)
You are already using Postgres in your setup so why not just use Postgres itself as metadata database? It is a much better setup than using Iceberg [1].

> and it also ties to DuckDB land wherease with Iceberg many engines can query directly.

Ducklake can also be queried by many engines [2]. Though not as exhaustive as Iceberg.

[1]: https://www.youtube.com/watch?v=-PYLFx3FRfQ [2]: https://ducklake.select/docs/stable/#list-of-ducklake-client...

Re:Show HN: Streambed – Stream Postgres to Iceberg on S3, Su... by alex_hirner on Monday June 01, 2026 @03:48AM (#48353777)
How does it compare to https://github.com/supabase/etl ?
Re:Show HN: Streambed – Stream Postgres to Iceberg on S3, Su... by vira28 on Thursday June 04, 2026 @01:32AM (#48394398)
The idea is pretty similar. As per their README, Iceberg support is deprecated.
Re:Show HN: Streambed – Stream Postgres to Iceberg on S3, Su... by BodyCulture on Monday June 01, 2026 @04:53AM (#48354237)
Why are your queries slow?
Re:Show HN: Streambed – Stream Postgres to Iceberg on S3, Su... by saxenaabhi on Monday June 01, 2026 @08:16AM (#48355821)
Hey vira28, thanks a lot for your work. This is a very promising project because other alternative like supabase/etl, Kuvasz-streamer, Sequin all have some subtle issues.

Few questions: 1) For a supabase project can we setup replication slot on replica instead of primary? https://sequinstream.com/docs/reference/databases#using-sequ...

2) For a planetscale cluster are the replication slots on primary or the follower nodes?

I'm asking because isn't setting up slots on primary riskier than setting them on replicas/followers? Because If you have them primary In case of WAL buildup your primary will go down?

Re:Show HN: Streambed – Stream Postgres to Iceberg on S3, Su... by vira28 on Tuesday June 02, 2026 @12:51AM (#48366205)
Welcome. To avoid primary running out of disk space, you can configure max_slot_wal_keep_size https://www.postgresql.org/docs/17/runtime-config-replicatio...

Since Supabase is vanilla Postgres, streambed should work with replica as the source.

reg, Planetscale, I haven't looked at their offerings yet.

Where do you host your DB currently? Happy to try out with that provider as the source.