Sammlung von Newsfeeds

Craig Kerstiens: Citus: The Misunderstood Postgres Extension

Neues vom PostgreSQL Planet - 18. März 2025 - 14:50

Citus is in a small class of the most advanced Postgres extensions that exist. While there are many Postgres extensions out there, few have as many hooks into Postgres or change the storage and query behavior in such a dramatic way. Most that come to Citus have very wrong assumptions. Citus turns Postgres into a sharded, distributed, horizontally scalable database (that's a mouthful), but it does so for very specific purposes.

Citus, in general, is fit for these type of applications and only these type:

Hans-Juergen Schoenig: Debugging PostgreSQL more easily

Neues vom PostgreSQL Planet - 18. März 2025 - 7:00

PostgreSQL is the foundation for thousands and thousands of applications. The system has long proven its worth and is operating reliably. However, the question people often ask is: What is the best way to actually debug a database application? 

For a couple of years now, I have been using a simple method that greatly speeds up the debugging process of typical applications.

vignesh C: Driving PostgreSQL forward: Fujitsu's key contributions

Neues vom PostgreSQL Planet - 18. März 2025 - 0:52

Fujitsu has participated in the PostgreSQL community for over 20 years and has contributed to PostgreSQL development by developing new features, as well as creating and reviewing correction patches. And last year we took our team contributions to a whole new level.

Andreas 'ads' Scherbaum: Emma Saroyan

Neues vom PostgreSQL Planet - 17. März 2025 - 15:00
PostgreSQL Person of the Week Interview with Emma Saroyan: I’m Emma Saroyan, a Developer Advocate from Yerevan, Armenia. Since graduating from university, I’ve been working with tech startups and actively contributing to open-source communities by mentoring, giving talks, and organising meetups.

Ian Barwick: PgPedia Week, 2025-03-16

Neues vom PostgreSQL Planet - 16. März 2025 - 20:45

CommitFest 52 (2025-03), the final CommitFest in the PostgreSQL 18 development cycle, is past the halfway stage, and this week has seen a number of new features.

Shayon Mukherjee: Selective asynchronous commits in PostgreSQL - balancing durability and performance

Neues vom PostgreSQL Planet - 16. März 2025 - 16:24
I was recently looking into some workloads that generate a lot of I/O and CPU contention on some very high-write code paths and came across synchronous_commit (https://www.postgresql.org/docs/current/wal-async-commit.html). It can be very tempting to turn this off globally because the performance gains in terms of I/O, CPU, and TPS (transactions per second) are very hard to overlook. I noticed I/O completely gone, CPU down 20% (at peak), and a 30% increase in TPS.

Dave Stokes: Can Artificial Intelligence Created Better Tables Than You?

Neues vom PostgreSQL Planet - 15. März 2025 - 19:08

 Artificial Intelligence is one of those conundrums where the ability to have some tasks handled for you contrasts with a mix of ego and pride that it may be better than you at those tasks.  I recently wrote a blog using another database about an AI-generated SQL that was quite sophisticated. But what about asking an AI to create a table with a specification like a DBA/SRE/Analyst might receive?

Cornelia Biacsics: Contributions for the week of 2025-03-03 (Week 9)

Neues vom PostgreSQL Planet - 14. März 2025 - 19:56

On March 6 and 7, PostgreSQL@SCaLE22x took place in Pasadena, California. The PostgreSQL team organized and volunteered at the event, with PGUS hosting the booth. The list of involved volunteers:

Henrietta Dombrovskaya: PG Day Chicago: The talks I am most excited about. Part II

Neues vom PostgreSQL Planet - 14. März 2025 - 15:26

Now – to the afternoon sessions (see Part I for morning sessions)

Paul Ramsey: Pi Day PostGIS Circles

Neues vom PostgreSQL Planet - 14. März 2025 - 15:00

What's your favourite infinite sequence of non-repeating digits? There are some people who make a case for e, but to my mind nothing beats the transcendental and curvy utility of π, the ratio of a circle's circumference to its diameter.

Drawing circles is a simple thing to do in PostGIS -- take a point, and buffer it. The result is circular, and we can calculate an estimate of pi just by measuring the perimeter of the unit circle.

SELECT ST_Buffer('POINT(0 0)', 1.0);

Jeremy Schneider: Testing loadBalancerSourceRanges with CloudNativePG on Azure Kubernetes

Neues vom PostgreSQL Planet - 14. März 2025 - 9:28

This option didn’t seem super widely documented from my initial searches online; it should be able to basically enforce layer 4 ingress/firewall rules at the individual service level. This is a quick test to check if it works.

Hans-Juergen Schoenig: PostgreSQL: 1 trillion rows in Citus

Neues vom PostgreSQL Planet - 13. März 2025 - 9:57

"PostgreSQL scales" - we have all heard this phrase over and over again. However, the question is: What does this actually mean? Does it mean 1 million rows? Or maybe even 1 billion rows? So, on a rainy weekend, I decided to do a little experiment to figure out if it is possible to squeeze 1 trillion rows (= 1000 billion rows) into my local personal computer.

For those of you who don't believe this to be possible - here is proof:

Hubert 'depesz' Lubaczewski: Waiting for PostgreSQL 18 – Allow json{b}_strip_nulls to remove null array elements

Neues vom PostgreSQL Planet - 13. März 2025 - 7:24
On 5th of March 2025, Andrew Dunstan committed patch: Allow json{b}_strip_nulls to remove null array elements   An additional paramater ("strip_in_arrays") is added to these functions. It defaults to false. If true, then null array elements are removed as well as null valued object fields. JSON that just consists of a single null is not … Continue reading "Waiting for PostgreSQL 18 – Allow json{b}_strip_nulls to remove null array elements"

Henrietta Dombrovskaya: Chicago PUG February Meetup recording

Neues vom PostgreSQL Planet - 13. März 2025 - 3:22

Hi Postgres community, apologies for the delay one more time – here is the recording of our February meetup! If you didn’t have a chance to attend in person or virtual, please take a moment to watch! You won’t be disappointed!

Also, one more reminder that our March meetup will take place later in the month than usual: on March 25. That will be the last meetup before PG Day Chicago, and I hope you will be able to attend!

Hubert 'depesz' Lubaczewski: Waiting for PostgreSQL 18 – Allow parallel CREATE INDEX for GIN indexes

Neues vom PostgreSQL Planet - 11. März 2025 - 14:06
On 3rd of March 2025, Tomas Vondra committed patch: Allow parallel CREATE INDEX for GIN indexes   Allow using parallel workers to build a GIN index, similarly to BTREE and BRIN. For large tables this may result in significant speedup when the build is CPU-bound.   The work is divided so that each worker builds … Continue reading "Waiting for PostgreSQL 18 – Allow parallel CREATE INDEX for GIN indexes"

Laurenz Albe: stats_fetch_consistency: caching PostgreSQL monitoring statistics?

Neues vom PostgreSQL Planet - 11. März 2025 - 8:52
© Laurenz Albe 2025

I have worked with PostgreSQL since 2006. Still, I keep learning about new aspects of PostgreSQL regularly. Sometimes it feels like the more I know, the better I see that I have yet a lot to learn. Often, beginners' questions in a training session make me learn something new! Today, my co-worker Pavlo told be about the PostgreSQL parameter stats_fetch_consistency. Probably not a parameter that you want to tune every day, but you never know.

Umair Shahid: When HASH partitioning works better than RANGE

Neues vom PostgreSQL Planet - 11. März 2025 - 8:51

I have always been a fan of RANGE partitioning using a date/time value in PostgreSQL. This isn't always possible, however, and I recently came across a scenario where a table had grown large enough that it had to be partitioned, and the only reasonable key to use was a UUID styled identifier.

The goal of this post is to highlight when and why hashing your data across partitions in PostgreSQL might be a better approach.

Range vs. Hash Partitioning in PostgreSQL

Range Partitioning (A Quick Recap)

Andreas 'ads' Scherbaum: Doug Ortiz

Neues vom PostgreSQL Planet - 10. März 2025 - 15:00
PostgreSQL Person of the Week Interview with Doug Ortiz: Consider myself a Technologist first and foremost that enjoys immersing into new and emerging technologies and trends. As to where I am from, I am originally a New Yorker that has moved around multiple continents and the USA.

Ryan Booz: Introducing pgNow: A free, point-in-time diagnostic tool for PostgreSQL

Neues vom PostgreSQL Planet - 10. März 2025 - 14:09
pgNow is a free, cross-platform desktop tool created by Redgate that helps you identify key performance metrics and configuration optimizations in your running Postgres instance. Available now as a public preview application, it’s designed to help when you’re in a pinch and don’t have the Postgres experience or monitoring solution already in place to help ... Read more

Luca Ferrari: pgenv 1.4.0 is out!

Neues vom PostgreSQL Planet - 10. März 2025 - 1:00

A new version with an interesting improvement in the configuration management.

pgenv 1.4.0 is out!

pgenv 1.4.0 is out with an interesting improvement regarding the configuration management.

Seiten