Neues vom PostgreSQL Planet
Umair Shahid: 3 Essential PostgreSQL Priorities for 2025
As IT budgets tighten and workloads increase, 2025 is the year to focus on maximizing PostgreSQL efficiency, security, and reliability. Whether you are running fully-managed or self-managed PostgreSQL databases, these three priorities
- Reducing cloud costs
- Increasing data security, and
- Enhancing availability
will be key to staying competitive.
Here is a deep dive into each priority and actionable steps to make them a reality.
1. Reduce Cloud Costs Without Compromising Performance
Tomas Vondra: Performance archaeology: OLAP
A couple days ago I wrote about performance improvements on OLTP workloads since Postgres 8.0, released 20 years ago. And I promised to share a similar analysis about analytical workloads in a follow-up post. So here we go ;-) Let me show you some numbers from a TPC-H benchmark, with some basic commentary and thoughts about the future.
Pavel Stehule: compiled win x64 dll of orafce-4.14.0 and plpgsql_check-2.7.12 for PostgreSQL 16 and 17
I compiled and uploaded zip files with latest orafce and plpgsql_check for PostgreSQL 16 and PostgreSQL 17 - I used Microsoft Visual C 2022.
Setup:
Frederic Delacourt: Strange data type transformations
This article results from a code review I did for a customer.
Our customer created a pg_dump --schema-only of the target database to provide
me with the plpgsql code and database object structures to review. So far
so good.
I started to read the code and then became puzzled. The code looks like this:
REGINA OBE: PostGIS Day 2024 Summary
PostGIS Day yearly conference sponsored by Crunchy Data is my favorite conference of the year because it's the only conference I get to pig out on PostGIS content and meet fellow passionate PostGIS users pushing the envelop of what is possible with PostGIS and by extension PostgreSQL. Sure FOSS4G conferences do have a lot of PostGIS content, but that content is never quite so front and center as it is on PostGIS day conferences.
Regina Obe: Substring function Regex style
I was reviewing some old code when I stumbled across something I must have completely forgotten or someone else some time ago knew. That is that it is possible to use the function substring for regular expression work.
Continue reading "Substring function Regex style"David E. Wheeler: New PGXN Mastodon Account
Sadly, the home of the PGXN Mastodon bot for the last two years, botsin.space is shutting down. I’ve created a new account, @pgxn@mastodon.social and moved all the followers. Please give it a follow if you didn’t follow the old account, and stay up-to-date on the latest PGXN releases!
Hubert 'depesz' Lubaczewski: SQL best practices – don’t compare count(*) with 0
Ashutosh Bapat: The PostgreSQL operator labyrinth
While working on SQL/PGQ patch I wanted to find an equality operator for given left and right argument types to construct a condition to match an edge with its adjacent vertexes. It would look as simple as calling C function oper() with operator as "=" and required left and right data types. But soon it turned out to be a walk in PostgreSQL's operator labyrinth, which held my equality operator at the center instead of Minotaur.
Pavlo Golub: vip-manager v2.8 meets Patroni REST API
vip-manager has long been a crucial tool for managing virtual IPs in PostgreSQL HA setups, providing reliable leader routing. With the release of version 2.8.0, we're taking things to the next level by introducing native integration with the Patroni REST API.
Stefan Fercot: Combining cloud storage and dedicated backup host with pgBackRest
pgBackRest is a popular backup and restore tool for PostgreSQL, known for easily handling even the largest databases and workloads. It’s packed with powerful features, but all that flexibility can sometimes feel a bit overwhelming.
Paul Ramsey: PostGIS Day 2024 Summary
In late November, on the day after GIS Day, we hosted the annual PostGIS day online event. 22 speakers from around the world, in an agenda that ran from mid-afternoon in Europe to mid-afternoon on the Pacific coast.
Jônatas Paganini: Building a Better Ruby ORM for Time Series and Analytics
Rails developers know the joy of working with ActiveRecord. DHH didn’t just give us a framework; he gave us a philosophy, an intuitive way to manage data that feels delightful. But when it comes to time-series data, think metrics, logs, or events, ActiveRecord can start to feel a little stretched. Handling huge volumes of time-stamped data efficiently for analytics? That’s a challenge it wasn’t designed to solve (and neither was PostgreSQL).
Jônatas Paganini: Building a Better Ruby ORM for Time Series and Analytics
Rails developers know the joy of working with ActiveRecord. DHH didn’t just give us a framework; he gave us a philosophy, an intuitive way to manage data that feels delightful. But when it comes to time-series data, think metrics, logs, or events, ActiveRecord can start to feel a little stretched. Handling huge volumes of time-stamped data efficiently for analytics? That’s a challenge it wasn’t designed to solve (and neither was PostgreSQL).
Jônatas Paganini: Building a Better Ruby ORM for Time Series and Analytics
Rails developers know the joy of working with ActiveRecord. DHH didn’t just give us a framework; he gave us a philosophy, an intuitive way to manage data that feels delightful. But when it comes to time-series data, think metrics, logs, or events, ActiveRecord can start to feel a little stretched. Handling huge volumes of time-stamped data efficiently for analytics? That’s a challenge it wasn’t designed to solve (and neither was PostgreSQL).
Gülçin Yıldırım Jelínek: Maintaining Postgres for Modern Workloads
Umair Shahid: Operator Classes: Fine-Tuning Index Performance in PostgreSQL
Efficient data retrieval is crucial in any production environment, especially for databases handling heavy traffic and large datasets. PostgreSQL’s operator classes are a powerful but often overlooked tool for fine-tuning index performance. They allow you to control how PostgreSQL compares data within an index, helping to streamline searches and improve query efficiency in ways that default settings simply can’t match.
Floor Drees: Contributions for the week of 2024-11-18 (Week 47 overview)
- Rushabh Lathia was interviewed as “PostgreSQL Person of the Week”
- Markus Winand updated the modern-sql.com website, it now includes all the PostgreSQL v17 features.
- Gulcin Yildirim Jelinek organized the Prague November Meetup. Tudor Golubenco and Noémi Ványi* spoke.
James Sewell: Benchmarking PostgreSQL Batch Ingest
In a previous article in this series, I explored the magic of INSERT...UNNEST for improving PostgreSQL batch INSERT performance. While it’s a fantastic technique, I know it’s not the fastest option available (although it is very flexible). Originally, I hadn't intended to loop back and benchmark all the batch ingest methods, but I saw a lot of confusion out there, so I'm back, and this time I'm looking at COPY too.
Tomas Vondra: Performance archaeology: OLTP
The Postgres open source project is nearly 30 years old, I personally started using it about 20 years ago. And I’ve been contributing code for at least 10 years. But even with all that experience I find it really difficult to make judgments about how the performance changed over the years. Did it improve? And by how much? I decided to do some benchmarks to answer this question.