Sammlung von Newsfeeds

The only scalable delete is DROP TABLE

Postgres Weekly - 17. Juni 2026 - 2:00

#​653 — June 17, 2026

Web Version

Postgres Weekly

Scaling Postgres to 226k TPS: A Christmas Day Retrospective — A meaty post-mortem and tactical walkthrough of how a digital photo-frame company went from having its Postgres deployment crash out during the 2024 holiday season to handling 2025 without a hitch.

Andrew Atkinson

Qiaosheng Liu: Releasing pg_ducklake v1.0

Neues vom PostgreSQL Planet - 17. Juni 2026 - 2:00
pg_ducklake 1.0 is production-ready: a standalone extension built on a reusable kernel, with broad DuckLake coverage and the fastest ingestion path for the lakehouse.

Noémi Ványi: pgstream v1.1.0: Steps towards turning it into a service

Neues vom PostgreSQL Planet - 16. Juni 2026 - 19:00
What's new in pgstream v1.1.0: env vars in YAML config, JSON logs, Kubernetes health probes, custom TLS for OpenSearch, and fixes for composite primary keys.

Andrew Atkinson: Scaling Rails at Aura Frames: Splitting to 8 Primary DBs and Reaching #1 in the App Store

Neues vom PostgreSQL Planet - 16. Juni 2026 - 15:15
📌 Overview

Ruby on Rails has helped make it possible to scale out the database layer, meeting the demands of millions of Aura Frames customers enjoying their digital photo frames.

In late 2025, the team added additional primary databases to expand capacity for peak write and read load ahead of Christmas Day, the busiest day of the year for the company. Rails manages queries and schema changes for each primary database within the same codebase, and now with the additional capacity of many primary databases.

Andrew Atkinson: From Christmas Outage to #1 App Store Ranking: An Aura Frames Postgres Scaling Retrospective

Neues vom PostgreSQL Planet - 16. Juni 2026 - 15:15
📌 Overview

On Christmas Day 2024, Postgres infrastructure powering the Aura Frames API had problems under peak load, being unavailable for three hours and disrupting the experience for new customers. The team knew it would need improvements to handle the surge for Christmas 2025 and beyond.

One year later, much of the resource intensive data access was reworked, the Postgres infrastructure was upsized, and this approach not only survived, but thrived, providing reliable service through the holiday season.

Payal Singh: Postgres War Stories Part 2: multixact wraparound, TOAST corruption, and torn pages

Neues vom PostgreSQL Planet - 16. Juni 2026 - 15:00

Part 1 was about failures that start one layer below Postgres: the kernel, glibc, the page allocator. This post is about the worse class, where the failure is inside Postgres itself. The logs are clean. Recovery never runs. And a query either returns the wrong answer or drops rows that are still sitting on disk.

Christopher Winslett: British Columbia, Time Zones, and Postgres

Neues vom PostgreSQL Planet - 16. Juni 2026 - 14:00

On March 8, 2026, British Columbia moved their clocks to a year-round Pacific Daylight Savings Time. In March, they did the spring forward one hour with their clocks to UTC-7, but they won't fall back to UTC-8 in November. Going forward, the UTC offset for America/Vancouver timezone is permanently UTC-7.

semab tariq: How To Run Logical Replication On A Production PostgreSQL Cluster

Neues vom PostgreSQL Planet - 16. Juni 2026 - 13:24

Upgrading PostgreSQL in production is not fun. You have real data, real users, and a version of Postgres that’s probably several major releases behind. The obvious approach (dump, upgrade, restore) works fine on a 10GB database on a Saturday night. It doesn’t work when you have TBs of data, applications that can’t afford hours of downtime, and a team watching the monitoring dashboard at 2am.

Christophe Pettus: All Your GUCs in a Row: default_toast_compression

Neues vom PostgreSQL Planet - 16. Juni 2026 - 3:00
PostgreSQL 19 switches TOAST compression from pglz to lz4 by default—faster, more efficient, and finally the right call.

