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

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