Neues vom PostgreSQL Planet

Neues vom PostgreSQL Planet Feed abonnieren
Planet PostgreSQL
Aktualisiert: vor 30 Minuten 57 Sekunden

Ian Barwick: PgPedia Week, 2025-12-14

7. Januar 2026 - 23:10
PostgreSQL 19 changes this week ALTER TABLE ALTER TABLE ... SPLIT PARTITION ... syntax added ALTER TABLE ... MERGE PARTITIONS ... syntax added pg_stat_progress_analyze column started_by added pg_stat_progress_vacuum columns mode and started_by added vacuumdb option --dry-run added PostgreSQL 18 articles Postgres 18 New Default for Data Checksums and How to Deal with Upgrades (2025-12-11) - Greg Sabino Mullane / Crunchy Data

more...

MAROJU PAVAN CHARY: Summary of PostgreSQL in the year 2025

7. Januar 2026 - 20:26
As we wrap up 2025 and prepare for another exciting year of 2026, HexaCluster is back again with our annual Summary of PostgreSQL in 2025, continuing the tradition we set in 2024.

Andrei Lepikhov: Custom Properties for PostgreSQL Database Objects Without Core Patches

7. Januar 2026 - 7:20

Working in development, there is a common challenge: how to attach custom metadata to database objects without modifying Postgres's core code. In this article, I briefly demonstrate a practical solution using Postgres's SECURITY LABELS mechanism to implement custom properties that are transactional, properly linked to database objects, and work with standard Postgres operations.

Hubert 'depesz' Lubaczewski: Quick and dirty loading of CSV files

7. Januar 2026 - 1:10
Back in September 2025, David Fetter asked on IRC, about a tool to quickly load CSV to database. One that would require minimal configuration, will try to figure out as much as possible on its own. I thought that it would be great idea. Plus, I'm trying to learn more JavaScript / Node, so figured … Continue reading "Quick and dirty loading of CSV files"

Andreas Scherbaum: PostgreSQL Meetup in Frankfurt December 2025

6. Januar 2026 - 23:00
On December 10th, 2025, the PostgreSQL December Meetup in Frankfurt (Main) took place. We had two speakers, and a nice dinner. This Meetup was organized around the IT-Tage, and the Meetup organizers had booked a reeting toom in the Scandic Frankfurt Museumsufer. About 15 minutes walking from the conference, and unfortunately it was raining that evening. Meeting room Dirk Aumueller: Running PostgreSQL with Podman, Quadlet & Systemd Dirk spoke about how to run PostgreSQL inside a Podman Quadlet which is managed by systemd.

Hubert 'depesz' Lubaczewski: Small improvement for pretty-printing in paste.depesz.com

6. Januar 2026 - 16:13
As you maybe know, some time ago I made paste service, mostly to use for queries, or related text to share on IRC. One part of it is that it also has pretty printer of provided queries. Recently I realized that in case of complex join conditions, the output is, well, sub-optimal. For example: SELECT … Continue reading "Small improvement for pretty-printing in paste.depesz.com"

Hubert 'depesz' Lubaczewski: What is index overhead on writes?

6. Januar 2026 - 12:57
One of things people learn is that adding indexes isn't free. All write operations (insert, update, delete) will be slower – well, they have to update index. But realistically – how much slower? Full tests should involve lots of operations, on realistic data, but I just wanted to see some basic info. So I figured … Continue reading "What is index overhead on writes?"

Henrietta Dombrovskaya: pg_acm is here!

6. Januar 2026 - 12:15

I am writing this post over the weekend but scheduling it to be published on Tuesday, after the PG DATA CfP closes, because I do not want to distract anyone, including myself, from the submission process.

A couple of months ago, I created a placeholder in my GitHub, promising to publish pg_acm before the end of the year. The actual day I pushed the initial commit was January 3, but it still counts, right? At least, it happened before the first Monday of 2026!

Tomas Vondra: Stabilizing Benchmarks

6. Januar 2026 - 11:00

I do a fair amount of benchmarks as part of development, both on my own patches and while reviewing patches by others. That often requires dealing with noise, particularly for small optimizations. Here’s an overview of ways I use to filter out random variations / noise.

Most of the time it’s easy - the benefits are large and obvious. Great! But sometimes we need to care about cases when the changes are small (think less than 5%).

Josef Machytka: Dissecting PostgreSQL Data Corruption

6. Januar 2026 - 10:03

PostgreSQL 18 made one very important change – data block checksums are now enabled by default for new clusters at cluster initialization time. I already wrote about it in my previous article. I also mentioned that there are still many existing PostgreSQL installations without data checksums enabled, because this was the default in previous versions.

Umut TEKIN: Exploration: CNPG Logical Replication in PostgreSQL

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

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

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

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

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

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

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

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

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

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.

Seiten