Dave Stokes: Saving The Output From psql
Occasionally, you will need to capture data when working with a database. You can cut-n-paste or use a shell command like script. In typical PostgreSQL fashion, psql has two ways to save your...
View ArticleRegina Obe: Converting JSON documents to relational tables
JSON is one of the most popular ways of disseminating data between systems. It is probably the most common offered by webservices. PostgreSQL is a database perfectly suited for grabbing that data and...
View ArticleJan Wieremjewicz: Transparent Data Encryption for PostgreSQL Release...
PostgreSQL is, without a doubt, one of the most popular open source databases in the world. Why? Well, there are many reasons, but if I had to pick just one, I’d say it’s extensibility. PostgreSQL...
View ArticlePavel Stehule: How to fix Hibernate bug by conditional index
Yesterday I found significant grow of seq read tuples. After some investigation I found query with strange predicate:WHERE 1 = case when pb1_0.parent_id is not null then 0 endIt is really strange, and...
View ArticleAndreas 'ads' Scherbaum: Akshat Jaimini
PostgreSQL Person of the Week Interview with Akshat Jaimini: Hi! I am Akshat Jaimini, a final year undergraduate currently based out of Dehradun, India. I am working as an SDE Intern at a fintech firm...
View ArticleLaurenz Albe: Swiss Database Synergy Day 2025: Oracle and PostgreSQL User...
Since I sang the praise of the 2024 Swiss PGDay, my people asked me to report from yet another small conference: the Swiss Database Synergy Day 2025, organized by the Swiss Oracle and PostgreSQL user...
View ArticleKaren Jex: Postgres on Kubernetes for the Reluctant DBA
Slides and transcript from my talk, "Postgres on Kubernetes for the Reluctant DBA", at Data on Kubernetes Day Europe in London on 1 April 2025.Introduction This is me! As you can see from the diagram...
View ArticleDavid Wheeler: 2025 Postgres Extensions Mini Summit Two
Last Wednesday, March 26, we hosted the second of five virtual Extension Mini-Summits in the lead up to the big one at the Postgres Development Conference (PGConf.dev) on May 13 in Montreal, Canada....
View ArticleHenrietta Dombrovskaya: Please Welcome Prairie Postgres!
Dear Postgres Community! In this post, I want to formally introduce Prairie Postgres, a project that has kept me really busy for the past several months.Recently, you’ve seen a lot of me online,...
View ArticleBertrand Drouvot: Postgres backend statistics (Part 2): WAL statistics
IntroductionPostgreSQL 18 will normally (as there is always a risk of seeing something reverted until its GA release) include those commits: Add data for WAL in pg_stat_io and backend statistics:commit...
View ArticleChristophe Pettus: Do not expose port 5432 to the public Internet
Sometimes, we run into a client who has port 5432 exposed to the public Internet, usually as a convenience measure to allow remote applications to access the database without having to go through an...
View ArticleGrant Fritchey: Multi-Version Concurrency Control (MVCC) in PostgreSQL:...
It’s a tale as old as time. You want to read data. Your mate wants to write data. You’re stepping on each other’s toes, all the time. When we’re talking about relational data stores, one aspect that...
View ArticleHans-Juergen Schoenig: Using pgvector for timeseries data
pgvector is a widely adopted extension for PostgreSQL that is often used to handle semantic search. One can find various topics and posts dealing with AI and so on. Recently, we have posted information...
View ArticleLukas Fittl: Postgres vs. SQL Server: B-Tree Index Differences & the Benefit...
When it comes to optimizing query performance, indexing is one of the most powerful tools available to database engineers. Both PostgreSQL and Microsoft SQL Server (or Azure SQL) use B-Tree indexes as...
View ArticleGabriele Bartolini: CNPG Recipe 17 - PostgreSQL In-Place Major Upgrades
CloudNativePG 1.26 introduces one of its most anticipated features: declarative in-place major upgrades for PostgreSQL using pg_upgrade. This new approach allows you to upgrade PostgreSQL clusters by...
View ArticleIan Barwick: PgPedia Week, 2025-03-30
A lot going on this week (well, last week - this edition of PgPedia Week is unfortunately delayed due to personal reason), as CommitFest 52 (2025-03) - the final CommitFest in the PostgreSQL 18...
View ArticlePavel Luzanov: PostgreSQL 18: part 3 or CommitFest 2024-11
We continue the series of articles about new patches coming to PostgreSQL 18, this one covering the news of the November CommitFest. If you missed the previous reviews, you can check them out here:...
View ArticleThom Brown: Don't let your PostgreSQL get exploited
As you may have heard, there are reportedly over 1,500 PostgreSQL servers that have been exploited to mine Bitcoin. And your server could be next if you haven't taken precautions. Firstly, you need to...
View ArticleChristopher Winslett: Creating Histograms with Postgres
Histograms were first used in a lecture in 1892 by Karl Pearson — the godfather of mathematical statistics. With how many data presentation tools we have today, it’s hard to think that representing...
View ArticleDave Stokes: A Repository Of Handy Database Administration Queries
I have started a repository of handy SQL Queries for Database Administration, which I have collected over the years. Finding unused or duplicate indexes or queries without indexes and other...
View Article