Pull to refresh
32K+
220,14
Rating
142 434
Subscribers
Show first
Format

Apache AGE under load: how PostgreSQL graphs behave under stress

Level of difficultyMedium
Reading time14 min
Reach and readers869

Apache AGE brings graph capabilities and Cypher to PostgreSQL. We built a benchmark, ran three types of workloads, and found that shortest-path queries deliver only 7 TPS, while vertex inserts degrade due to a SeqScan in the existence check function. One patch later — and TPS increased by 15×. Here’s how we tracked it down.

Read more

Moving MultiXactOffset to 64 Bits in Postgres

Level of difficultyMedium
Reading time7 min
Reach and readers6.5K

Back in 1987, in the foundational document, THE DESIGN OF POSTGRES, Michael Stonebraker stated that transactions should be 64-bit. Nearly forty years later, Postgres is still living in a world of 32-bit counters. But in December 2025, my commit quietly made its way into the codebase — the first real step toward the future Stonebraker envisioned.

In this article, I’ll explain what exactly changed and why it matters more than it might seem.

Read more

PostgreSQL 19: CommitFest 2026-03 Part 5.4 (SQL, DEV1, DEV2)

Level of difficultyMedium
Reading time7 min
Reach and readers9.3K

We’re wrapping up our review of the March CommitFest for PostgreSQL 19. This fourth and final article in the series covers the changes related to SQL and to our DEV1 and DEV2 courses.

As a reminder, here’s the plan for our coverage of the final PostgreSQL 19 CommitFest:

Part 5.1 (QPT)

Part 5.2 (DBA1, DBA2)

Part 5.3 (DBA3, DBS)

Part 5.4 (SQL, DEV1, DEV2) – you are here 🙂

For the earlier CommitFests, see: 2025-07, 2025-09, 2025-11, 2026-01.

Read more

PostgreSQL 19: CommitFest 2026-03 Part 5.3 (DBA3, DBS)

Level of difficultyMedium
Reading time9 min
Reach and readers5.5K

We’re continuing our review of the March CommitFest for PostgreSQL 19. This third article in the series covers the changes related to our DBA3 and DBS courses.

As a reminder, here’s the plan for our coverage of the final PostgreSQL 19 CommitFest:

Part 5.1 (QPT)

Part 5.2 (DBA1, DBA2)

Part 5.3 (DBA3, DBS) – you are here 🙂

Part 5.4 (SQL, DEV1, DEV2)

For the earlier CommitFests, see: 2025-07, 2025-09, 2025-11, 2026-01.

Read more

PostgreSQL 19: CommitFest 2026-03 Part 5.2 (DBA1, DBA2)

Level of difficultyMedium
Reading time11 min
Reach and readers4.5K

We’re continuing our review of the March CommitFest for PostgreSQL 19. This second article in the series covers the changes related to our DBA1 and DBA2 courses.

As a reminder, here’s the plan for our coverage of the final PostgreSQL 19 CommitFest:

Part 5.1 (QPT)

Part 5.2 (DBA1, DBA2) – you are here 🙂

Part 5.3 (DBA3, DBS)

Part 5.4 (SQL, DEV1, DEV2)

For the earlier CommitFests, see: 2025-07, 2025-09, 2025-11, 2026-01.

Read more

PostgreSQL 19: CommitFest 2026-03 Part 5.1 (QPT)

Level of difficultyMedium
Reading time13 min
Reach and readers5.2K

We’re wrapping up our series of articles reviewing the changes in PostgreSQL 19. The previous articles covered the first four CommitFests: 2025-07, 2025-09, 2025-11, 2026-01.

Today we begin our review of the March 2026 CommitFest. Why «begin»? As in previous years, the March review is going to be a long one: the final CommitFest of the cycle is where many of the most important changes land. Such a review is hard not only to write but also to read all the way through 🙂. That’s why this time it’s split into four articles.

The first article covers everything related to query optimization, in other words, the topics of our QPT training course. The second will focus on changes more relevant to the DBA1 and DBA2 courses. The third will cover DBA3 and DBS. The fourth will look at new SQL features, as well as changes related to the DEV1 and DEV2 courses.

Read more

When a perfect audit was too hard to use

Level of difficultyEasy
Reading time7 min
Reach and readers4.6K

Everyone loves security — until they have to configure it. The first version of our audit extension felt like a nuclear power plant control panel: infinitely flexible, but impossible to operate without a manual. We admitted defeat, listened to DBA complaints, and shipped version 2.0 — with event classes and configuration logic designed for humans, not just compilers.

This article tells the story of fixing our own mistakes and turning a “shelf-ware” product into a tool people actually use.

Read more

