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 is the transaction model implemented in PostgreSQL?

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 […]

No Picture
MinervaDB

How to handle NULL values in PostgreSQL

How to handle NULL values in PostgreSQL IS NULL: This operator is used to check if a column or expression is NULL. Example: SELECT * FROM table WHERE column_name IS NULL; IS NOT NULL: This […]

No Picture
PostgreSQL Performance

Understanding locks and deadlocks in PostgreSQL

Understanding locks and deadlocks in PostgreSQL Locks in PostgreSQL are used to ensure that concurrent transactions do not interfere with each other. When a transaction modifies a piece of data, it will take out an [...]