Sammlung von Newsfeeds

Umut TEKIN: Exploration: CNPG Logical Replication in PostgreSQL

Neues vom PostgreSQL Planet - 6. Januar 2026 - 7:05
Introduction

PostgreSQL has built-in support for logical replication. Unlike streaming replication, which works at the block level, logical replication replicates data changes based on replica-identities, usually primary keys, rather than exact block addresses or byte-by-byte copies.

Ahsan Hadi: PostgreSQL 18 RETURNING Enhancements: A Game Changer for Modern Applications

Neues vom PostgreSQL Planet - 6. Januar 2026 - 6:45

PostgreSQL 18 has arrived with some fantastic improvements, and among them, the RETURNING clause enhancements stand out as a feature that every PostgreSQL developer and DBA should be excited about. In this blog, I'll explore these enhancements, with particular focus on the MERGE RETURNING clause enhancement, and demonstrate how they can simplify your application architecture and improve data tracking capabilities.

Zhang Chen: Not All Unrecoverable PostgreSQL Data Is Actually Lost

Neues vom PostgreSQL Planet - 6. Januar 2026 - 1:00
Most teams assume data loss means restore from backup. This article introduces the Instant Recovery mindset, explains why PostgreSQL makes it possible, and how PDU turns recoverability into a practical, predictable process.

Andrei Lepikhov: Inventing A Cost Model for PostgreSQL Local Buffers Flush

Neues vom PostgreSQL Planet - 5. Januar 2026 - 13:39

In this post, I describe experiments on the write-versus-read costs of PostgreSQL's temporary buffers. For the sake of accuracy, the PostgreSQL functions set is extended with tools to measure buffer flush operations. The measurements show that writes are approximately 30% slower than reads. Based on these results, the cost estimation formula for the optimiser has been proposed:
flush_cost = 1.30 × dirtied_bufs + 0.01 × allocated_bufs.

Deepak Mahto: PostgreSQL Table Rename and Views – An OID Story

Neues vom PostgreSQL Planet - 5. Januar 2026 - 9:53

Recently during a post-migration activity, we had to populate a very large table with a new UUID column (NOT NULL with a default) and backfill it for all existing rows.

Instead of doing a straight:

ALTER TABLE ... ADD COLUMN ... DEFAULT ... NOT NULL;

we chose the commonly recommended performance approach:

Zhang Chen: Extreme Recovery Series: 4 Hours to Rescue Core Data from a Domestic PG Database

