Sammlung von Newsfeeds

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

Neues vom PostgreSQL Planet - 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

Neues vom PostgreSQL Planet - 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

Neues vom PostgreSQL Planet - 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

Neues vom PostgreSQL Planet - 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

Neues vom PostgreSQL Planet - 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?

Neues vom PostgreSQL Planet - 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

Neues vom PostgreSQL Planet - 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?

Neues vom PostgreSQL Planet - 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)

Neues vom PostgreSQL Planet - 18. November 2024 - 18:16

Andreas 'ads' Scherbaum: Ayse Bilge Ince

Neues vom PostgreSQL Planet - 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

Neues vom PostgreSQL Planet - 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

Neues vom PostgreSQL Planet - 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

Neues vom PostgreSQL Planet - 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

Neues vom PostgreSQL Planet - 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

Neues vom PostgreSQL Planet - 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.

Hubert 'depesz' Lubaczewski: Grouping data into array of sums – fun with custom aggregates

Neues vom PostgreSQL Planet - 15. November 2024 - 15:55
Was asked recently about optimization of interesting case. There was table like: =$ CREATE TABLE input_data ( category_id INT8, object_id INT8, interaction_ts timestamptz, interaction_type TEXT, interaction_count INT4 ); And there was a code that was grouping it all by sum()ing interaction_count per category, object, interaction_type, and timestamp truncated to hour.

Christophe Pettus: Farm to TABLE: Local(e) Providers

Neues vom PostgreSQL Planet - 15. November 2024 - 1:57

In our this installment about character encodings, locations, and locales in PostgreSQL, we’re talking about locale providers.

A reminder about locales

A “locale” is a bundled combination of data structures and code that provides support services for handling different localization services. For our purposes, the two most important things that a locale provides are:

Gülçin Yıldırım Jelínek: Recap of PGConf.EU 2024 in Athens

Neues vom PostgreSQL Planet - 15. November 2024 - 1:00
My notes from PGConf.EU 2024 in Athens, Greece. Talks, extension summit, diversity committee meeting, Xata Postgres dinner, and more!

Umair Shahid: Transitioning from Oracle to PostgreSQL: Concurrency Control

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

Transitioning from Oracle to PostgreSQL can be a transformative experience for database administrators because of the subtle differences between the two technologies. Understanding how the two handle concurrency differently is critical to managing highly concurrent workloads.

Seiten