Sammlung von Newsfeeds

Umair Shahid: What Are “Dirty Pages” in PostgreSQL?

Neues vom PostgreSQL Planet - 31. Oktober 2025 - 8:52

PostgreSQL stores data in fixed‑size blocks (pages), normally 8 KB. When a client updates or inserts data, PostgreSQL does not immediately write those changes to disk. Instead, it loads the affected page into shared memory (shared buffers), makes the modification there, and marks the page as dirty. A “dirty page” means the version of that page in memory is newer than the on‑disk copy.

Nikolay Samokhvalov: #PostgresMarathon 2-011: Prepared statements and partitioned tables — the paradox, part 3

Neues vom PostgreSQL Planet - 31. Oktober 2025 - 0:59

In #PostgresMarathon 2-009 and #PostgresMarathon 2-010, we explored why execution 6 causes a lock explosion when building a generic plan for partitioned tables — the planner must lock all 52 relations because it can't prune without parameter values.

Today we'll test what actually happens with different plan_cache_mode settings.

Paolo Melchiorre: Install PostgreSQL 18 on Ubuntu 25.10

Neues vom PostgreSQL Planet - 31. Oktober 2025 - 0:00

How-to guide for installing PostgreSQL version 18 on Ubuntu, after a fresh installation of version 25.10 (Questing Quokka).

Nikolay Samokhvalov: #PostgresMarathon 2-010: Prepared statements and partitioned table lock explosion, part 2

Neues vom PostgreSQL Planet - 30. Oktober 2025 - 0:59

In #PostgresMarathon 2-009, we focused on Lock Manager's behavior when dealing with prepared statements and partitioned tables.

And observed a lock explosion in our simple synthetic example: from 8 locks (custom plans) during first 5 calls, to 52 locks (building generic plan) in the 6th call, to 13 locks (using cached generic plan) in the 7th and subsequent calls. We left with questions:

Hubert 'depesz' Lubaczewski: Waiting for PostgreSQL 19 – Add psql PROMPT variable for search_path.

Neues vom PostgreSQL Planet - 29. Oktober 2025 - 12:59
On 28th of October 2025, Nathan Bossart committed patch: Add psql PROMPT variable for search_path.   The new %S substitution shows the current value of search_path. Note that this only works when connected to Postgres v18 or newer, since search_path was first marked as GUC_REPORT in commit 28a1121fd9. On older versions that don't report search_path, … Continue reading "Waiting for PostgreSQL 19 – Add psql PROMPT variable for search_path."

Cornelia Biacsics: Head of Marketing experiences @PGConf.EU 2025 – A Riga Recap

Neues vom PostgreSQL Planet - 29. Oktober 2025 - 7:00

PostgreSQL Conference Europe 2025 in Riga has officially come to an end — and what remains are the impressions, emotions, moments, and the incredible vibe that remind me why we do what we do.

I met so many inspiring people, had conversations with some of my role models, and wore many hats throughout the conference.

Nikolay Samokhvalov: #PostgresMarathon 2-009: Prepared statements and partitioned table lock explosion, part 1

Neues vom PostgreSQL Planet - 28. Oktober 2025 - 6:00

In #PostgresMarathon 2-008, we discovered that prepared statements can dramatically reduce LWLock:LockManager contention by switching from planner locks (which lock everything) to executor locks (which lock only what's actually used). Starting with execution 7, we saw locks drop from 6 (table + 5 indexes) to just 1 (table only).

There we tested only a simple, unpartitioned table. What happens if the table is partitioned?

Hans-Juergen Schoenig: The Future of CYBERTEC and PostgreSQL

Neues vom PostgreSQL Planet - 28. Oktober 2025 - 6:00

For this second entry into our blog feature to celebrate 25 years of CYBERTEC, our CEO gave some interesting insights into what he expects of the future - for the company as well as PostgreSQL as a whole.

CYBERTEC in another 25 years

Interviewer: Let's talk about the future. Where do you think you see CYBERTEC in another 25 years? 

Jeremy Schneider: Explaining IPC:SyncRep – Postgres Sync Replication is Not Actually Sync Replication

Neues vom PostgreSQL Planet - 28. Oktober 2025 - 0:12

Postgres database-level “synchronous replication” does not actually mean the replication is synchronous. It’s a bit of a lie really. The replication is actually – always – asynchronous. What it actually means is “when the client issues a COMMIT then pause until we know the transaction is replicated.” In fact the primary writer database doesn’t need to wait for the replicas to catch up UNTIL the client issues a COMMIT …and even then it’s only a single individual connection which waits. This has many interesting properties.

Robert Bernier: Troubleshooting PostgreSQL Logical Replication, Working with LSNs

Neues vom PostgreSQL Planet - 27. Oktober 2025 - 15:10
PostgreSQL logical replication adoption is becoming more popular as significant advances continue to expand its range of capabilities.  While quite a few blogs have described features, there seems to be a lack of simple and straightforward advice on restoring stalled replication. This blog demonstrates an extremely powerful approach to resolving replication problems using the Log […]

