No Picture
MySQL Internals

How is MVCC implemented in InnoDB?

Multiversion Concurrency Control (MVCC) is a mechanism that is used by InnoDB, the default storage engine in MySQL, to provide transactional consistency and support for concurrent access to the same data. In InnoDB, MVCC is […]

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