#644 — April 15, 2026 |
|
Postgres Weekly |
|
|
Keeping a Postgres Queue Healthy — Running a job queue in Postgres works well (“just use Postgres!”) until long-running analytics queries silently prevent autovacuum from keeping up. Here’s what’s actually going on and what you can do about it, along with PlanetScale’s own in-house solution. Simeon Griggs (PlanetScale) |
You Extend Postgres for Everything Else. Why Not Analytics? — TimescaleDB adds hypertables, 95% compression, and continuous aggregates so Postgres handles analytics on live data. No second database, no pipeline, no new query language. Same SQL you already write. Start building for free. Tiger Data (creators of TimescaleDB) sponsor |
|
Making Materialized View Refreshes O(delta) Instead of O(total) — Every time you refresh a materialized view, it recomputes the entire dataset, even if only a single row changed. A patch, being discussed on Adam Brusselback |
💡 pg_ivm offers similar functionality as an extension, though with tighter restrictions on supported SQL syntax. |
|
Understanding Postgres Wait Events — When a query slows down or a database becomes CPU bound, Postgres already knows why. The Richard Yen |
|
Checkpoints, Write Storms, and You — When Postgres is forced to checkpoint early (typically when it hits Shaun Thomas (pgEdge) |
💡 In a follow-up, Jeremy Schneider notes checkpoints aren’t the only source of write storms: setting |
|
'I Imported the Linux Kernel into Postgres' — A developer imported the full Linux kernel history into Postgres by way of pgit. A good stress test of Oliver Seifert |
|
The 1 GB Limit That Breaks Warda Bibi |
|
📄 Less Obvious Things to Know About Indexes – Quick insights into composite index ordering, function calls on columns, and indexing rows you’ll never query. Jon Charter 📄 Rotating Postgres Credentials in Production Without Downtime ElyDB Team 📄 Waiting for Postgres 19: New |
|
RELEASES AND CODE: |
|
lasect |
|
💳 Supabase Transfers the Stripe Sync Engine to Stripe — Stripe Sync Engine, originally created by Supabase as a way to synchronize a Stripe account with a Postgres database, is now an official Stripe project. Supabase |
|
Skunk 1.0: A Pure Functional Postgres Driver for Scala — Skunk is a pure functional, non-blocking Postgres driver for Scala that now supports Scala 2.13 and 3 across JVM, JS, and Scala Native 0.5. Michael Pilquist (Typelevel) |
|

