Sammlung von Newsfeeds

Kaarel Moppel: Don't forget about the Postgres parallel leader participation setting

Neues vom PostgreSQL Planet - 21. Januar 2025 - 23:00
Recently there was a nice article on the Planet PostgreSQL feed on Postgres’ parallel query capabilities and the pertinent tuning parameters. All good and logical, the main settings and considerations were highlighted…but then I suddenly remembered that there’s one more parallelism relevant parameter that for some reason is mostly always...

Peter Eisentraut: Implementing thread-safe scanners and parsers in PostgreSQL

Neues vom PostgreSQL Planet - 21. Januar 2025 - 6:00

I have been working recently on making various scanners and parsers in PostgreSQL thread-safe, and this article is a bit of a brain dump to record what I did, what the different steps were, because all of that was pretty difficult to piece together, and it might be worth recording somewhere what was found and learned.

Hans-Juergen Schoenig: # GROUP BY: Fixing optimizer estimates

Neues vom PostgreSQL Planet - 21. Januar 2025 - 6:00

If you are using PostgreSQL for analytics or large-scale aggregations, you might occasionally notice the planner making false assumptions regarding the number of rows. While this isn't a problem for small aggregates, it is indeed an issue for large-scale aggregations featuring many different dimensions.

In short: The more columns your GROUP BY statement contains, the more likely it is that optimizer overestimates the row count.

This blog explains how this can be handled in PostgreSQL.

Regina Obe: Unpivoting data using JSONB

Neues vom PostgreSQL Planet - 20. Januar 2025 - 4:57

One of my favorite uses of JSONB functionality is to unpivot data.

Continue reading "Unpivoting data using JSONB"

Luca Ferrari: Open Day 2025 in Bolzano (Italy): schedule available

Neues vom PostgreSQL Planet - 20. Januar 2025 - 1:00

The schedule of the free event is available!

Open Day 2025 in Bolzano (Italy): schedule available

The schedule of the next free event organized by PgTraining is available.

The event, that will be held in the great NOI Techpark in Bolzano (Italy) will be organized in two parts:

Gülçin Yıldırım Jelínek: Anatomy of table-level locks: Reducing locking impact

Neues vom PostgreSQL Planet - 20. Januar 2025 - 1:00
Not all operations require the same level of locking, and PostgreSQL offers tools and techniques to minimize locking impact.

Andreas Scherbaum: Postgresql at FOSDEM 2025

Neues vom PostgreSQL Planet - 20. Januar 2025 - 0:00
The PostgreSQL Project is present with a booth at FOSDEM ever since 2007. And ever since 2008 we organize a Devroom, starting 2013 we also have our own PGDay on the Friday before FOSDEM. This year it’s the 11th FOSDEM PGDay, skipping 2021 and 2022 for obvious reasons. This blog post provides useful information for visitors of the PGDay, the booth and the PostgreSQL Devroom at FOSDEM. Welcome to FOSDEM PGDay 2025 When does the PGDay take place, and can I still attend?

Andrei Lepikhov: Whose optimisation is better?

Neues vom PostgreSQL Planet - 18. Januar 2025 - 16:37

That happened one long and warm Thai evening when I read another paper about the re-optimisation technique in which the authors used Postgres as a base for implementation. Since I had nearly finished with the WIP patch aiming to do the same stuff in the Postgres fork, I immediately began comparing our algorithms using the paper's experimental data as a reference. However, I quickly realised that neither my code nor even the standard Postgres instance bore any resemblance to the paper's figures.

Ian Barwick: PgPedia Week, 2025-01-19

