Tagged articles
60 articles
Page 1 of 1
Architecture & Thinking
Architecture & Thinking
Jan 19, 2026 · Databases

Why Transactions Matter: Mastering MySQL ACID and Isolation Levels

This article explains MySQL transaction fundamentals, illustrates a banking transfer scenario, details the ACID properties, explores dirty reads, non‑repeatable reads and phantom reads, and compares the four SQL‑92 isolation levels with practical code examples and InnoDB behavior.

ACIDInnoDBIsolation Levels
0 likes · 10 min read
Why Transactions Matter: Mastering MySQL ACID and Isolation Levels
Sohu Tech Products
Sohu Tech Products
Dec 3, 2025 · Databases

Why MySQL Uses MVCC: A Deep Dive into Concurrency, Isolation Levels, and Read Views

This article explains MySQL InnoDB’s MVCC mechanism, why it replaces traditional locking, details the four SQL isolation levels, illustrates dirty, non‑repeatable and phantom reads with examples, and breaks down the hidden fields, undo‑log chain, and read‑view algorithm that enable high‑concurrency, non‑blocking reads and writes.

Concurrency ControlInnoDBIsolation Levels
0 likes · 18 min read
Why MySQL Uses MVCC: A Deep Dive into Concurrency, Isolation Levels, and Read Views
Senior Brother's Insights
Senior Brother's Insights
Oct 31, 2025 · Databases

Master MySQL Transactions: ACID, Locks, and Practical Examples

This article explains what database transactions are, why they matter, details MySQL’s transaction commands, the ACID properties, isolation levels, lock types, MVCC, how to use InnoDB, handle errors, employ savepoints, and provides concrete SQL examples for creating, committing, rolling back, and managing transactions.

ACIDDatabase TransactionsError Handling
0 likes · 12 min read
Master MySQL Transactions: ACID, Locks, and Practical Examples
Xuanwu Backend Tech Stack
Xuanwu Backend Tech Stack
Oct 30, 2025 · Databases

Master MySQL Locks: From Basics to Advanced Optimizations

This article provides a comprehensive overview of MySQL's lock mechanisms, covering lock granularity, lock types, intention locks, record/gap/next‑key locks, their interaction with transaction isolation levels, two‑phase locking, deadlock handling, and practical optimization techniques for high‑concurrency applications.

Isolation Levelsconcurrencydeadlock
0 likes · 20 min read
Master MySQL Locks: From Basics to Advanced Optimizations
Su San Talks Tech
Su San Talks Tech
Jul 15, 2025 · Databases

Unlock MySQL Performance: 8 Lock Types, Deadlock Solutions, and Optimization Tips

This article explains MySQL's eight lock mechanisms, their purposes and classifications, demonstrates row‑level, gap, next‑key, table and metadata locks with code examples, discusses deadlock scenarios and detection, and provides practical monitoring and optimization strategies to improve concurrency and reliability.

Database OptimizationIsolation Levelsconcurrency
0 likes · 10 min read
Unlock MySQL Performance: 8 Lock Types, Deadlock Solutions, and Optimization Tips
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Nov 27, 2024 · Databases

Understanding MySQL Database Transactions: ACID Properties, Control Statements, and Isolation Levels

This article explains the concept and importance of MySQL database transactions, describes the ACID properties, shows how to use transaction control statements and savepoints, and demonstrates each isolation level (read uncommitted, read committed, repeatable read, serializable) with practical SQL examples.

ACIDDatabase TransactionsIsolation Levels
0 likes · 10 min read
Understanding MySQL Database Transactions: ACID Properties, Control Statements, and Isolation Levels
Architecture & Thinking
Architecture & Thinking
Nov 17, 2023 · Databases

Mastering MySQL Transactions: ACID, Isolation Levels, and Common Pitfalls

This article explains MySQL transaction fundamentals, the necessity of ACID properties, details the four isolation levels and their impact on phenomena like dirty reads, non‑repeatable reads, and phantom reads, and provides practical SQL examples and strategies for ensuring data consistency in high‑concurrency environments.

ACIDDatabase ConcurrencyInnoDB
0 likes · 15 min read
Mastering MySQL Transactions: ACID, Isolation Levels, and Common Pitfalls
政采云技术
政采云技术
Mar 28, 2023 · Databases

Understanding MVCC and Lock Mechanisms in MySQL

