No Picture
InnoDB

How Process Global Area is managed in InnoDB?

  InnoDB: Management of the Process Global Area (PGA) In InnoDB, the Process Global Area (PGA) manages per-connection memory and data structures for each client connection, including query execution buffers, sort buffers, and join buffers. […]

No Picture
MinervaDB

Understanding cursor implementation in MySQL

In MySQL, a cursor is a database object that allows you to retrieve and manipulate data row by row. It provides a mechanism for iterative processing of query results. Cursors are often used when you […]

No Picture
InnoDB

Reading and Writing Blocks in InnoDB

InnoDB, the default storage engine in MySQL, uses a buffer pool to manage the reading and writing of data blocks. The buffer pool is a cache that holds frequently accessed data pages in memory, reducing […]

No Picture
InnoDB

Streaming versus blocking operators in MySQL

In MySQL, operators in a query execution plan can be classified as streaming or blocking based on how they process and propagate rows during query execution. Let’s explore the differences between streaming and blocking operators […]

No Picture
MinervaDB

MySQL Scalar Subquery Unnesting transformation

Scalar subquery unnesting is a transformation technique used by the MySQL optimizer to optimize queries that involve scalar subqueries. Scalar subqueries are subqueries that return a single value, typically used in expressions or as part […]

No Picture
MinervaDB

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