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
MinervaDB

SQL/JSON patches committed to PostgreSQL 15!

That’s great news! PostgreSQL 15 brings new enhancements to handle JSON data more efficiently. Some of the SQL/JSON patches committed to PostgreSQL 15 include: These enhancements in PostgreSQL 15 further extend the capabilities of SQL/JSON […]

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

How to gather statistics of PostgreSQL only when stale?

In PostgreSQL, you can gather statistics only when they are stale by utilizing the pg_stat_statements extension and the track_activity_query_size configuration parameter. Here’s how you can achieve this: CREATE EXTENSION pg_stat_statements; 3. Query the pg_stat_statements View: […]