This article explains why MySQL uses MVCC, how undo‑log version chains and read views implement multi‑version concurrency control, and details the various lock types—including global, table, metadata, intention, row, gap, and next‑key locks—under different isolation levels with practical code examples.

InnoDBIsolation LevelsLocks
0 likes · 11 min read
Understanding MVCC and Lock Mechanisms in MySQL
ITPUB
ITPUB
Jan 26, 2023 · Databases

What Locks Does SELECT … FOR UPDATE Acquire Under Different Isolation Levels?

This article experimentally demonstrates how MySQL's SELECT … FOR UPDATE statement acquires various locks—IX, X, and gap locks—under RC (read‑committed) and RR (repeatable‑read) isolation levels with unique, primary, normal, and missing indexes, revealing when row‑level versus table‑level locking occurs.

Database ConcurrencyInnoDBIsolation Levels
0 likes · 16 min read
What Locks Does SELECT … FOR UPDATE Acquire Under Different Isolation Levels?
Wukong Talks Architecture
Wukong Talks Architecture
Jul 21, 2022 · Databases

Understanding MySQL MVCC Mechanism

This article explains MySQL's multi-version concurrency control (MVCC), describing how version chains, undo logs, and ReadView work together to implement isolation levels, prevent dirty reads, non‑repeatable reads, and phantom reads, and how RC and RR isolation differ in practice.

Database ConcurrencyIsolation LevelsMVCC
0 likes · 8 min read
Understanding MySQL MVCC Mechanism
Sanyou's Java Diary
Sanyou's Java Diary
Mar 5, 2022 · Databases

Unlock MySQL’s Secrets: Redo Log, Undo Log, Binlog & Transaction Mechanics

This article delves into MySQL’s internal logging mechanisms—redo log, undo log, and binlog—explaining their structures, purposes, and interactions, and then explores transaction concepts such as dirty reads/writes, non‑repeatable reads, phantom reads, isolation levels, and the MVCC implementation that ensures data consistency.

BinlogIsolation LevelsMVCC
0 likes · 11 min read
Unlock MySQL’s Secrets: Redo Log, Undo Log, Binlog & Transaction Mechanics
dbaplus Community
dbaplus Community
Feb 21, 2022 · Databases

Why Updating Non‑Indexed Columns Can Lock the Whole Table in MySQL

Through a series of MySQL 5.7.26 experiments the article reveals how record‑level locks are applied to primary‑key indexes when non‑indexed columns are locked, how isolation levels (READ COMMITTED vs REPEATABLE READ) change the locking order, and why both SELECT … FOR UPDATE and UPDATE statements can block other transactions.

InnoDBIsolation LevelsRecord Locks
0 likes · 14 min read
Why Updating Non‑Indexed Columns Can Lock the Whole Table in MySQL
政采云技术
政采云技术
Jan 20, 2022 · Databases

InnoDB MVCC: Concepts, Implementation, and Visibility Rules

This article explains InnoDB's Multi-Version Concurrency Control (MVCC) mechanism, detailing undo log, readview, hidden columns, visibility algorithms for RR and RC isolation levels, and includes source code snippets illustrating read view assignment and visibility checks.

Database InternalsInnoDBIsolation Levels
0 likes · 12 min read
InnoDB MVCC: Concepts, Implementation, and Visibility Rules
NiuNiu MaTe
NiuNiu MaTe
Oct 21, 2021 · Databases

Master MySQL ACID, Isolation Levels, Locks & Indexes – A Deep Dive

This article walks through MySQL's core concepts—including ACID guarantees, the four isolation levels, undo and redo logs, buffer pool flushing, lock types, gap locks, deadlock scenarios, and the B+‑tree based index architecture—providing interview‑ready insights and practical examples.

ACIDB+TreeDatabase Interview
0 likes · 12 min read
Master MySQL ACID, Isolation Levels, Locks & Indexes – A Deep Dive
Wukong Talks Architecture
Wukong Talks Architecture
Sep 17, 2021 · Databases

Understanding MySQL MVCC Mechanism and ReadView

This article explains MySQL's MVCC mechanism, detailing how multi-version concurrency control, undo logs, and ReadView work together to implement isolation levels, prevent dirty reads, non-repeatable reads, and phantom reads, and compares the behavior of Read Committed and Repeatable Read.

Isolation LevelsMVCCReadView
0 likes · 9 min read
Understanding MySQL MVCC Mechanism and ReadView
Java Interview Crash Guide
Java Interview Crash Guide
Aug 23, 2021 · Databases

