Neues vom PostgreSQL Planet

Neues vom PostgreSQL Planet Feed abonnieren
Planet PostgreSQL
Aktualisiert: vor 2 Stunden 3 Minuten

Kaarel Moppel: Postgres User Group Tallinn next event on 27th of November

22. November 2024 - 23:00
Meet Postgres User Group Tallinn / Estonia Just a short shout-out to maybe get an extra attendee or two - as actually appeared that we’ve never done any advertising for our local Estonian Postgres User Group on the Postgres feed at all - although we’ve been out there since years...

Hubert 'depesz' Lubaczewski: Changes on pgdoc.link

22. November 2024 - 15:24
Based on checking logs, and my own personal needs I added more categories of keywords to pgdoc.link: environment variables, like: PGHOST config file names, like: pgpass functions from some contrib modules, like: akeys, or cube_ll_coord various keyword-like functions (?), like: current_user. This happened thanks to bug report by Benjie Gillam This brought the total number … Continue reading "Changes on pgdoc.link"

Ibrar Ahmed: Understanding and Reducing PostgreSQL Replication Lag

22. November 2024 - 8:01

Replication lag in PostgreSQL occurs when changes made on the primary server take time to reflect on the replica server. Whether you use streaming or logical replication, lag can impact performance, consistency, and system availability. This post covers the types of replication, their differences, lag causes, mathematical formulas for lag estimation, monitoring techniques, and strategies to minimize replication lag.

Christophe Pettus: Locale Cooking: Common Scenarios and Suggestions

22. November 2024 - 8:00

We’ve gone through a lot of detail about locales and collations here, but what should you do when it is time to set up a database? Here is a cookbook with some common scenarios, with recommendations.

“I want maximum speed, I am running on PostgreSQL version 17 or higher, and it’s OK if collation is whacky for non-7-bit-ASCII characters.”

Use the C.UTF-8 local from the built-in locale provider.

CREATE DATABASE mydb locale_provider=builtin builtin_locale='C.UTF8' template=template0;

Umair Shahid: Transitioning from Oracle to PostgreSQL: Roles & Privileges

21. November 2024 - 11:49

When moving from Oracle to PostgreSQL, one of the key differences lies in how each database handles roles and privileges. Oracle's privilege model is deeply ingrained in enterprise systems, with fine-grained user controls and a strict distinction between users and roles. PostgreSQL, while just as capable, approaches roles and privileges differently, offering flexibility and simplicity, but it also requires a shift in mindset for Oracle users.

Christophe Pettus: Talk Fast: The Speed of Various Collations

21. November 2024 - 6:10

In previous installments in this series about locales and collations in PostgreSQL, we’ve made some vague allusions to the speed of the various collation functions. Let’s be a bit more analytical now.

The data here was gathered on a 4GB Linode instance running Ubuntu 24.04 and PostgreSQL 17.1. The test data was 1,000,000 records, each one a string of 64 random 7-bit ASCII characters. For each of the configurations, the test data was loaded into a table:

sql CREATE TABLE t(v varchar);

Luca Ferrari: PL/Perl now ties %ENV

21. November 2024 - 1:00

A small but great improvement in the security of PL/Perl.

PL/Perl now ties %ENV

PL/Perl is a great language, since it ties together two of my favourite pieces of technology: PostgreSQL and Perl.

While I do usually refer to PL/Perl as the capability to run Perl code within PostgreSQL, the correct naming is either PL/Perl or PL/Perlu, where the former is the trusted language and the latter is the untrusted one.

Pavel Luzanov: PostgreSQL 18: part 1 or CommitFest 2024-07

20. November 2024 - 1:00

This article is the first in the series about the upcoming PostgreSQL 18 release. Let us take a look at the features introduced in the July CommitFest.

Greg Smith: Loading the World! OpenStreetMap Import In Under 4 Hours

19. November 2024 - 15:30

The OpenStreetMap (OSM) database builds almost 750GB of location data from a single file download. OSM notoriously takes a full day to run. A fresh open street map load involves both a massive write process and large index builds. It is a great performance stress-test bulk load for any Postgres system. I use it to stress the latest PostgreSQL versions and state-of-the-art hardware. The stress test validates new tuning tricks and identifies performance regressions.

semab tariq: What Happens Behind the Scenes When You Modify a Row in PostgreSQL?

19. November 2024 - 11:13

Data is often called the new gold, and databases are where we store and manage this precious resource as it constantly changes and grows. At first glance, updating data might seem like a simple task—just modify a row. 

But behind the scenes, it’s more complex to ensure that data remains consistent and accessible. In today’s blog, I’ll answer some frequently asked questions from our customers and dive into why PostgreSQL relies on a process called VACUUM to efficiently manage data updates.

Andreas Scherbaum: PGConf.EU 2024 Lightning Talks

19. November 2024 - 9:45
This year, the Lightning Talks at PGConf.EU were handled a bit different, compared to the previous years. If you attended a previous PGConf.EU, you remember a whiteboard which at some point appears near the registration desk and people rush to fill in 12 talks. First come, first selected. This year, Karen Jex suggested to have a box and everyone can drop in cards with a talk, and then 12 talks are randomly selected.

Kaarel Moppel: Postgres on Spot VMs - only for the crazy?

18. November 2024 - 23:00
Postgres is already great, surely - even “too popular” one could complain with a twist…as this broadcast “was” actually supposed to be my Lightning Talk at last month’s pgConf.eu in Athens 🙂 But indeed, seems Postgres has in an awesome way gotten so big that it’s not like that anymore...

Jimmy Angelakos: Contributions for the week of 2024-11-11 (Week 46 overview)

18. November 2024 - 18:16

Andreas 'ads' Scherbaum: Ayse Bilge Ince

18. November 2024 - 15:00
PostgreSQL Person of the Week Interview with Ayse Bilge Ince: Hello! I’m Bilge Ince. Originally from Turkey, I now call London home. I’m currently a Machine Learning Engineer at EDB, which is also how I began connecting with the PostgreSQL community.

Luca Ferrari: dbicdump: using PostgreSQL schemas as package separator in produced Perl classes

18. November 2024 - 1:00

A way to instrument dbicdump to use PostgreSQL schemas as package separators.

dbicdump: using PostgreSQL schemas as package separator in produced Perl classes

Perl DBIx::Class is a great Object Relational Mapper (ORM), and I use it regularly with dbicdump, which is a tool to synchronize your existing database structure with the classes your program is going to use.

Gülçin Yıldırım Jelínek: Prague PostgreSQL Meetup on November 18th

17. November 2024 - 1:00
The Prague PostgreSQL Meetup will take place on November 18th!

Christophe Pettus: The Doom That Came To PostgreSQL: When Collations Change

15. November 2024 - 20:31

In this installment of our series on locales and PostgreSQL, we’ll talk about what can happen with the library that provides locales changes out from under a PostgreSQL database. It’s not pretty.

Douglas Hunley: On CVEs, BoMs, and Releases

15. November 2024 - 18:10
As previously mentioned in this Crunchy Postgres via Automation series, we now use a Bill of Materials (BoM) ship tested-together versions of the components that comprise the CPA product.

Craig Kerstiens: A change to RelResultInfo - A Near Miss with Postgres 17.1

15. November 2024 - 16:30

Since its inception Crunchy Data has released new builds and packages of Postgres on the day community packages are released. Yesterday's minor version release was the first time we made the decision to press pause on a release. Why did we not release it immediately? There appeared to be a very real risk of breaking existing installations. Let's back up and walk through a near miss of Postgres release day.

Seiten