Sammlung von Newsfeeds

Ashutosh Bapat: The PostgreSQL operator labyrinth

Neues vom PostgreSQL Planet - 29. November 2024 - 14:29

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

Neues vom PostgreSQL Planet - 28. November 2024 - 10:01

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

Neues vom PostgreSQL Planet - 28. November 2024 - 8:30

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

Neues vom PostgreSQL Planet - 27. November 2024 - 17:30

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

Neues vom PostgreSQL Planet - 27. November 2024 - 14:30

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

Neues vom PostgreSQL Planet - 27. November 2024 - 14:30

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

Neues vom PostgreSQL Planet - 27. November 2024 - 14:30

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

Neues vom PostgreSQL Planet - 27. November 2024 - 1:00
I was invited to the Maintainable Podcast hosted by Robby Russell. We talked about what makes software maintainable and naturally we also talked about Postgres.

Umair Shahid: Operator Classes: Fine-Tuning Index Performance in PostgreSQL

Neues vom PostgreSQL Planet - 26. November 2024 - 21:34

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)

Neues vom PostgreSQL Planet - 26. November 2024 - 15:16
  • 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

Neues vom PostgreSQL Planet - 26. November 2024 - 15:00

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

Neues vom PostgreSQL Planet - 26. November 2024 - 15:00

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.

Cornelia Biacsics: A New Adventure in Nuremberg: Discovering DOAG 2024!

Neues vom PostgreSQL Planet - 26. November 2024 - 7:17

This year, I traveled to many conferences, such as the PGconf.eu in Athens for example or the P2D2 in Prague. Every conference is a great opportunity to get unique insights and networking possibilities. However, despite its proximity to Austria, I’ve never been able to make it to the DOAG (Deutsche Oracle-Anwendergruppe) conference in recent years. This year, I decided it was finally time to change that!

Peter Eisentraut: Why PostgreSQL major version upgrades are hard

Neues vom PostgreSQL Planet - 26. November 2024 - 6:00

Upgrades between PostgreSQL major versions are famously annoying. You can’t just install the server binaries and restart, because the format of the data directory is incompatible.

Why is that? Why can’t we just keep the data format compatible?

Perhaps surprisingly, the data format is actually mostly compatible, but not completely. There are just a few things missing that are very hard to solve.

Regina Obe: Some of my favorite PostgreSQLisms

Neues vom PostgreSQL Planet - 26. November 2024 - 5:01

When I work with other relational databases I am reminded about how I can't use my favorite PostgreSQL hacks in them. I call these hacks PostgreSQLisms. A PostgreSQLism is a pattern of SQL unique to PostgreSQL or descendants of PostgreSQL. In this post I'm going to cover some of my favorite ones.

Continue reading "Some of my favorite PostgreSQLisms"

Hubert 'depesz' Lubaczewski:

Neues vom PostgreSQL Planet - 25. November 2024 - 23:45
New Blog Post Title: How can I send mail or HTTP request from database? This question happens every now and then in one of PostgreSQL support places. Whenever it happens, I just suggest to not try, as interacting with outside world from database can be problematic, and instead use LISTEN/NOTIFY. But it occurred to me, … Continue reading ""

Andrei Lepikhov: Could GROUP-BY clause reordering improve performance?

Neues vom PostgreSQL Planet - 25. November 2024 - 23:00

PostgreSQL users often employ analytical queries that sort and group data by different rules. Optimising these operators can significantly reduce the time and cost of query execution. In this post, I will discuss one such optimisation: choosing the order of columns in the GROUP BY expression.

David Wheeler: RFC: Extension Packaging & Lookup

Neues vom PostgreSQL Planet - 25. November 2024 - 20:14

Several weeks ago, I started a pgsql-hackers thread proposing a new extension file organization and a search path GUC for finding extensions.

Florent Jardin: Substituting a variable in a SQL script

Neues vom PostgreSQL Planet - 25. November 2024 - 9:00

In a world where we constantly seek to automate repetitive tasks, it is common to write down a query in a script, make it more convenient, and eventually integrate the whole thing into a project’s codebase. Tools like SQL*Plus and psql can be powerful allies in this game, as relevant as Bash or Python interpreters.

Radim Marek: DELETEs are difficult

Neues vom PostgreSQL Planet - 23. November 2024 - 1:00

Your database is ticking along nicely - until a simple DELETE brings it to its knees. What went wrong? While we tend to focus on optimizing SELECT and INSERT operations, we often overlook the hidden complexities of DELETE. Yet, removing unnecessary data is just as critical. Outdated or irrelevant data can bloat your database, degrade performance, and make maintenance a nightmare. Worse, retaining some types of data without valid justification might even lead to compliance issues.

Seiten