Sammlung von Newsfeeds

Jobin Augustine: Data Retention Policy Implementation – How and Why

Neues vom PostgreSQL Planet - 19. November 2025 - 14:54
Is your PostgreSQL database Feeling Sluggish? Are SQL statements taking more time than in earlier days? Are you experiencing performance cliffs (Unexpected, sudden drops in performance)? Are backups taking a long time to complete? Are you getting a bigger bill for storage? Are standby rebuilds and development refreshes becoming a herculean task? Are the auditors […]

Ahsan Hadi: Postgres 18: Skip Scan -Breaking Free from the Left-Most Index Limitation

Neues vom PostgreSQL Planet - 18. November 2025 - 7:35

Postgres 18, released on September 25, 2025, introduces an exciting set of performance improvements and new capabilities. Postgres has grown remarkably over the years, and with each major release has become a more robust, reliable, and responsive database for both mission critical and non-mission critical enterprise applications. I’ve been writing about these enhancements since the release, and today I’m diving into two more features that are especially useful in real-world applications.

Hans-Juergen Schoenig: Storing products, prices and orders in PostgreSQL

Neues vom PostgreSQL Planet - 18. November 2025 - 7:30

When creating data models in PostgreSQL (or any other powerful relational database), several common problems can arise that hinder effective database design. One frequent issue is the incorrect normalization of tables, leading to redundant data, inefficient querying capabilities, or even simply plain wrong semantics. 

This post addresses one of the most common mistakes made by people new to the subject: Over-optimistic normalization. Especially developers relying too heavily on AI-generated data models are known to face this issue.

Bruce Momjian: Third Place

Neues vom PostgreSQL Planet - 18. November 2025 - 0:30

I recently watched a video about Starbucks and how their third place concept made them successful, and how their abandonment of it has caused problems. I started to realize that Postgres conferences also function as a "third place" — not home, not work, but somewhere people gather to see see old faces, new people, and to talk.

Mayur B.: Why Application Developers Using AI Is Great For DBA Job Security

Neues vom PostgreSQL Planet - 17. November 2025 - 15:09

Everyone’s freaking out about AI taking their jobs. Meanwhile, I’m a DBA sitting in the corner thinking: “If programmers of the future are AI agents, companies will need 100x more human DBAs to clean up the mess in production.”

This rant blogpost is my attempt to explain why.

LLMs: Optimizing for the Next Token, Not for Reality

Let’s start with the core problem:

Ian Barwick: PgPedia Week, 2025-11-16

Neues vom PostgreSQL Planet - 17. November 2025 - 13:13

This year's final round of minor releases was released on schedule last week, with PostgreSQL 13 receiving its final update.

Umair Shahid: PostgreSQL License: Free to Use, Enterprise-Ready, and Cost-Efficient in Production

Neues vom PostgreSQL Planet - 17. November 2025 - 10:55

Do you need a PostgreSQL license for critical production use?
Short answer: No. 

The open-source PostgreSQL database is free to download, use, modify, and distribute. There are no per-CPU, per-core, per-socket, or per-instance license fees.

Pavlo Golub: Google Summer of Code 2025 - A Journey of Growth and Achievement!

Neues vom PostgreSQL Planet - 17. November 2025 - 7:00

What a journey! I’m very happy to announce that all seven Google Summer of Code 2025 contributors successfully passed their final evaluations and made great contributions to the PostgreSQL community! 🎉

Back in May, I welcomed these talented people to our community. Now, six months later, I’m proud to celebrate not just the code they wrote, but the journey they made and the community members they’ve become.

Stefan Fercot: pgBackRest TLS server mode for a primary-standby setup with a repository host

Neues vom PostgreSQL Planet - 17. November 2025 - 0:00

The TLS server provides an alternative to using SSH for protocol connections to remote hosts.

In this demo setup, the repository host is named backup-srv, and the two PostgreSQL nodes participating in Streaming Replication are pg1-srv and pg2-srv. All nodes run on AlmaLinux 10.

If you’re familiar with Vagrant, here is a simple Vagrantfile that provisions three virtual machines using these names:

Jeremy Schneider: KubeCon 2025: Bookmarks on Memory and Postgres

Neues vom PostgreSQL Planet - 16. November 2025 - 23:55

Just got home from KubeCon.

One of my big goals for the trip was to make some progress in a few areas of postgres and kubernetes – primarily around allowing more flexible use of the linux page cache and avoiding OOM kills with less hardware overprovisioning. When I look at Postgres on Kubernetes, I think there are idle resources (both memory and CPU) on the table with the current Postgres deployment models that generally use guaranteed QoS.