Neues vom PostgreSQL Planet - 5. Januar 2026 - 1:00
A client accidentally ran rm -rf /*, wiping out the entire OS and database. After disk recovery experts salvaged the data files, PDU adapted to this domestic PostgreSQL variant and completed full data recovery in just 4 hours.

Zhang Chen: How to Recover PostgreSQL When Data Dictionary Gets Corrupted - A Real Case Study

Neues vom PostgreSQL Planet - 5. Januar 2026 - 1:00
When pg_type and pg_attribute are partially destroyed, how do you piece together a corrupted database? This real-world case reveals an ingenious workaround that saved 46% of the data.

Zhang Chen: World First! Secrets Behind PostgreSQL Fragment Scanning Recovery

Neues vom PostgreSQL Planet - 5. Januar 2026 - 1:00
DROP TABLE with no backup? Most consider it game over. Discover how PDU achieves the "impossible" - scanning raw disk blocks and matching table structures to resurrect your lost data.

Zhang Chen: Mission Impossible: How We Recovered 1TB of Data in 48 Hours

Neues vom PostgreSQL Planet - 5. Januar 2026 - 1:00
A corrupted disk. A dead database. Unusable backups. 1.5TB of critical business data hanging by a thread. This is the story of how PDU turned an impossible situation into a triumph.

Floor Drees: Chaos testing the CloudNativePG project

Neues vom PostgreSQL Planet - 5. Januar 2026 - 1:00
Meet the mentee: Yash Agarwal worked with the project maintainers on adding chaos testing to CloudNativePG, as part of the LFX mentorship program.

Ian Barwick: PgPedia Week, 2025-12-07

Neues vom PostgreSQL Planet - 5. Januar 2026 - 0:44
PostgreSQL 19 changes this week pg_stat_replication_slots newly added column  slotsync_skip_at renamed to slotsync_last_skip pg_dsm_registry_allocations improvments to display of the size of DSAs and dshashes PostgreSQL 18 articles A deeper look at old UUIDv4 vs new UUIDv7 in PostgreSQL 18 (2025-12-05) - Josef Machytka / Credativ

more...

Hubert 'depesz' Lubaczewski: Waiting for PostgreSQL 19 – Implement ALTER TABLE … MERGE/SPLIT PARTITIONS … command

Neues vom PostgreSQL Planet - 4. Januar 2026 - 18:30
On 14th of December 2025, Alexander Korotkov committed patch: Implement ALTER TABLE ... MERGE PARTITIONS ... command   This new DDL command merges several partitions into a single partition of the target table. The target partition is created using the new createPartitionTable() function with the parent partition as the template.

Floor Drees: Sticking with Open Source: pgEdge and CloudNativePG

Neues vom PostgreSQL Planet - 2. Januar 2026 - 1:00
We talked to Matthew Mols, Sr. Director of Engineering at pgEdge, about how CloudNativePG enables them to meet the requirements of their customers using just open source.

Gabriele Bartolini: CloudNativePG in 2025: CNCF Sandbox, PostgreSQL 18, and a new era for extensions

Neues vom PostgreSQL Planet - 31. Dezember 2025 - 12:50

2025 marked a historic turning point for CloudNativePG, headlined by its acceptance into the CNCF sandbox and a subsequent application for incubation. Throughout the year, the project transitioned from a high-performance operator to a strategic architectural partner within the cloud-native ecosystem, collaborating with projects like Cilium and Keycloak. Key milestones included the co-development of the extension_control_path feature for PostgreSQL 18, revolutionising extension management via OCI images, and the General Availability of the Barman Cloud Plugin.

Imran Zaheer: PostgreSQL Recovery Internals

Neues vom PostgreSQL Planet - 30. Dezember 2025 - 6:30

Modern databases must know how to handle failures gracefully, whether they are system failures, power failures, or software bugs, while also ensuring that committed data is not lost. PostgreSQL achieves this with its recovery mechanism; it allows the recreation of a valid functioning system state from a failed one. The core component that makes this possible is Write-Ahead Logging (WAL); this means PostgreSQL records all the changes before they are applied to the data files. This way, WAL makes the recovery smooth and robust.

Floor Drees: PostgreSQL Contributor Story: Manni Wood

Neues vom PostgreSQL Planet - 29. Dezember 2025 - 9:59
Earlier this year we started a program (“Developer U”) to help colleagues who show promise for PostgreSQL Development to become contributors. Manni's manager is responsible for his participation in the program. He always assumed that he didn’t have the skills, but taught himself some x86 assembler and C in his spare time, and when it came to apply, she encouraged him to give it a shot.

REGINA OBE: FOSS4GNA 2025: Summary

Neues vom PostgreSQL Planet - 29. Dezember 2025 - 0:37

Free and Open Source for Geospatial North America (FOSS4GNA) 2025 was running November 3-5th 2025 and I think it was one of the better FOSS4GNAs we've had. I was on the programming and workshop committees and we were worried with the government shutdown that things could go badly since we started getting people withdrawing their talks and workshops very close to curtain time.

Cornelia Biacsics: Contributions for week 53, 2025

Neues vom PostgreSQL Planet - 28. Dezember 2025 - 22:22

Emma Sayoran organized a PUG Armenia speed networking meetup on December 25 2025.

FOSDEM PGDay 2026 Schedule announced on Dec 23 2025. Call for Paper Committee:

  • Teresa Lopes
  • Stefan Fercot
  • Flavio Gurgel

Community Blog Posts:

Ryan Lambert: Improved Quality in OpenStreetMap Road Network for pgRouting

Neues vom PostgreSQL Planet - 28. Dezember 2025 - 6:01

Recent changes in the software bundled in PgOSM Flex resulted in unexpected improvements when using OpenStreetMap roads data for routing. The short story: routing with PgOSM Flex 1.2.0 is faster, easier, and produces higher quality data for routing! I came to this conclusion after completing a variety of testing with the old and new versions of PgOSM Flex. This post outlines my testing and findings.

Taras Kloba: PostgreSQL as a Graph Database: Who Grabbed a Beer Together?

Neues vom PostgreSQL Planet - 27. Dezember 2025 - 1:00

Graph databases have become increasingly popular for modeling complex relationships in data. But what if you could leverage graph capabilities within the familiar PostgreSQL environment you already know and love? In this article, I’ll explore how PostgreSQL can serve as a graph database using the Apache AGE extension, demonstrated through a fun use case: analyzing social connections in the craft beer community using Untappd data.

Seiten