No Picture
MySQL Internals

MySQL Scalar Subquery Unnesting transformation

Scalar subquery unnesting is a transformation technique that the MySQL optimizer uses to optimize queries involving scalar subqueries. Scalar subqueries return a single value. You typically use them in expressions or as part of the […]

No Picture
MySQL Performance

Tuning UNDO Operations in MySQL

In MySQL, undo operations are used to provide transactional consistency and to allow for rolling back changes made to the database during a transaction. Undo operations are implemented in the InnoDB storage engine, which is […]

No Picture
MySQL Performance

How can you reduce lock contention in MySQL?

Reducing lock contention in MySQL involves implementing various techniques and strategies that help minimize the occurrence of lock-related performance issues. Here are some of the ways to reduce lock contention in MySQL: By implementing these […]

No Picture
MySQL Performance

How invisible indexes in MySQL 8 work?

In MySQL 8, invisible indexes are a feature that allows you to create an index without it being used by the optimizer. This can be useful in situations where you want to test the impact […]

No Picture
MySQL Performance

Linear Trees in InnoDB

Introduction In InnoDB, a linear tree is a type of data structure used for indexing and searching data. Linear trees are also known as B+ trees. The key characteristic of a linear tree is that […]