Mayur B.: Slonik on the Catwalk: PGConf.EU 2025 Recap

Neues vom PostgreSQL Planet - 27. Oktober 2025 - 12:53

I volunteered as a room host and Slonik guide.
Best gig: posing our elephant. The photographer had runway-level ideas. Slonik delivered every single time.

Rhys Stewart: Trigger Happy: Live edits in QGIS

Neues vom PostgreSQL Planet - 27. Oktober 2025 - 11:00
QGIS and PostgreSQL working well together

Shaun Thomas: Returning Multiple Rows with Postgres Extensions

Neues vom PostgreSQL Planet - 27. Oktober 2025 - 6:09

Creating an extension for Postgres is an experience worthy of immense satisfaction. You get to contribute to the extension ecosystem while providing valuable functionality to other Postgres users. It’s also an incredibly challenging exercise in many ways, so we’re glad you’ve returned to learn a bit more about building Postgres extensions.In the previous article in this series, we discussed creating an extension to block DDL.

Cornelia Biacsics: Contributions for week 43, 2025

Neues vom PostgreSQL Planet - 26. Oktober 2025 - 21:20

In October 2025, PostgreSQL Conference Europe brought the community together in Riga, Latvia from the 21st to the 24th.

Organizers

  • Andreas Scherbaum
  • Chris Ellis
  • Dave Page
  • Ilya Kosmodemiansky
  • Jimmy Angelakos
  • Karen Jex
  • Magnus Hagander
  • Marc Linster
  • Samed Yildirim
  • Valeria Kaplan

Talk selection committee

  • Karen Jex (non voting chair)

Application Developer and Community Subcommittee

Christopher Winslett: Temporal Joins

Neues vom PostgreSQL Planet - 24. Oktober 2025 - 15:00

My first thought seeing a temporal join in 2008 was, “Why is this query so complex?” The company I was at relied heavily on database queries, as it was a CRM and student success tracking system for colleges and universities. The query returned a filtered list of users and their last associated record from a second table. The hard part about the query isn’t returning the last timestamp or even performing joins, it’s returning only their last associated record from a second table.

Chris Travers: Introduction to NUMA

Neues vom PostgreSQL Planet - 23. Oktober 2025 - 11:39
PostgreSQL and NUMA, part 1 of 4

This series covers the specifics of running PostgreSQL on large systems with many processors. My experience is that people spend months often learning the basics when confronted with the problem. This series tries to dispel these difficulties by providing a clear background into the topics in question. The hope is that future generations of database engineers and administrators don’t have to spend months figuring things out through trial and error.

Valeria Kaplan: PostgreSQL — Blurring the Line Between Mine and Ours

Neues vom PostgreSQL Planet - 23. Oktober 2025 - 0:33
Contributing to open source PostgreSQL — Blurring the Line Between Mine and Ours Reflections on Meaning, Growth, and Community in Open Source

As the biggest PostgreSQL community conference in Europe, PGConf.EU 2025 in Riga, Latvia, kicks off, I feel immense pride in having been part of the small group of people who dedicated their free time to making this event a success.

Dave Stokes: Loading The Titanic Passenger Data Into PostgreSQL With DBeaver Part 2

Neues vom PostgreSQL Planet - 22. Oktober 2025 - 14:08

In the last edition of this blog, the passenger list data from the HMS Titanic was loaded into a preliminary database. Now it is time to refine.

I am using DBeaver Enterprise 25.2.0. PostgreSQL 18, and Github Copilot with Gpt-4. 

Prompt: Any recommendations on improving this table for storage efficiency? This prompt was entered into the DBeaver AI Assistant.

Jan Wieremjewicz: Say Hello to OIDC in PostgreSQL 18!

Neues vom PostgreSQL Planet - 22. Oktober 2025 - 13:00

If you’ve ever wondered how to set up OpenID Connect (OIDC) authentication in PostgreSQL, the wait is almost over.

We’ve spent some time exploring what it would take to make OIDC easier and more reliable to use with PostgreSQL. And now, we’re happy to share the first results of that work.

Why OIDC, and why now?

We’ve spoken to some of our customers and noticed a trend of moving away from LDAP to OIDC. Our MongoDB product is already providing OIDC integration and the team working on PostgreSQL products saw an opportunity coming with PostgreSQL 18.

Hubert 'depesz' Lubaczewski: Waiting for PostgreSQL 19 – Support COPY TO for partitioned tables.

Neues vom PostgreSQL Planet - 22. Oktober 2025 - 12:05
On 20th of October 2025, Masahiko Sawada committed patch: Support COPY TO for partitioned tables.   Previously, COPY TO command didn't support directly specifying partitioned tables so users had to use COPY (SELECT ...) TO variant.   This commit adds direct COPY TO support for partitioned tables, improving both usability and performance. Performance tests show … Continue reading "Waiting for PostgreSQL 19 – Support COPY TO for partitioned tables."

Seiten