Neues vom PostgreSQL Planet - 18. Januar 2025 - 7:36
PostgreSQL 18 changes pg_stat_io count IOs as bytes instead of blocks for some operations postgres_fdw : SCRAM authentication can be passed through using new option use_scram_passthrough psql x can be appended to various list commands (e.g.

Regina Obe: PostGIS 3.5.2

Neues vom PostgreSQL Planet - 18. Januar 2025 - 1:00

The PostGIS Team is pleased to release PostGIS 3.5.2.

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.

Robert Haas: PostgreSQL Hacking Workshop - February 2025

Neues vom PostgreSQL Planet - 17. Januar 2025 - 20:02

Please considering joining us next month (February 2025) for a discussion of Heikki Linnakangas's talk on The Wire Protocol, from PGCONF.EU 2024. For those not familiar with the concept, this hacking workshop is basically a virtual meetup: you watch the talk, and then you sign up to participate in one of two or three Zoom meetings where we discuss the talk. Usually, we're able to get the original author of the talk to join us; thanks to Heikki for agreeing to join us this month.

Protected: Elementor #320119

PostgresqlHelp - 16. Januar 2025 - 18:26

This content is password protected. To view it please enter your password below:

Password:

Luca Ferrari: The importance of testing with not-so-usual setups

Neues vom PostgreSQL Planet - 16. Januar 2025 - 1:00

How we discovered a trivial bug in pgagroal

The importance of testing with not-so-usual setups

This week we found a trivial and silly bug in [pgagroal](https://github.com/agroal/pgagroal){:target="_blank"}.

Hubert 'depesz' Lubaczewski: Waiting for PostgreSQL 18 – Enable BUFFERS with EXPLAIN ANALYZE by default

Neues vom PostgreSQL Planet - 15. Januar 2025 - 20:53
On 11st of December 2024, David Rowley committed patch: Enable BUFFERS with EXPLAIN ANALYZE by default   The topic of turning EXPLAIN's BUFFERS option on with the ANALYZE option has come up a few times over the past few years. In many ways, doing this seems like a good idea as it may be more … Continue reading "Waiting for PostgreSQL 18 – Enable BUFFERS with EXPLAIN ANALYZE by default"

Umair Shahid: Cut Cloud Costs with Smarter PostgreSQL CPU Core Allocation

Neues vom PostgreSQL Planet - 15. Januar 2025 - 8:57

Cloud costs can quickly spiral out of control if resources are not optimized. One of the most significant contributors to these costs is CPU core allocation, which forms the basis of the instance size with every major cloud provider. Many organizations over-provision cores for their PostgreSQL databases, paying for unused capacity, or under-provision them, leading to poor performance and missed SLAs.

This blog will explore strategies to allocate CPU cores effectively for PostgreSQL databases, ensuring optimal performance while keeping cloud expenses in check.

Stefanie Janine: PostgreSQL Post Statistics for 2025

Neues vom PostgreSQL Planet - 15. Januar 2025 - 0:00

As I have been on several CfP committees (CfPC) for PostgreSQL conferences, I like to share my experiences.

Submissions

When you submit more than one talk, think about the additional work of the CfPC. Every member has to read almost all submissions and to vote for each one of it. The exceptions are the ones they submitted themselves or the ones submitted by coworkers.

All the members of CfP committees of PostgreSQL community conferences are doing their duty mostly without compensation, sometimes they are offered a free ticket to the conference.

Jobin Augustine: What Hurts in PostgreSQL Part One: Temporary Tables

Neues vom PostgreSQL Planet - 14. Januar 2025 - 15:49
PostgreSQL is one of the most powerful database systems in the world. I have always been passionate about its great power, especially its modern SQL language features. However, that doesn’t mean everything is great. There are areas where it hurts. Novice users unaware of the problem might get into trouble, and I see such things […]

Boriss Mejias: Contributions for the week 51 (2024) and the week 2 (2025)

Neues vom PostgreSQL Planet - 13. Januar 2025 - 14:50

Catching up with the last weeks of 2024, and entering into 2025, these are the last contributions we were able to know about:

Gülçin Yıldırım Jelínek: Anatomy of Table-Level Locks in PostgreSQL

Neues vom PostgreSQL Planet - 13. Januar 2025 - 1:00
This blog explains locking mechanisms in PostgreSQL, focusing on table-level locks that are required by Data Definition Language (DDL) operations.

Seiten