Neues vom PostgreSQL Planet
Jianghua yang: One tree, two major versions: adapting pg_orca to PostgreSQL 19
Radim Marek: ANALYZE on a mostly-NULL column
One of the production databases I snapshot with dryrun has a 172 GB table that autovacuum analyzes about three times a day. dryrun keeps the planner statistics from every snapshot, so I could line up what pg_stats said about one of its columns over six days in November:
Cornelia Biacsics: Contributions for week 46
PGConf.Asia 2026 happened from 17-18 November 2026, organized by
- Grant Zhou
- Joanne Huang
- Bruce Momjian
- Hari Kiran
- Julyanto Sutandang
- Gavin Lyu
- Tatsuro Yamada
- Ioseph Kim
- Mark Wong
- Ashish Mehra
- Guohua Bai
- Henry Law
Speakers:
Christophe Pettus: All Your GUCs in a Row: search_path
Jan Kristof Nidzwetzki: Barriers, Volatile, and Atomics: How PostgreSQL Orders Memory Accesses
In the PostgreSQL source code, you will find memory and compiler barriers in various places like pg_memory_barrier(), pg_write_barrier(), pg_read_barrier(), or pg_compiler_barrier(). These macros are needed to ensure that the compiler and CPU do not reorder memory accesses in a way that would break the correctness of the code. Closely related are volatile variables and atomic operations, which you will find in the source code as well.
Umair Shahid: Where 39% of the WAL Came From
A fast-growing AI-native SaaS team we worked with alongside Supabase was writing 1.8 TB of WAL a day. That number alone made the database look like the ceiling. When we broke it down, about 39% of that WAL was full-page-image overhead. It didn’t come from the application, the platform or the workload. It came from a five-minute checkpoint default.
DARIA NIKOLAENKO: PostgreSQL DDL/DML Migration Checklist for the Anxious
Every now and then, a PostgreSQL database needs changes: adding a column, creating an index, updating data, or modifying constraints. Changes like these are called migrations. They can finish in seconds and go unnoticed, or lead to blocking, replication lag, unexpected load, or even downtime.
Of course, no checklist can guarantee a trouble-free migration. However, asking the right questions beforehand can significantly reduce the risk.
Ismaël Mejía: PostgreSQL 19 is now supported in pglayers
PostgreSQL 19 support is now available in pglayers, with 62 extension layers, ready-to-use Full and Azure profile images, and builds for both amd64 and arm64.
The images use the official postgres:19 GA image. If you want PostgreSQL 19 with pgvector, PostGIS, pg_cron, pg_textsearch, or pg_lake, you can get started without compiling extensions yourself.
Peter Eisentraut: PgBouncer visits the CNCF Security Slam
Last month, PgBouncer participated in the Fall 2026 CNCF Security Slam. This is a report of what we did, what we learned, and what we plan for the future.
Hollis Varden: Hash joins, planner statistics and index upkeep on PostgreSQL 18
A second sitting of small measurements this week, mostly about what the planner believes and what indexes cost to keep. One result went the opposite way from what I expected.
SetupPostgreSQL 18.6, built from source, default settings (work_mem 4MB, shared_buffers 128MB, maintenance_work_mem 64MB, 2 parallel workers per gather, 2 parallel maintenance workers). The database collation is C. MacBook Air M5, 10 cores, 24 GB RAM, internal SSD. Same machine as my previous posts.
Hollis Varden: Eleven small measurements on PostgreSQL 18: joins, casts, TOAST and types
Another sitting of small measurements. Two of them changed how I write queries. The rest mostly confirmed things I had only read.
SetupPostgreSQL 18.6, built from source, default settings (work_mem 4MB, shared_buffers 128MB, 2 parallel workers per gather). The database collation is C. MacBook Air M5, 10 cores, 24 GB RAM, internal SSD. Same machine as my previous post.
Jobin Augustine: Pre-Calculating HugePages for PostgreSQL
Huge pages (HugeTLB) are one of the most important PostgreSQL tuning steps, and they must be right before the server starts. They matter mainly for stability and reliability, more than for speed. Recently I also came across reports of up to 30% performance gain as an added benefit, but only for very specific workloads.
Aleksei Aleinikov: PostgreSQL VACUUM & Bloat: Dead Tuples, HOT Updates & Compaction
Every PostgreSQL team eventually runs a massive DELETE to free up disk space, watches df -h stay completely flat, and wonders if the command even worked. Worse, queries against the smaller table often get slower instead of faster.
Hubert 'depesz' Lubaczewski: Missed in PostgreSQL 19 : Support multi-line headers in COPY FROM command.
Laurenz Albe: How to deal with slow shutdown in PostgreSQL
© Laurenz Albe 2025
If you have to restart the PostgreSQL server, you often want to keep the down time as short as possible. Starting the server is usually fast, but shutdown can be slow. In this article I describe why there can be a slow shutdown and what you can do to speed it up.
Zsolt Parragi: The numbers of Postgres 19
After talking about the reverts and then the remaining features of PostgreSQL 19, I want to talk about another important aspect: the statistics of the development cycle.
Mayur B.: PostgreSQL 19: When the Planner Needs Adult Supervision
A few years ago, I wrote about an innocent-looking microservices pattern that could make PostgreSQL performance unexpectedly dramatic. Not because the SQL changed. Not because someone dropped an index. The data changed, the statistics told an outdated story, and the planner made a perfectly rational decision based on fiction.
Back then, pg_hint_plan was one possible escape hatch. PostgreSQL 19 introduces two supplied tools, pg_plan_advice and pg_stash_advice. Time to revisit our old friend: the transactional outbox.
Stefan Fercot: When did I start contributing to pgBackRest, exactly?
In October, I was in the audience at PGConf.EU for “The Monday We Learned Who Maintains Our Backups”, by David Steele and Jan Wieremjewicz. I was happy to hear how pgBackRest was born, straight from the person who wrote it.
One slide listed the project’s founding major contributors: David, Cynthia Shang, Stephen Frost, and Reid Thompson. The next slide added “Next:” above my own name.
