MySQL Transactions, Isolation Levels, Concurrency Challenges, and MVCC Explained
Transactions
1.1 Transaction Basics
A transaction is a sequence of operations defined by the user in a concurrent connection scenario. It functions as an indivisible unit: either all operations execute successfully, or none do. In MySQL, transactions group multiple SQL statements to run as a single logical batch.
Purpose: Transactions transiti ...
Posted on Wed, 26 Aug 2026 16:01:08 +0000 by savingc
Database Transactions and Concurrency: ACID Properties and Isolation Levels
1. Introduction to Transactions
A transaction is a set of operations that are treated as a single unit. All operations in a transaction are either committed or rolled back together. By default, each SQL statement is an automatic transaction.
2. Transaction Operations
-- 1. Check Alice's account balance
SELECT * FROM account WHERE name = 'Alice' ...
Posted on Tue, 09 Jun 2026 17:38:10 +0000 by Jona