Sammlung von Newsfeeds

Christophe Pettus: Async I/O in PostgreSQL 19: The Year After

Neues vom PostgreSQL Planet - 23. April 2026 - 15:00
PostgreSQL 18 shipped asynchronous I/O. The dominant flavor on Linux was io_uring; everything else fell back to a worker pool controlled by io_method=worker. Early benchmarks from pganalyze, Aiven, and Better Stack showed real wins on read-heavy workloads with large sequential scans. They also sh…

Christophe Pettus: All your GUCs in a row: allow_system_table_mods

Neues vom PostgreSQL Planet - 23. April 2026 - 3:00
Here is a GUC that ships with a warning label. The docs, which are normally restrained to the point of parody, state plainly that setting this parameter wrong can cause “irretrievable data loss or seriously corrupt the database system.” When the PostgreSQL docs raise their voice, list…

Christophe Pettus: Give Us Access, Already

Neues vom PostgreSQL Planet - 22. April 2026 - 15:00
If you’re going to hire a PostgreSQL consultant, hire one. That means access to the database. I’m writing this because the “we hired you but you can’t touch the thing” conversation happens at the start of roughly one in four PGX engagements, and I would like to have …

Antony Pegg: Introducing the AI DBA Workbench: PostgreSQL Monitoring That Diagnoses, Not Just Reports

Neues vom PostgreSQL Planet - 22. April 2026 - 7:54

PostgreSQL is dominating the database market, and the monitoring tools haven't noticed.More teams run Postgres in production every year. More of those deployments are distributed, multi-region, and mission-critical. And the tooling most of those teams rely on was built for a simpler world: a single instance, a handful of threshold alerts, and a senior DBA who can interpret what the graphs mean at 3 AM. That works when you have one cluster and one person who knows where the bodies are buried.

Christophe Pettus: All your GUCs in a row: allow_in_place_tablespaces

Neues vom PostgreSQL Planet - 22. April 2026 - 3:00
allow_in_place_tablespaces exists so the PostgreSQL test suite can test replication. That’s it. If you’re reading this as an operator, you will never touch it. But it’s in the alphabet, so here we are. When off (the default), CREATE TABLESPACE requires a LOCATION that points to …

A Kafka-like pure SQL queue for Postgres

Postgres Weekly - 22. April 2026 - 2:00

#​645 — April 22, 2026

Web Version

Postgres Weekly

Hubert 'depesz' Lubaczewski: Polish configuration for TSearch

Neues vom PostgreSQL Planet - 21. April 2026 - 23:06
Some time ago someone posted on Reddit that they have problems adding Polish configuration to their PostgreSQL. While checking it, I found some interesting news. And of course figured out how to have Polish configuration… First, the news: apparently in PostgreSQL 19, we will automatically get Polish dictionary, thanks to this commit from 5th of … Continue reading "Polish configuration for TSearch"

Christophe Pettus: Hints, Part 3: Advice, Not Orders

Neues vom PostgreSQL Planet - 21. April 2026 - 15:00
Robert Haas’s pg_plan_advice patch set, proposed for PostgreSQL 19, is where the twenty-year argument from Part 2 has landed — or is trying to. It is not pg_hint_plan brought into core. It is a different thing, with different mechanics, a different scope, and a different answer to the &ldqu…

Hubert 'depesz' Lubaczewski: Waiting for PostgreSQL 19 – Add CONCURRENTLY option to REPACK

Neues vom PostgreSQL Planet - 21. April 2026 - 12:40
On 6th of April 2026, Álvaro Herrera committed patch: Add CONCURRENTLY option to REPACK   When this flag is specified, REPACK no longer acquires access-exclusive lock while the new copy of the table is being created; instead, it creates the initial copy under share-update-exclusive lock only (same as vacuum, etc), and it follows an MVCC … Continue reading "Waiting for PostgreSQL 19 – Add CONCURRENTLY option to REPACK"

Antony Pegg: How to Use the pgEdge Control Plane: From Zero to Multi-Master and Beyond

Neues vom PostgreSQL Planet - 21. April 2026 - 11:37

A couple of months back, the CEO challenged product and marketing to revamp the developer experience on our website in three weeks. I vibe-coded a proof of concept full of "try it now" buttons and interactive guides, the CEO loved it, and then I had to deal with almost every one of those interactive guides being a placeholder card.

