Sammlung von Newsfeeds

Kaarel Moppel: Striping Postgres data volumes - a free lunch?

Neues vom PostgreSQL Planet - 23. April 2025 - 23:00
A small follow up on my previous post on various Postgres scale-up avenues in my preferred order. The post received quite a bit of interest - meaning people at least still “wish” performant databases :) And - the ones who are willing to put in a bit of effort with...

Ernst-Georg Schmid: TRAKTOR revisited

Neues vom PostgreSQL Planet - 22. April 2025 - 16:52

Working on TRAKTOR again. The good news is, it still works with PostgreSQL 17.x and I have completely replaced psycopg2 with pg8000 to remove all native dependencies. The bad news is, if you don't want to run the arbiter as superuser it's a complicated dance of permissions, some of which can only be GRANTed by a superuser, and I have to find a way to automate this as far as possible.

Andrei Lepikhov: On expressions' reordering in Postgres

Neues vom PostgreSQL Planet - 22. April 2025 - 13:08

Today, I would like to discuss additional techniques to speed up query execution. Specifically, I will focus on rearranging conditions in filter expressions, JOINs, HAVING clauses, and similar constructs. The main idea is that if you encounter a negative result in one condition within a series of expressions connected by the AND operator, or a positive result in one of the conditions linked by the OR operator, you can avoid evaluating the remaining conditions. This can save computing resources.

Ibrar Ahmed: 8 Steps to Proactively Handle PostgreSQL Database Disaster Recovery

Neues vom PostgreSQL Planet - 22. April 2025 - 8:13

When disaster strikes, whether a natural disaster or a technical event, its impact on your network, database, and end-users can cause both costly downtime and data corruption. Data corruption, whether sparked by hardware failures like dying disks or faulty RAM, software glitches such as operating system bugs, or human missteps like accidental overwrites, is a terrifying prospect for any administrator. Yet, it’s not a death sentence.Your PostgreSQL database is typically a dependable cornerstone of your operations.

Laurenz Albe: Type alignment and padding bytes: how to not waste space in PostgreSQL tables

Neues vom PostgreSQL Planet - 22. April 2025 - 7:00


© Laurenz Albe 2025

Saving storage space should not be your first objective in a PostgreSQL database. Very often, the desire to conserve space aggressively comes at the expense of performance. But there is also no reason to needlessly waste space. Therefore, it is a good idea to be familiar with the concepts of data type alignment and padding bytes in PostgreSQL.

David Wheeler: Mini Summit 4: The User POV

Neues vom PostgreSQL Planet - 21. April 2025 - 19:26

And we’re back.

Ian Barwick: PgPedia Week, 2025-04-20

Neues vom PostgreSQL Planet - 20. April 2025 - 22:10
PostgreSQL 18 changes this week

With all five CommitFests over, we're now into the testing and bugfix phase, and no new features are likely to be added. Having said that, there have been a few tweaks to SQL function performance and handling this week.

Floor Drees: Contributions for the week of 2025-04-14 (Week 15)

Neues vom PostgreSQL Planet - 20. April 2025 - 19:31

April 9 Christoph Berg spoke at the Postgres Extensions Ecosystem Mini-Summit #3 (slides, recording, transcript), a series of virtual events leading up to the gathering at PGConf.Dev.

Floor Drees: Contributions for the week of 2025-04-07 (Week 14)

Neues vom PostgreSQL Planet - 20. April 2025 - 19:28

April 2nd the Talking Postgres podcast airs live, with Claire Giordano as the host, Bruce Momjian as the guest, and Aaron Wislang as its producer.

Henrietta Dombrovskaya kicked off Prairie Postgres, with help from Pat Wright, Dian Fay and Anna Bailliekova.

Floor Drees: Contributions for the week of 2025-03-31 (Week 13)

Neues vom PostgreSQL Planet - 20. April 2025 - 16:58

