MySQL Architecture, Concurrency & Performance Tuning

Server Layers and Storage Engines MySQL is split into three logical layers: Connection & Authentication – handles client hand-shake, privilege checks, SSL, thread pooling. SQL Layer – parses, optimizes, rewrites and executes statements. All built-in functions, views, triggers, stored procedures live here. The query cache was removed in 8.0 ...

Posted on Fri, 05 Jun 2026 17:46:48 +0000 by Jas

Optimizing High-Volume Data Deletion and Recovery Strategies in PostgreSQL

High-Volume Removal Bottlenecks Executing mass deletions in PostgreSQL introduces significant operational friction. Traditional single-statement removal triggers massive Write-Ahead Log (WAL) generation, prolongs transaction durations, and accumulates Multi-Version Concurrency Control (MVCC) dead tuples. These factors compound into table bloat, ...

Posted on Mon, 25 May 2026 20:52:28 +0000 by mospeed

Understanding Transaction Isolation Levels in MySQL

InnoDB serves as MySQL's default storage engine and supports full transaction capabilities. Every operation runs within a transaction context; explicit BEGIN or START TRANSACTION statements start user-defined transactions, while implicit ones are created automatically for individual statements when not explicitly managed. MySQL defines four tra ...

Posted on Fri, 22 May 2026 18:44:53 +0000 by ash4u

Understanding Transaction Isolation and MVCC in MySQL

When discussing database transactions, ACID properties (Atomicity, Consistency, Isolation, Durability) are fundamental. This exploration focuses on the 'I' – Isolation. Concurrent transaction execution can lead to issues like dirty reads, non-repeatable reads, and phantom reads. Transaction isolation levels are designed to mitigate these proble ...

Posted on Sat, 16 May 2026 13:26:59 +0000 by carsonk

Deep Dive into MySQL: MVCC, Logs, Replication, and Backup

Multi-Version Concurrency Control (MVCC) 1. What is MVCC? MVCC stands for Multi-Version Concurrency Control. It allows concurrency control by managing multiple versions of data rows. This technology makes consistent reads possible under InnoDB transaction isolation levels. It allows reading rows that are being updated by another transaction, se ...

Posted on Fri, 08 May 2026 01:45:33 +0000 by TheDumbNerd

Understanding MySQL MVCC: Implementation and Performance Tuning

Understanding MySQL MVCC: Implementation and Performance Tuning Core Concepts Version Chain Mechanism MVCC enables InnoDB to maintain multiple versions of the same row data. Each modification creates a new version while preserving historical states through a linked structure. Undo Log Chain: When a row gets updated, InnoDB stores the previous ...

Posted on Thu, 07 May 2026 15:29:12 +0000 by Stephen