Neues vom PostgreSQL Planet
Nikolay Samokhvalov: AI-assisted Postgres experiment: number of partitions vs. planning time
In one of the recent PostgresFM episodes, Michael Christofides and Nikolay discussed planning time and what can affect it. One of the obvious negative factors we've discussed is the large number of partitions a partition table might have.
In this post, we're using our Postgres.AI assistant to see how planning time depends on the number of partitions.
Hubert 'depesz' Lubaczewski: Waiting for PostgreSQL 18 – Add temporal FOREIGN KEY contraints
Adam Hendel: Announcing ParadeDB partnership: Search and Analytics for Postgres
Luca Ferrari: PostgreSQL adds the login type for event triggers
Is it now possible to catch a login event.
PostgreSQL adds the login type for event triggersPostgreSQL 17 adds a new firing event for event triggers: login. Therefore it is now possible to catch a login attempt on a database.
Caution: this is not the same as Oracle logon triggers, even if it resembles the same functionality to me.
However, thanks to this, is is now possible to get some more information when a login attempt succeeds.
Luca Ferrari: PostgreSQL 17 allow_alter_system tunable
PostgreSQL 17 includes a new (among others) tunable to control the ALTER SYSTEM command.
PostgreSQL 17 allow_alter_system tunableAmong the new excellent features of PostgreSQL 17, one captured my attention: the capability to disable the ALTER SYSTEM command via the tunable [allow_alter_system](https://www.postgresql.org/docs/current/runtime-config-compatible.html#GUC-ALLOW-ALTER-SYSTEM){:target="_blank"}.
Tomas Vondra: [PATCH IDEA] parallel pgbench -i
There are multiple tools to run benchmarks on Postgres, but pgbench is probably the most widely used one. The workload is very simple and perhaps a bit synthetic, but almost everyone is familiar with it and it’s a very convenient way to do quick tests and assessments. It was improved in various ways (e.g. to do partitioning), but the initial data load is still serial - only a single process does the COPY. Which annoys me - it may take a lot of time before I can start with the benchmarks itself.
Laurenz Albe: What's so great about PostgreSQL v17?
© Laurenz Albe 2024
Every year in fall, there is a new PostgreSQL release. After looking at the highlights of PostgreSQL v17, you may think, “what's the big deal?” Quite a few people might even be unhappy about the reminder that they should really upgrade some time soon. Time to explain how wonderful PostgreSQL v17 is!
Andreas 'ads' Scherbaum: Vasilis Ventirozos
Hubert 'depesz' Lubaczewski: Waiting for PostgreSQL 18 – Add temporal PRIMARY KEY and UNIQUE constraints
Robert Haas: PostgreSQL Hacking Workshop - October 2024
Stefanie Janine: pgsql_tweaks 0.10.6 released
The soucre code is available on GitLab, a mirror is hosted on GitHub.
One could install the whole package, or just copy what is needed from the source code.
The extension is also available on PGXN.
Stefanie Janine: pgsql_tweaks 0.10.5 released
The soucre code is available on GitLab, a mirror is hosted on GitHub.
One could install the whole package, or just copy what is needed from the source code.
The extension is also available on PGXN.
semab tariq: Using pg_upgrade to Upgrading Your PostgreSQL Cluster on Windows
Upgrading your PostgreSQL cluster is an important task to keep your database running smoothly and securely. With each new release, PostgreSQL introduces performance improvements, security patches, and new features that can benefit your system. However, upgrading can be a bit tricky, especially if you're working in a Windows environment, where certain challenges like permissions, service management, and file handling may differ from Linux setups.
Amit Kapila: Online Upgrading Logical and Physical Replication Nodes
In my last blog post, Evolution of Logical Replication, I mentioned the future development of a feature to allow "upgrades of logical replication nodes." The upcoming release of PostgreSQL 17 includes this feature. Previously, after major version upgrades (via pg_upgrade), users couldn't immediately connect and write data to logical replication nodes. This was because the slots were lost during upgrades, preventing replication from continuing.
Regina Obe: PostGIS 3.5.0
The PostGIS Team is pleased to release PostGIS 3.5.0! Best Served with PostgreSQL 17 RC1 and GEOS 3.13.0.
This version requires PostgreSQL 12 - 17, GEOS 3.8 or higher, and Proj 6.1+. To take advantage of all features, GEOS 3.12+ is needed. SFCGAL 1.4+ is needed to enable postgis_sfcgal support. To take advantage of all SFCGAL features, SFCGAL 1.5 is needed.
Tomas Vondra: Playing with BOLT and Postgres
A couple days ago I had a bit of free time in the evening, and I was bored, so I decided to play with BOLT a little bit. No, not the dog from a Disney movie, the BOLT tool from LLVM project, aimed at optimizing binaries. It took me a while to get it working, but the results are unexpectedly good, in some cases up to 40%. So let me share my notes and benchmark results, and maybe there’s something we can learn from it.
Adarsh Shah: Announcing Tembo Self Hosted GA
Stefan Fercot: pgBackRest dedicated backup host
As I mentioned in my last blog post, as your cluster grows with multiple standby servers and potentially automated failover (using tools like Patroni), it becomes more practical to set up a dedicated repository host, also known as a dedicated backup server. This backup server can then trigger backups and automatically select the appropriate node in case of failover, eliminating the need for manual intervention.