Neues vom PostgreSQL Planet

Neues vom PostgreSQL Planet Feed abonnieren
Planet PostgreSQL
Aktualisiert: vor 56 Minuten 37 Sekunden

Luca Ferrari: pg_dump and --if-exists little gem

26. Juni 2024 - 2:00

An option I was not aware of…

pg_dump and –if-exists little gem

pg_dump is a very useful tool to dump (and hence prepare to restore) a single PostgreSQL database.

When I use it, I usually add the options:

David Wheeler: PGConf.dev 2024

25. Juni 2024 - 23:41

In addition to the afore-blogged Extension Summit, I also attended a slew of the regular PGConf.dev sessions, gave a talk on the future of the extension ecosystem, socialized with extension authors and core developers, and joined discussions in a number of unconference sessions. Some notes on selected talks and events:

Gabriele Bartolini: Kubernetes Just Turned Ten: Where Does PostgreSQL Stand?

25. Juni 2024 - 15:46

As Kubernetes marks its tenth anniversary, its influence on infrastructure management continues to grow. This article examines the increasing adoption of PostgreSQL within Kubernetes, fueled by its extensibility and AI applications. It highlights the journey of integrating PostgreSQL with Kubernetes, focusing on the CloudNativePG operator. A comparison between Kubernetes and traditional VM deployments underscores the advantages for database workloads.

Laurenz Albe: MAKING THE POSTGRESQL VISIBILITY MAP VISIBLE

25. Juni 2024 - 7:21
© Laurenz Albe 2024

Enough has been written about the connection between VACUUM, the visibility map and index-only scans in PostgreSQL. But recently I demonstrated index-only scans to a class I was teaching and made some observations that surprised me at first. I could eventually explain what I saw, but I may have given the class more to chew on than I intended.

Peter Eisentraut: PostgreSQL performance with different compilers

25. Juni 2024 - 6:00

I have tested several times which compiler builds PostgreSQL the fastest. Now let’s look at with which compiler PostgreSQL runs the fastest.

Andreas 'ads' Scherbaum: Derk van Veen

24. Juni 2024 - 16:00
PostgreSQL Person of the Week Interview with Derk van Veen: I was born in Zoeterwoude (Netherlands), a small village close to Leiden, where Floor Drees was born. Leiden is where I went to secondary school.

Jobin Augustine: Upgrading to the New Etcd Version From 3.3 for Patroni

24. Juni 2024 - 15:20
We have been promoting and using Patroni as the best high availability framework for PostgreSQL, and Etcd was the preferred/recommended DCS for the Patroni cluster. Both Patroni and Etcd have been part of PostgreSQL distribution from Percona for years now. But one area where we were stuck was the Etcd version, and we continued to […]

Steven Miller: What you should know about JSON web tokens

24. Juni 2024 - 11:00
This post contained content that could not be rendered in the Atom feed. Please use the official post link: https://tembo.io/blog/jwt-authentication

Karen Jex: When I grow up I want to be a Database Administrator (said no-one ever)

23. Juni 2024 - 23:40

Instead of just sharing the slides from the keynote talk that I gave at DjangoCon Europe 2024 in Vigo this month, I'm trying a new approach, inspired by Simon Willison's annotated presentations. This post contains the slides together with the transcript, links etc. so it should be much more useful.

I'll add a link to the video as soon as it's available.

David Wheeler: POC: Distributing Trunk Binaries via OCI

21. Juni 2024 - 22:36

A couple months ago, Álvaro Hernández suggested that Postgres extensions should be distributed as OCI (née Docker) images:

Robert Haas: Mentoring Program for Code Contributors

21. Juni 2024 - 21:27

Yesterday, I announced a call for applications for a new mentoring program for PostgreSQL code contributors that I'm trying to start. I'm posting this on my blog as well for better visibility, and also to offer a few more comments and thoughts on this general topic of mentoring.

Read more »

semab tariq: Ensuring Safe Data Modifications in PostgreSQL with SELECT FOR UPDATE

21. Juni 2024 - 16:27

Learn how to use PostgreSQL's SELECT FOR UPDATE clause to ensure safe data modifications and prevent data corruption in critical environments.

The post Ensuring Safe Data Modifications in PostgreSQL with SELECT FOR UPDATE appeared first on Stormatics.

Christoph Schiessl: Custom `ENUM` Type Columns and `ORDER BY`

21. Juni 2024 - 2:00
Learn how custom `ENUM` types in PostgreSQL can affect `SELECT` queries and `ORDER BY` clauses. Be mindful of indexing and typecasting.

David Wheeler: POC: PGXN Binary Distribution Format

20. Juni 2024 - 21:28

In an effort to make discussion of PGXN and related improvements as accessible as possible, I’ve set up PGXN Discussions on GitHub. Of course GitHub created default categories for all sorts of conversation, and all is welcome, in accordance with the PostgresSQL Code of Conduct.

Tomas Vondra: Prague PostgreSQL Developer Day 2024 conference recap

19. Juni 2024 - 21:32

The sixteenth year of the Prague PostgreSQL Developer Day (P2D2) conference, organized by the local PUG, happened on June 4-5. This year EDB was one of the main sponsors of the event, so let us share a brief summary from the conference overall, and a bit more details about contributions by EDB speakers.

Andreas Scherbaum: Understanding VACUUM, VACUUM template0, and Transaction ID Wraparound

19. Juni 2024 - 18:09

PostgreSQL uses Multi-Version Concurrency Control (MVCC) to manage concurrent access to the database, and store each version of a tuple in a table. To keep the database efficient, PostgreSQL employs a cleanup process called VACUUM, which removes unnecessary tuples. This not only saves disk space and keeps the database size under control, it also prevents the dreaded “Transaction ID Wraparound” issue. Regularly running VACUUM is crucial, including on the template0 database, which is normally handled by the Autovacuum daemon.

Shane Borden: Reduce Vacuum by Using “ON CONFLICT” Directive

18. Juni 2024 - 21:08

I’m always working with customers migrating from Oracle to PostgreSQL. One of the things in Oracle that didn’t necessarily have any additional impact other than I/O against an index was if the application executed insert statements which violated a PK constraint. Typically an exception handler was added to the code and while you could argue that the application shouldn’t do that, it typically was not something that had to be dealt with too often. However in PostgreSQL it IS something you need to be aware of.

David Wheeler: Compiling Postgres with LLVM

18. Juni 2024 - 20:45

A quick post on the need to use a compatible Clang compiler when building Postgres with LLVM support. TL;DR: always point the CLANG variable to the correct Clang binary when compiling Postgres --with-llvm.

David Wheeler: 🏔 Extension Ecosystem Summit 2024

18. Juni 2024 - 19:08

The PostgreSQL Extension Ecosystem Summit took place at PGConf.dev in Vancouver on May 28, 2024 and it was great!

Florian Nadler: From Microsoft SQL server to PostGIS

18. Juni 2024 - 7:26

PostGIS is getting more and more popular and for good reasons. It benefits from a great community and offers a huge set of cool and stable features. Nowadays, a lot of customers want to migrate their spatial datasets from various data sources to PostGIS, where they can easily work with them.
Today I want to take a closer look at how this migration could look like for those transitioning from Microsoft SQL server to PostGIS.  

My article is structured as follows:

Seiten