Gülçin Yıldırım Jelínek organized the [Prague PostgreSQL Meetup, March Edition on March 31st]((https://www.meetup.com/prague-postgresql-meetup/events/306440481). Mayuresh B and Tomáš Vondra presented sessions.

Floor Drees: Contributions for the week of 2025-03-24 (Week 12)

Neues vom PostgreSQL Planet - 20. April 2025 - 16:49

Nordic PGDay (March 18) was organized by Daniel Gustafsson, Magnus Hagander, Georgios Kokolatos.

The following speakers contributed with a talk:

Floor Drees: Contributions for the week of 2025-03-17 (Week 11)

Neues vom PostgreSQL Planet - 20. April 2025 - 16:21

PostgreSQL Person of the week: Emma Saroyan

... Thanks Andreas Scherbaum, for publishing these interviews since - checks notes - February 2020!

Pavel Stehule: Article about PostgreSQL 18

Neues vom PostgreSQL Planet - 19. April 2025 - 16:11

I wrote an article about PostgreSQL 18.  It is in Czech language, but translators from Czech to English, German, ... works relatively well today.

 https://www.root.cz/clanky/postgresql-18-tricet-let-otevreneho-vyvoje-databaze/

Hubert 'depesz' Lubaczewski: Waiting for PostgreSQL 18 – Add modern SHA-2 based password hashes to pgcrypto.

Neues vom PostgreSQL Planet - 17. April 2025 - 12:44
On 5th of April 2025, Álvaro Herrera committed patch: Add modern SHA-2 based password hashes to pgcrypto.   This adapts the publicly available reference implementation on https://www.akkadia.org/drepper/SHA-crypt.txt and adds the new hash algorithms sha256crypt and sha512crypt to crypt() and gen_salt() respectively.

David Wheeler: Fix Postgres <code>strchrnul</code> Compile Error on macOS 15.4

Neues vom PostgreSQL Planet - 16. April 2025 - 21:03

Just a quick note to users of pgenv and anyone else who compiles Postgres on macOS. In macOS 15.4, Apple introduced a new API, strchrnul, which is common from other platforms. As a result attempting to compile Postgres on 15.4 and later will lead to this error:

Bruce Momjian: New User Management Presentation Online

Neues vom PostgreSQL Planet - 16. April 2025 - 2:45

I wrote User, User, Who Is the User? in January of 2024, but didn't publish the slides at that time. I was planning to publish them once I delivered the presentation, but it has been a year and I have still not deivered the talk, so I am now publishing the slides.

Hubert 'depesz' Lubaczewski: Waiting for PostgreSQL 18 – Non text modes for pg_dumpall, correspondingly change pg_restore

Neues vom PostgreSQL Planet - 15. April 2025 - 12:46
On 4th of April 2025, Andrew Dunstan committed patch: Non text modes for pg_dumpall, correspondingly change pg_restore   pg_dumpall acquires a new -F/--format option, with the same meanings as pg_dump. The default is p, meaning plain text. For any other value, a directory is created containing two files, globals.data and map.dat.

semab tariq: Finding Bottlenecks and Avoiding Over-Optimization via Explain Plans

Neues vom PostgreSQL Planet - 15. April 2025 - 10:27

Performance optimization in a production database is important, but trying to over-optimize can make things more complicated without real improvements.

In this post, I’ll share two very basic EXPLAIN ANALYZE outputs from a production system. A user asked us to help optimize these queries. I've changed the table and column names for privacy. We will look at how to spot slow parts of a query, improve performance the right way, and avoid unnecessary tuning.

Plan A: Identifying and Resolving a Bottleneck

Hans-Juergen Schoenig: Indexing vectors in PostgreSQL

Neues vom PostgreSQL Planet - 15. April 2025 - 7:00

In the previous post we have imported a fairly large data set containing Wikipedia data, which we downloaded using pgai. However, importing all this data is not enough because we also need to keep an eye on efficiency. Therefore, it is important to understand that indexing is the key to success.

In general, pgvector provides us with two types of indexes that we can use:

- hnsw
- ivfflat

David Wheeler: Mini Summit 3 Transcript: Apt Extension Packaging

Neues vom PostgreSQL Planet - 15. April 2025 - 0:48

Last week Christoph Berg, who maintains PostgreSQL’s APT packaging system, gave a very nice talk on that system at the third PostgreSQL Extension Mini-Summit.

Seiten