No Picture
PostgreSQL Performance

PostgreSQL Buffer Header Queues Explained

In PostgreSQL, buffer headers are data structures that represent a single page of data in the shared buffer cache. Each buffer header has information about the state of the page it represents, such as whether […]
No Picture
PostgreSQL Performance

PostgreSQL Indexing: When Does BRIN Win?

BRIN (Block Range INdex) is a type of index in Postgres that is used for large tables with a large number of rows and a high degree of clustering. BRIN is an efficient way to […]
No Picture
PostgreSQL Internals

How to use pg_largeobject in PostgreSQL?

The pg_largeobject system table in PostgreSQL is used to store and manage large binary objects (BLOBs) of binary data. To use pg_largeobject, you need to perform the following steps: For example, the following code shows […]
No Picture
PostgreSQL Performance

PostgreSQL Transaction Model MVCC: How It Is Implemented

How is the transaction model implemented in PostgreSQL? In PostgreSQL, transactions are implemented using the Multi-Version Concurrency Control (MVCC) model. This means that each transaction is given a snapshot of the database at the start […]