I see Postgres as both a traditional RDBMS and a broader data platform, and I favor pipeline designs that keep data work close to where the data and system of record already live. These examples range from S3 and Iceberg ETL to Parquet queried through Postgres, HTTP ingestion, and scheduled database work. They connect to postgres as a data platform, duckdb postgres integration, iceberg and tpc h, and scheduled postgres jobs.
I described a newsletter whose unsubscribe settings may take two weeks to take effect, and said I “Kinda” wanted to contact its sender about more real time data architectures.
I described the data as: Accessed in Postgres (through @duckdb) with low level Postgres extension hooks.
I said: As new data arrives, materialized views automatically refreshed.
I characterized the setup as a fairly sophisticated data pipeline in 4 lines of SQL.
I said, “Postgres is as much a data platform as it is a traditional RDBMS.” I also said, “When you think of it as your all in one data platform a lot of simplicity can emerge compared to complex data architectures.”
In the post I shared alongside that view, @crunchydata discussed using Postgres’s HTTP extension to ingest data from APIs or online sources.
@crunchydata discussed issues retrieving data at scale and attributed production suggestions involving a Postgres procedure function and a cron job to Paul Ramsey.
During a live demo of Crunchy Data Warehouse, I endorsed the proposed workflow: read in from s3 paths through iceberg; create temp ephemeral table; store output back on s3 through iceberg; drop crunchy tables at end of pipeline.
I said, “There's a lot of beauty in the simplicity of it.” I also said, “Automating it all directly in your database with pg_cron.”
I said, “It's already your system of record,” and that operating close to where the data sits can reduce systems sprawl and complexity.
The newsletter remark records tentative interest, not a stated decision to contact its sender. The ETL post records an endorsement of a proposed workflow rather than a report of an implemented pipeline or measured performance.
I said, “Seeing this pattern quickly emerge” around using Postgres for event-data workflows, as an alternative to more complex ETL data architectures.
I said that when the four points came together, it was “a bit mind blowing.”
- I highlighted: “It's all Postgres so you already know how to work with it.”
- I highlighted: “It's fully transactional.”
- I highlighted: “It's performant and scales.”
- I highlighted: “It's simple.”
- I outlined the pipeline’s first stage: “Archive off data incrementally with a lightweight transactional ETL.”
I described the end-to-end pipeline as simple, efficient, and cost effective.
Related: parquet analytics and pipelines, incremental and parquet tools, postgres and iceberg