PostgreSQL Blog

High cost and uncertainty of VACUUM in PostgreSQL

Summary: Have you ever encountered a situation in PostgreSQL where multiple autovacuum processes keep running continuously? At this point, most of the resources in the system are used for VACUUM operations. In this article, we will explore the high cost and uncertainty of VACUUM in PostgreSQL, as well as related solutions.

Continue reading

Freeze caused by high transaction throughput in PostgreSQL

Summary: In this article, we’ll take a look at the freeze issue that comes with high transaction throughput in PostgreSQL, and corresponding solutions.

Continue reading

Measuring CPU instructions when querying PostgreSQL

Summary: Michael Stonebraker once published a classic paper titled OLTP Through the Looking Glass, and What We Found There. In it, CPU instruction count was used as a metric to analyze the workload overhead of various database stages.

Continue reading

PostgreSQL: The Preferred Database in the AI Era

Summary: Ultimately, a database is a production tool in the IT industry. Deciding which tool to adopt comes down to production efficiency.

Continue reading

Advantages of PostgreSQL Native Storage Engine

Summary: 99% of MySQL users are using InnoDB. The pluggable engines that MySQL users once took pride in has now become its biggest historical burden. In this article, you will learn about the advantages of PostgreSQL native storage engine.

Continue reading

Impact of Inserts on Query Performance in PostgreSQL

Summary: In this article, we will explore the impact of PostgreSQL INSERT operations on queries and the underlying principles behind this phenomenon.

Continue reading

Comparative Analysis of PostgreSQL Insert Performance

Summary: In this article, we will explore the advantages of PostgreSQL’s insertion performance and the underlying principles behind it.

Continue reading

Heap Tables vs. Index-Organized Tables

Summary: In this article, we will learn some differences between heap tables and index-organized tables.

Continue reading

Write amplification caused by updates in PostgreSQL

Summary: In this article, we’ll take a look at the write amplification issue that comes with updates in PostgreSQL, and corresponding solutions.

Continue reading

Tuning a JSON query in PostgreSQL

Summary: in this article, you will learn how to tune a JSON query in PostgreSQL.

Continue reading