No Picture
PostgreSQL Performance

Postgres 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 Performance

How is INSERT lock implemented in PostgreSQL 16?

In PostgreSQL, the lock behavior during an INSERT operation depends on the type of table that the operation is performed on. For a normal table, an INSERT lock is typically acquired on the table, which […]

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
MinervaDB

InnoDB early lock release

InnoDB early lock release is a feature in MySQL 8 and higher that allows the database to release locks earlier in the transaction processing process. This helps to reduce lock contention and improve overall performance. […]

No Picture
MinervaDB

How is page compression implemented in InnoDB?

Page compression is implemented in InnoDB using the “Compressed InnoDB Tables” feature. This feature compresses the data stored in individual pages of the InnoDB tables, reducing their size and thus reducing the amount of disk […]

No Picture
MySQL Performance

How partition pruning improved with MySQL 8?

In MySQL 8, partition pruning has been improved to make it more efficient and flexible. Partition pruning is a performance optimization technique that helps to minimize the amount of data that needs to be scanned […]

No Picture
PostgreSQL Performance

How does cache trashing happen in PostgreSQL 15?

Cache trashing in PostgreSQL 15 occurs when there is high contention for the shared buffer cache. This can happen when there are many concurrent queries accessing the same data, or when there is a lack […]