Understanding MySQL Isolation Levels and MVCC: A Deep Dive

This article explains MySQL transaction isolation levels, the four concurrency problems (dirty write, dirty read, non‑repeatable read, phantom), how MVCC and version chains work, and the differences between READ COMMITTED and REPEATABLE READ using practical examples and diagrams.

Isolation LevelsMVCCRead View
0 likes · 10 min read
Understanding MySQL Isolation Levels and MVCC: A Deep Dive
Liangxu Linux
Liangxu Linux
Apr 26, 2021 · Databases

Master MySQL Internals: Query Cache, Indexes, Optimizer & Transaction Logs

This article explains MySQL's query cache settings, clustered and non‑clustered index design, optimizer cost calculations, how to interpret EXPLAIN output, and the roles of redo/undo logs and transaction isolation levels, providing practical examples and performance tips.

Isolation LevelsTransaction Logsindexes
0 likes · 23 min read
Master MySQL Internals: Query Cache, Indexes, Optimizer & Transaction Logs
Programmer DD
Programmer DD
Dec 19, 2020 · Databases

Master MySQL Locks: Isolation Levels, Types, and Deadlock Solutions

This article explains MySQL locking mechanisms, covering lock concepts, isolation level interactions, lock granularity (row, table, page), lock types (shared, exclusive, record, gap, next-key), InnoDB row‑lock implementation, deadlock causes and remedies, and the differences between optimistic and pessimistic locking.

Database ConcurrencyInnoDBIsolation Levels
0 likes · 10 min read
Master MySQL Locks: Isolation Levels, Types, and Deadlock Solutions
Senior Brother's Insights
Senior Brother's Insights
Dec 8, 2020 · Databases

How MySQL Locks DELETE and SELECT: MVCC, Isolation Levels & Lock Types

This article explains how MySQL's InnoDB engine applies row‑level locks for DELETE and SELECT statements under various index configurations and isolation levels, covering MVCC, snapshot vs current reads, two‑phase locking, gap and next‑key locks, and the impact of primary, unique, non‑unique, and missing indexes.

InnoDBIsolation LevelsMVCC
0 likes · 15 min read
How MySQL Locks DELETE and SELECT: MVCC, Isolation Levels & Lock Types
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Nov 10, 2020 · Databases

MySQL Transaction Concepts, Isolation Levels, MVCC, Storage Engines, Indexes, and Optimization Techniques

This article provides a comprehensive overview of MySQL fundamentals, covering transaction properties and isolation levels, MVCC mechanics, differences between InnoDB and MyISAM, query execution flow, redo and binlog, index structures, common pitfalls, and practical optimization and scaling strategies.

Isolation LevelsMVCCTransactions
0 likes · 29 min read
MySQL Transaction Concepts, Isolation Levels, MVCC, Storage Engines, Indexes, and Optimization Techniques
Selected Java Interview Questions
Selected Java Interview Questions
Sep 16, 2020 · Databases

In‑Depth Analysis of MySQL/InnoDB Locking Mechanisms

This article provides a comprehensive examination of MySQL/InnoDB locking, covering MVCC, snapshot vs. current reads, cluster indexes, two‑phase locking, isolation levels, detailed lock‑behaviour for various index and isolation combinations, complex query lock analysis, and deadlock detection techniques.

InnoDBIsolation LevelsMVCC
0 likes · 23 min read
In‑Depth Analysis of MySQL/InnoDB Locking Mechanisms
ITPUB
ITPUB
Mar 5, 2020 · Databases

Master MySQL: Transactions, Indexes, Storage Engines, and Performance Optimization

This comprehensive guide explains MySQL fundamentals, transaction handling, ACID properties, isolation levels, indexing strategies, storage engine differences, lock mechanisms, optimistic vs pessimistic locking, and techniques for optimizing large tables in production environments.

Isolation LevelsPerformance OptimizationStorage Engines
0 likes · 22 min read
Master MySQL: Transactions, Indexes, Storage Engines, and Performance Optimization
Java Backend Technology
Java Backend Technology
Feb 26, 2020 · Databases

How Does MySQL Lock Rows for DELETE? A Deep Dive into MVCC and Isolation Levels