PGConf.Nepal 2026 invites you

Level of difficultyEasy
Reading time3 min
Reach and readers5K

From 18 to 21 November 2026, Nepal will host PGConf.Nepal 2026, the country’s fourth PostgreSQL conference. The previous events took place in 2018, 2023, and 2025. This year, the conference is expected to bring together a wider mix of participants, organisations, and countries.

Read more

How we choose LLMs and frameworks for AI agents

Level of difficultyEasy
Reading time10 min
Reach and readers4.5K

The journey from a single A100 in the cloud to an H200 cluster is not just a hardware upgrade — it’s a story of how an ML team stopped chasing “the one perfect model” and started building an ecosystem. When there are millions of lines of PostgreSQL C code under the hood and tasks range from hint-set generation to Graph-RAG, the model stops being a black box and becomes just another replaceable component. We explain how we rebuilt our stack around vLLM and MCP, why context management matters more than model weights, and how we made a 0.6B-parameter model perform on par with the giants using GRPO.

Read more

Small but mighty optimizations: how pgpro_planner rescues struggling queries

Level of difficultyMedium
Reading time11 min
Reach and readers4.3K

What do 1C queries, IN (VALUES ...) constructs, and the innocent expression x + 0 have in common? They can all turn a millisecond query into a multi-minute wait because PostgreSQL's standard planner "trips" over them. We break down how the pgpro_planner extension rewrites tricky parts of the query tree into a friendly form before the optimizer picks a bad plan — and why some of these fixes have already made it into vanilla PostgreSQL 18.

Read more

Query result caching in PostgreSQL: how to speed up frequent queries and reduce database load

Level of difficultyMedium
Reading time11 min
Reach and readers10K

Imagine your heaviest SQL queries running in milliseconds. It sounds like science fiction, but with the pgpro_result_cache extension, it’s very real. In this article, we’ll look at how multi-second queries can be turned into lightning-fast cache hits.

Read more

PostgreSQL cost model: estimating the cost of flushing temp buffers to disk

Level of difficultyMedium
Reading time8 min
Reach and readers7.7K

Today I present results from the first step towards enabling temporary tables in PostgreSQL parallel query execution: benchmarking sequential writes and reads of temp buffers. I added functions to the PostgreSQL system catalog to measure buffer flush operations and ran a set of tests. For the planner, I estimated the cost coefficient of flushing a temporary table buffer page to disk relative to the existing DEFAULT_SEQ_PAGE_COST. I also estimated the cost of a simple scan of temp buffers (a dry-run). Measurements show that sequential writes are about 30% slower than reads. Based on these results, I propose a cost formula. I also ran a limited “dry-run” style estimate and measured write speed when table blocks are distributed across memory pages randomly.

Read more

What will enterprise databases look like in the age of AI

Level of difficultyEasy
Reading time5 min
Reach and readers9.4K

There’s a dangerous illusion that “vanilla” open source is a silver bullet for enterprise systems. A real-world stress test of recent years has shown the opposite: when familiar giants like Oracle step aside, plain PostgreSQL often turns into a pumpkin under true enterprise workloads.

Mark Rivkin, Head of technical consulting at Postgres Professional, shares his personal perspective on why teams end up reinventing the wheel — adding millions of lines of code to the core — and why the future belongs to converged database systems.

Disclaimer: this article reflects the author’s independent expert opinion.

Read more

Hard skills aren’t enough: why teams keep the “human glue” and fire the “toxic genius”

Level of difficultyEasy
Reading time5 min
Reach and readers9.4K

In the IT crowd, it’s common to mock HR for their weird terminology and attempts to assess a “rich inner world” instead of clean code. But when a senior starts tearing juniors apart in code reviews to the point where they end up crying in the bathroom, nobody’s laughing anymore.

We pit two archetypes against each other: the “toxic genius” and the “human glue”. Which one is dead weight, and which one is the load-bearing structure of the project? You might not like the answer.

Read more

Message queues in Postgres Pro: ditching external brokers for true transactional reliability

Level of difficultyEasy
Reading time5 min
Reach and readers15K

Your service has just published a message to RabbitMQ — and then, right at commit time, the database transaction rolls back. The classic distributed-systems nightmare: ghost data, broken consistency, and hours lost to debugging. Usually you fight this with tricky custom code, two-phase commits, or just… crossing your fingers. But what if a PostgreSQL rollback could automatically “roll back” the message too, putting it back into the queue without you writing a single extra line? Here’s how that works.

Read more

Information

Company name
ООО «ППГ»
Tax ID
7729445882
Website
www.postgrespro.ru
On Habr since
Registered
Employees
201–500 employees
Location
Россия
Representative
Иван Панченко

Social media