Usage

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

Performance Impact of Exception Logic in PostgreSQL Stored Procedures

Summary: Developers often use exception handling in stored procedures, especially when migrating from other databases to PostgreSQL, but the behavior varies greatly between different databases.

Continue reading

VACUUM overhead caused by constraint violations during INSERTs

Summary: In this article, we will examine the VACUUM overhead caused by constraint violations when inserting data into PostgreSQL tables, as well as the corresponding solutions.

Continue reading

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

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