Dian Fay: What LLMs are Doing to Conference Programs, and How to Use Them Effectively if You're Going to Do It Anyway

Neues vom PostgreSQL Planet - 16. Juni 2026 - 2:00

I'm lately back from Chicago, where PG DATA 2026 is now in the books! This is the two-day successor to PGDay Chicago, where I've been involved for the past few years volunteering, speaking, and finally organizing (and also volunteering and speaking). Everything went blessedly smoothly with only a few close calls, and we're already starting to plan next year's event.

Robins Tharakan: Why Postgres Doesn't Have remote_receive - And What Happened When I Tried It

Neues vom PostgreSQL Planet - 15. Juni 2026 - 14:13

In distributed database environments, balancing durability and performance is a constant tug-of-war. PostgreSQL’s synchronous_commit parameter sits at the heart of this, giving administrators a dial to choose exactly when a COMMIT returns success to the client.

Richard Yen: Disaster Recovery is a Process, Not a Tool (Part 1)

Neues vom PostgreSQL Planet - 15. Juni 2026 - 10:00
The Landscape Has Changed

When I was at Turnitin, we were still kind of riding the tail end of the dot-com boom. People were rushing to ship things, and brief outages were not exactly good, but they were considered a normal part of running software on the internet. If the site was down for a few minutes, you’d shrug, dig in, and fix it.

Christophe Pettus: All Your GUCs in a Row: default_text_search_config

Neues vom PostgreSQL Planet - 15. Juni 2026 - 3:00
PostgreSQL forbids indexing with the default text search configuration because it's mutable—change the setting, and your index silently disagrees with reality.

Radim Marek: The NULL in your NOT IN

Neues vom PostgreSQL Planet - 14. Juni 2026 - 23:46

A NOT IN query can return the wrong answer without telling you. It is valid SQL, it runs without an error, and it hands back a perfectly well-formed result set that happens to be empty when it should not be. No warning, no hint, nothing in the logs: just zero rows where you expected hundreds, and a database that considers it correct.

Christophe Pettus: All Your GUCs in a Row: default_tablespace

Neues vom PostgreSQL Planet - 14. Juni 2026 - 3:00
Default_tablespace quietly routes tables and indexes to alternate storage — but three quirks can surprise you, and tablespaces themselves are mostly…

Gilles Darold: pg_kpart PostgreSQL extension

Neues vom PostgreSQL Planet - 13. Juni 2026 - 9:13
Force the use of the partition key and protect your PostgreSQL server from full partition scans

Christophe Pettus: All Your GUCs in a Row: default_table_access_method

Neues vom PostgreSQL Planet - 13. Juni 2026 - 3:00
PostgreSQL's table access method interface lets you plug in alternative storage engines.

semab tariq: When Patroni Silently Deletes Your Replication Slots

Neues vom PostgreSQL Planet - 12. Juni 2026 - 15:46

If you have ever been in the middle of a database migration and suddenly found your logical replication slots missing, you know how unsettling that feeling is. No obvious error. No warning. Just gone. That is exactly what happened to us while migrating data from a Patroni-managed cluster to a standalone PostgreSQL cluster. What started as a smooth operation turned into a debugging session that taught us something important about how Patroni behaves after a restart.

Shaun Thomas: Looking Forward to Postgres 19: It's About Time

Neues vom PostgreSQL Planet - 12. Juni 2026 - 6:31

Recently, a new type of question has entered the database arena: what did this data look like last Tuesday? Maybe it's the price of a product before the holiday sale kicked in, or which department an employee belonged to before that reorg nobody asked for. Short of adding an entire audit trigger system, how can we know what data looked like before and after a change at that exact date?The SQL:2011 standard formalized a proper solution over a decade ago with temporal tables. Other database engines adopted pieces of it relatively quickly. Characteristically, Postgres took its time.

Christophe Pettus: All Your GUCs in a Row: default_statistics_target

Neues vom PostgreSQL Planet - 12. Juni 2026 - 3:00
Raise `default_statistics_target` from 100 to 500 and ANALYZE slows down forever — but sometimes that's the right call.

Seiten