Sammlung von Newsfeeds
Christophe Pettus: All Your GUCs in a Row: ignore_checksum_failure
Radim Marek: The DISTINCT in your COUNT
Here is a query that shows up in every analytics workload:
SELECT count(DISTINCT user_id) FROM events;It looks like the cheapest possible thing: count the distinct users. On a machine with cores to spare you would expect Postgres to throw a few parallel workers at it, the way it does for almost any large scan. It does not. That one keyword, DISTINCT, switches off parallel query for the entire statement, and the larger your table the more it costs you. No setting or index changes that; the reason is in how the aggregate has to execute.
Christophe Pettus: Ontogeny Recapitulates the Relcache
Avi Vallarapu: Tuning PostgreSQL HOT Updates - A HammerDB Benchmark
Christophe Pettus: All Your GUCs in a Row: idle_session_timeout
What if Claude were your Postgres server?
#660 — August 5, 2026
Lots of videos from this year's PGConf.dev are now on YouTube and I've rounded up some highlights at the end of the issue!
__
Your editor, Peter Cooper
Postgres Weekly
Wellingtone Luvonga: Mastering PostgreSQL Configuration Management with CloudNativePG (CNPG)
If you are a traditional database administrator (DBA) transitioning to Kubernetes, the cloud-native ecosystem can feel like a series of personal attacks on your workflow.
For years, your terminal was your home. If a query was running slow, you SSH’d into the VM, opened /var/lib/pgsql/data/postgresql.conf in vim, bumped up shared_buffers, and ran a quick pg_ctl reload. If you needed to lock down access for a new application server, you hopped into pg_hba.conf, appended a new host rule, and went about your day.
Christophe Pettus: All Your GUCs in a Row: idle_replication_slot_timeout
Umair Shahid: PostgreSQL Lockup vs Stale Connection: How to Tell Them Apart
“The database is locked up.” We heard some version of that sentence more than once this past week, from the same team, about what looked like the same problem. It was not the same problem. Once, Postgres had genuinely stopped responding. Every other time, Postgres was fine, and a connection sitting in the application’s pool had quietly died somewhere between the app and the database.
Christophe Pettus: All Your GUCs in a Row: idle_in_transaction_session_timeout
Christophe Pettus: All Your GUCs in a Row: ident_file
Christophe Pettus: All Your GUCs in a Row: hot_standby_feedback
Alexey Evlampiev: Your Transaction Boundary Belongs in the Program, Not the Filename
A phased schema change spans transactional and non-transactional work. Most migration frameworks express that distinction as metadata; pgmi makes it part of the SQL program.
By Alexey Evlampiev
Three facts about PostgreSQL decide how a deployment has to be shaped, and all three are the server’s rules rather than any tool’s.
Alexey Evlampiev: Your ALTER TABLE Is Fast. The Queue Behind It Is Not.
A schema change that runs in six milliseconds can still stop every read on the table for sixteen seconds — the damage is done by waiting, not by working.
By Alexey Evlampiev
Elizabeth Garrett Christensen: Postgres COUNT(DISTINCT) Too Slow? Fast Approximation Guide
That's 320 milliseconds vs 671 ms for exact COUNT(DISTINCT) which is about twice as fast on a single scan. Also HLL isn't just about raw speed on one query. The function names are a bit verbose but the pattern is always the same: hash the value, aggregate the hashes into an HLL, then ask for the cardinality.
Mark Wong: Performance Farm July 2026 Update
The PostgreSQL Performance Farm is still not quite a reality, but I think there is some hope on the horizon.
Hubert 'depesz' Lubaczewski: Waiting for PostgreSQL 19 – SQL Property Graph Queries (SQL/PGQ)
Robert Haas: Hacking Workshop for September 2026
I'm pleased to announce that David Rowley will be joining us in September to discuss his talk Optimizing code in the hot path; with examples from tuple deformation. If you're interesting in joining us, please sign up using this form and I will send you an invite to one of the sessions. As always, thanks to David for agreeing to join the sessions.
Muhammad Aqeel: PostgreSQL 18's extension_control_path: Decoupling Extensions from Server Images
PostgreSQL 18 adds a Grand Unified Configuration (GUC), , that lets an extension's control and SQL files live outside the server's own directories. Together with Kubernetes's ImageVolume and Docker's , that makes it practical to package an extension as its own small OCI container image and mount it into the PostgreSQL pod at runtime, without rebuilding the server image.The idea is compelling. A fleet of clusters sharing one lean, unmodified PostgreSQL image. Extensions versioned and upgraded independently.
Pavlo Golub: WAWTech+Summer 2026 [UNLOGGED]
The official logs are still processing, but the raw data is ready.
Welcome to the newest #UNLOGGED drop from WAWTech+Summer 2026 in Warsaw. We traded the classic conference center for an open-air tech festival at Tor Służewiec, and the energy was incredible.