Annie Ghazali: Cost of PostgreSQL performance issues

Neues vom PostgreSQL Planet - 21. April 2026 - 11:25

PostgreSQL is widely adopted because it removes licensing constraints and gives companies like OpenAI, Lovable, and Supabase, a reliable foundation for running production systems at scale. However, once deployed, the cost conversation of PostgreSQL shifts away from licensing and toward how efficiently the database supports the workload it is running.

Christophe Pettus: Hints, Part 1: The State of the Art Everywhere But Here

Neues vom PostgreSQL Planet - 20. April 2026 - 23:41
pg_plan_advice is expected to land in PostgreSQL 19. That makes this a good moment to look at query hints — what they are, what every other major database does with them, and how PostgreSQL ended up being the obvious outlier. Three parts. This is the first. What a hint is A query hint is an instr…

Andrei Lepikhov: Finding invisible use-after-free bugs in the PostgreSQL planner

Neues vom PostgreSQL Planet - 20. April 2026 - 21:57

On a PostgreSQL build with assertions enabled, run the standard make check-world suite with a small debugging extension called pg_pathcheck loaded. It will report on pointers to freed memory in the planner's path lists. Such dangling pointers exist even in the core Postgres now. They are harmless today. But the word today is what makes this worth writing about.

Christophe Pettus: All your GUCs in a row: allow_alter_system

Neues vom PostgreSQL Planet - 20. April 2026 - 20:00
We begin at allow_alter_system, which is both new and politically fraught — so let’s start with a fight. ALTER SYSTEM was added in 9.4 as a quality-of-life improvement: set GUCs from an SQL prompt, have the values written into postgresql.auto.conf, no shell access required. It was immediate…

Christophe Pettus: Hints, Part 2: Features We Do Not Want

Neues vom PostgreSQL Planet - 20. April 2026 - 15:00
For most of PostgreSQL’s history, the official community position on query hints has been a polite version of “no, and stop asking.” The position isn’t subtle. The PostgreSQL wiki maintains a page titled Not Worth Doing, and “Oracle-style optimizer hints” is li…

Chao Li: Understanding PostgreSQL REPACK Through repack.c

Neues vom PostgreSQL Planet - 20. April 2026 - 10:55

REPACK is a new PostgreSQL 19 feature for physically compacting a table by rewriting it into new storage. Like VACUUM, it deals with the space left behind by dead tuples, but it does so by building a fresh table file instead of mostly cleaning pages in place. Ordinary VACUUM can mark space reusable

Cornelia Biacsics: Contributions for week 15, 2026

Neues vom PostgreSQL Planet - 20. April 2026 - 10:07

The London PostgreSQL Meetup Group met on April 14, 2026 organized by:

  • Valeria K. (Data Egret)
  • Chris Ellis
  • Alastair Turner
  • Michael Christofides

Monica Sarbu spoke at the The San Francisco Bay Area PostgreSQL Meetup Group met virtually on April 14, 2026 organized by

Richard Yen: The Postgres Performance Triangle

Neues vom PostgreSQL Planet - 20. April 2026 - 10:00

Everyone who’s gone at least knee-deep in photography knows there’s this idea of the exposure triangle: aperture, shutter speed, and ISO. Depending on what you’re going for artistically, you adjust the three parameters, knowing that there are trade-offs in doing so. After working on a few cases, and presenting solutions to customers, I’ve started to think about Postgres performance tuning in a similar way – there are basic parameters that can be tuned, and there are trade-offs for the choices DBAs make:

Christophe Pettus: Hints, Part 1: The State of the Art Everywhere But Here

Neues vom PostgreSQL Planet - 20. April 2026 - 8:00
pg_plan_advice is expected to land in PostgreSQL 19. That makes this a good moment to look at query hints — what they are, what every other major database does with them, and how PostgreSQL ended up being the obvious outlier. Three parts. This is the first. What a hint is A query hint is an instr…

Radim Marek: PostgreSQL MVCC, Byte by byte

Neues vom PostgreSQL Planet - 17. April 2026 - 15:15

You run SELECT * FROM orders in one psql session and see 50 million rows. A colleague in another session runs the same query at the same moment and sees 49,999,999. Neither of you is wrong, and neither is seeing stale data. You are both reading the same 8KB heap pages, the same bytes on disk.

Seiten