Sammlung von Newsfeeds

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!  

Francesco Tisiot: Introducing Developer Tier for Aiven for PostgreSQL® services

Neues vom PostgreSQL Planet - 12. November 2025 - 15:10

Starting at $8 USD, the new Developer tier includes everything from the Free tier, with extra disk space, preserved uptime for idle services, and Basic support to keep you building without interruption.

Laurenz Albe: The bastard DBA from hell

Neues vom PostgreSQL Planet - 12. November 2025 - 6:00


© Laurenz Albe 2025

Hubert 'depesz' Lubaczewski: Waiting for PostgreSQL 19 – Sequence synchronization in logical replication.

Neues vom PostgreSQL Planet - 11. November 2025 - 13:24
First, on 9th of October 2025, Amit Kapila committed patch: Add "ALL SEQUENCES" support to publications.   This patch adds support for the ALL SEQUENCES clause in publications, enabling synchronization/replication of all sequences that is useful for upgrades.   Publications can now include all sequences via FOR ALL SEQUENCES.

Hans-Juergen Schoenig: PostgreSQL 18: More performance with index skip scans

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

PostgreSQL 18 brings a couple of performance related features to the table which will help applications to run more efficiently, providing a better and more enjoyable user experience. One of those performance features is called “skip scans”. Most of you might ask yourself at this point: Wow, sounds cool, but what is a skip scan? The purpose of this post is to shed some light and explain how this works, what it does and most importantly: How one can benefit from this feature in real life.

Peter Eisentraut: Waiting for SQL:202y: GROUP BY ALL

Neues vom PostgreSQL Planet - 11. November 2025 - 6:00

Making GROUP BY a bit easier to use is in my experience among the top three requested features in SQL.

Like, if you do

CREATE TABLE t1 (a int, b int, ...); SELECT a, avg(b) FROM t1 GROUP BY a;

the column list in the GROUP BY clause doesn’t convey much information. Of course you wanted to group by a, there is no other reasonable alternative. You can’t not group by a because that would be an error, and you can’t group by things besides a, because there is nothing else in the select list other than the aggregate.

Nikolay Samokhvalov: #PostgresMarathon 2-013: Why keep your index set lean

Neues vom PostgreSQL Planet - 11. November 2025 - 0:59

Your API is slowing down. You check your database and find 42 indexes on your users table. Which ones can you safely drop? How much performance are they costing you? Let's look at what actually happens in Postgres when you have too many indexes.

If you're a backend or full-stack engineer, you probably don't want to become an indexing expert — you just want your API fast and stable, without babysitting pg_stat_user_indexes.

Ian Barwick: PgPedia Week, 2025-11-09

Neues vom PostgreSQL Planet - 10. November 2025 - 15:45

This quarter's round of minor releases are expected later this week. Note this will be the last minor release for PostgreSQL 13 .

Cornelia Biacsics: Contributions for week 45, 2025

Neues vom PostgreSQL Planet - 9. November 2025 - 21:36

New podcast episode published by Claire Giordano from her series “Talking Postgres” : Building a dev experience for Postgres in VS Code with Rob Emanuele

Blog posts

Ian Barwick: PgPedia Week, 2025-11-02

Neues vom PostgreSQL Planet - 9. November 2025 - 0:53
PostgreSQL 19 changes this week EXPLAIN wal_fpi_bytes value exposed in EXPLAIN (WAL) pg_stat_wal column wal_fpi_bytes added pg_stat_get_backend_wal() output column wal_fpi_bytes added psql prompt configuration option %S added, showing the current value of search_path PostgreSQL 19 articles Waiting for PostgreSQL 19 – Add psql PROMPT variable for search_path.

Elizabeth Garrett Christensen: Postgres Internals Hiding in Plain Sight

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

Postgres has an awesome amount of data collected in its own internal tables. Postgres hackers know all about this  - but software developers and folks working with day to day Postgres tasks often miss out the good stuff.

The Postgres catalog is how Postgres keeps track of itself. Of course, Postgres would do this in a relational database with its own schema. Throughout the years several nice features have been added to the internal tables like psql tools and views that make navigating Postgres’ internal tables even easier.

Jimmy Angelakos: pg_statviz 0.8 released with PostgreSQL 18 support

Neues vom PostgreSQL Planet - 6. November 2025 - 20:00

I'm happy to announce release 0.8 of pg_statviz, the minimalist extension and utility pair for time series analysis and visualization of PostgreSQL internal statistics.

This release adds support for PostgreSQL 18, adapting to significant catalog view changes introduced in this release:

Seiten