This article explains how MySQL's InnoDB engine applies locks for DELETE and SELECT statements, covering MVCC, snapshot and current reads, clustered indexes, left‑most prefix rules, two‑phase locking, isolation levels, gap and next‑key locks, and analyzes nine different index‑and‑isolation scenarios with detailed conclusions.

InnoDBIsolation LevelsMVCC
0 likes · 16 min read
How Does MySQL Lock Rows for DELETE? A Deep Dive into MVCC and Isolation Levels
Liangxu Linux
Liangxu Linux
Feb 18, 2020 · Databases

Master MySQL Transactions, Indexes, and Locking: From ACID to Large‑Table Optimization

This guide explains MySQL fundamentals—including what a database is, transaction concepts and ACID properties, isolation levels and their effects, index structures and the left‑most prefix rule, storage engine differences, lock algorithms, and practical techniques for optimizing large tables such as partitioning and sharding.

Isolation LevelsPerformance OptimizationTransactions
0 likes · 23 min read
Master MySQL Transactions, Indexes, and Locking: From ACID to Large‑Table Optimization
Programmer DD
Programmer DD
Dec 25, 2019 · Databases

How MySQL Locks DELETE Rows: MVCC, Isolation Levels, and Index Types Explained

This article analyzes how MySQL/InnoDB applies row-level locks for DELETE and SELECT statements under various index configurations and isolation levels, explaining MVCC, current vs. snapshot reads, two‑phase locking, gap and next‑key locks, and the impact of primary, unique, non‑unique, and missing indexes.

InnoDBIsolation LevelsMVCC
0 likes · 15 min read
How MySQL Locks DELETE Rows: MVCC, Isolation Levels, and Index Types Explained
ITPUB
ITPUB
Oct 23, 2019 · Databases

Master MySQL Locks and Transactions: A Deep Dive into Concurrency Control

This article systematically explains MySQL's logical server architecture, the various lock types (shared, exclusive, intention, record, gap, next‑key, insert‑intention, AUTO‑INC), transaction fundamentals, isolation levels, MVCC mechanics, and practical deadlock detection and avoidance techniques, complete with real‑world SQL examples.

Isolation LevelsLocksMVCC
0 likes · 23 min read
Master MySQL Locks and Transactions: A Deep Dive into Concurrency Control
dbaplus Community
dbaplus Community
Jul 7, 2019 · Databases

Master MySQL Locking: Table vs Row Locks, InnoDB Algorithms & Transaction Isolation

This article explains MySQL's locking mechanisms, comparing table‑level and row‑level locks, detailing InnoDB lock types such as shared, exclusive and intention locks, describing lock algorithms like record, gap, next‑key and insert‑intention locks, and covering lock‑related issues, transaction isolation levels, autocommit behavior, and group commit optimization.

Group CommitInnoDBIsolation Levels
0 likes · 43 min read
Master MySQL Locking: Table vs Row Locks, InnoDB Algorithms & Transaction Isolation
vivo Internet Technology
vivo Internet Technology
Mar 2, 2019 · Databases

MySQL Locks, Transactions, and Concurrency Control Overview

The article systematically explains MySQL’s locking mechanisms—including shared, exclusive, intention, gap, next‑key, insert‑intention, and auto‑increment locks—alongside transaction handling, isolation levels, MVCC‑based concurrency control, and deadlock detection and avoidance strategies, helping readers understand data consistency and performance.

Concurrency ControlIsolation LevelsLocks
0 likes · 23 min read
MySQL Locks, Transactions, and Concurrency Control Overview
Qunar Tech Salon
Qunar Tech Salon
Mar 13, 2016 · Databases

Introduction to InnoDB Transaction Lock System

This article provides a comprehensive overview of MySQL InnoDB's transaction lock system, covering row‑level and table‑level lock types, their flags, isolation‑level behavior, deadlock detection, and illustrative examples with SQL and source‑code snippets.

InnoDBIsolation LevelsLock Types
0 likes · 28 min read
Introduction to InnoDB Transaction Lock System
Architect
Architect
Oct 31, 2015 · Databases

MySQL High‑Performance Architecture and Optimization Techniques

This article provides a comprehensive guide to MySQL performance optimization, covering isolation levels, MVCC, schema design, index strategies, query execution, partitioning, replication, scaling, hardware considerations, and backup/recovery techniques for building high‑performance, reliable database systems.

BackupIsolation LevelsReplication
0 likes · 22 min read
MySQL High‑Performance Architecture and Optimization Techniques