Cornelia Biacsics: Contributions for week 46, 2025

Neues vom PostgreSQL Planet - 16. November 2025 - 22:31

Berlin PostgreSQL Meetup on Thursday, November 13 2025 organised by Sergey Dudoladov and Andreas Scherbaum

Speaker: Josef Machytka

New York City PostgreSQL Meetup on Wednesday, November 12, 2025.

Paul Ramsey: PostGIS Performance: Intersection Predicates and Overlays

Neues vom PostgreSQL Planet - 14. November 2025 - 14:00

In this series, we talk about the many different ways you can speed up PostGIS. A common geospatial operation is to clip out a collection of smaller shapes that are contained within a larger shape. Today let's review the most efficient ways to query for things inside something else.

Frequently the smaller shapes are clipped where they cross the boundary, using the ST_Intersection function.

The naive SQL is a simple spatial join on ST_Intersects.

semab tariq: Scaling Up Wasn’t the Plan — Until It Was the Only Plan

Neues vom PostgreSQL Planet - 14. November 2025 - 9:13

If you have ever generated a complex report in Odoo only to watch the loading spinner for minutes, you are not alone. One of our customers ran into exactly this scenario: their system ground to a near stall whenever they tried to compile business reports. After a systematic investigation, we achieved a 93 % performance improvement, but only by choosing the last resort: upgrading the instance’s resources.

This blog walks through the diagnosis, the dead ends we hit, and why scaling up was ultimately the right solution.

Paolo Melchiorre: How to use UUIDv7 in Python, Django and PostgreSQL

Neues vom PostgreSQL Planet - 14. November 2025 - 0:00

Learn how to use UUIDv7 today with stable releases of Python 3.14, Django 5.2 and PostgreSQL 18. A step by step guide showing how to generate UUIDv7 in Python, store them in Django models, use PostgreSQL native functions and build time ordered primary keys without writing SQL.

Radim Marek: RegreSQL: Regression Testing for PostgreSQL Queries

Neues vom PostgreSQL Planet - 13. November 2025 - 23:00

TL;DR - RegreSQL brings PostgreSQL's regression testing methodology to your application queries, catching both correctness bugs and performance regressions before production.

Dave Stokes: CSV Loading Error Fix: Data Too Long Or Value Too Long

Neues vom PostgreSQL Planet - 13. November 2025 - 21:19

 You are trying to load a CSV file into a database, and almost inevitably, you run into an ERROR: value too long for type character varying 64 if you are using PostgreSQL.  Or SQL Error [1406] [22001]: Data truncation: Data too long for column 'Name' at row 1 if you are using MariaDB or MySQL.

Dan Langille: PostgreSQL: MD5 password support is deprecated – updating the user passwords

Neues vom PostgreSQL Planet - 13. November 2025 - 16:51

Eight years ago, PostgreSQL introduced scram-sha-256 hashes for passwords.

Eleven months ago, MD5 was deprecated.

Yesterday, I got caught up with all this.

Some of this post will deal with how I fixed it, but mostly it is documenting (for myself) what I did. The fix covers several services and takes place over multiple days.

First, some background on why this change has come into focus for me.

Frederic Delacourt: Did you know? Tables in PostgreSQL are limited to 1,600 columns

Neues vom PostgreSQL Planet - 13. November 2025 - 1:00

Did you know a table can have no more than 1,600 columns? This blog article was inspired by a conversation Pierre Ducroquet and I had.

First, the documentation

The PostgreSQL documentation Appendix K states a table can have a maximum of 1,600 columns.

Kaarel Moppel: Postgres, Kafka and event queues

Neues vom PostgreSQL Planet - 12. November 2025 - 23:00
After stumbling on a pair of interesting blog posts — You Don’t Need Kafka, Just Use Postgres (Considered Harmful) — somewhat in the style of good old “flame wars” (which are increasingly rare these days) in the recent Postgres Weekly, as a response to a previous article — Kafka is...

Dave Stokes: Loading The Titanic Dataset Into PostgreSQL With DBeaver Part 3

Neues vom PostgreSQL Planet - 12. November 2025 - 18:09

 In the previous post, we asked AI to make recommendations to help clean up the data loaded directly from a CSV file. The initial data load for the Name failed because a VARCHAR(64) was estimated to be insufficient to hold the data. But it was not, and a TEXT field was used instead. 

So now we want to save some disk space!  

Seiten