Tag

Isolation Level

0 views collected around this technical thread.

Java Captain
Java Captain
May 25, 2025 · Databases

Database Transactions: ACID Properties, Isolation Levels, and Usage in MySQL

This article provides a comprehensive overview of database transactions, explaining ACID properties, transaction states, explicit and implicit transaction control, isolation levels, and how to configure and use them in MySQL with practical SQL examples and code snippets.

ACIDDatabaseIsolation Level
0 likes · 22 min read
Database Transactions: ACID Properties, Isolation Levels, and Usage in MySQL
JD Retail Technology
JD Retail Technology
Sep 21, 2023 · Databases

Analysis of InnoDB Deadlock in Pre‑Production Inventory Updates and Locking Mechanisms

The article examines a MySQL InnoDB deadlock that occurs when concurrent inventory‑write transactions in a pre‑release environment contend for row and gap locks, explains InnoDB lock types, isolation‑level effects, and proposes solutions such as distributed locks and isolation level adjustments.

Distributed LockInnoDBIsolation Level
0 likes · 13 min read
Analysis of InnoDB Deadlock in Pre‑Production Inventory Updates and Locking Mechanisms
政采云技术
政采云技术
Feb 21, 2023 · Databases

Understanding Next-Key Lock Deadlocks in MySQL and How to Avoid Them

This article examines how common business operations using SELECT ... FOR UPDATE and INSERT can cause Next‑Key lock deadlocks in MySQL under repeatable‑read isolation, demonstrates the locking behavior with practical SQL examples, and proposes strategies such as post‑locking and primary‑key updates to prevent such deadlocks.

DatabaseIsolation LevelMySQL
0 likes · 14 min read
Understanding Next-Key Lock Deadlocks in MySQL and How to Avoid Them
Architects Research Society
Architects Research Society
Jan 8, 2022 · Databases

Understanding Database Isolation Levels and Dirty Reads

This article explains database isolation levels, including read committed, repeatable read, serializable, and snapshot isolation, discusses dirty reads, phantom reads, and how various systems such as SQL Server, PostgreSQL, MySQL, Oracle, MongoDB, and others implement or differ in these isolation semantics.

DatabaseDirty ReadIsolation Level
0 likes · 19 min read
Understanding Database Isolation Levels and Dirty Reads
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Oct 9, 2021 · Databases

Understanding MySQL Transaction Internals: MVCC, Isolation Levels, and Concurrency Control

This article explains how MySQL handles concurrent transactions using MVCC, lock mechanisms, and various isolation levels, detailing dirty writes, dirty reads, non‑repeatable reads, phantom reads, and the internal structures such as ReadView that enable reliable data consistency.

DatabaseIsolation LevelMVCC
0 likes · 16 min read
Understanding MySQL Transaction Internals: MVCC, Isolation Levels, and Concurrency Control
Aikesheng Open Source Community
Aikesheng Open Source Community
Aug 20, 2021 · Databases

Understanding Phantom Reads and Isolation Levels in ANSI SQL and MySQL

This article explains the concept of phantom reads, distinguishes them from non‑repeatable reads, critiques the ANSI SQL isolation‑level definitions, and shows how MySQL implements repeatable‑read using locks and MVCC to prevent both strict and loosely defined phantom anomalies.

ANSI SQLIsolation LevelMySQL
0 likes · 14 min read
Understanding Phantom Reads and Isolation Levels in ANSI SQL and MySQL
Aikesheng Open Source Community
Aikesheng Open Source Community
Jun 8, 2021 · Databases

Understanding Table Locks in MySQL When Using INSERT INTO SELECT and the Impact of Isolation Levels

The article explains why an INSERT INTO SELECT statement can lock an entire InnoDB table in MySQL, demonstrates the lock behavior with transaction examples, and offers two solutions—adding an index on the filtered column and adjusting the transaction isolation level—to avoid table‑wide blocking.

INSERT SELECTInnoDBIsolation Level
0 likes · 13 min read
Understanding Table Locks in MySQL When Using INSERT INTO SELECT and the Impact of Isolation Levels
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jun 2, 2021 · Databases

Understanding Database Transaction Isolation Levels and MySQL Experiments

This article explains the concept of database transactions, the ACID properties, MySQL's four isolation levels, the phenomena they cause such as dirty reads, non‑repeatable reads and phantom reads, and provides step‑by‑step experiments demonstrating each isolation level in practice.

ACIDDatabaseIsolation Level
0 likes · 10 min read
Understanding Database Transaction Isolation Levels and MySQL Experiments
Architects Research Society
Architects Research Society
May 27, 2021 · Databases

Understanding Database Isolation Levels and Dirty Reads

This article explains the concepts of isolation levels, dirty reads, phantom rows, and how various relational and NoSQL databases implement these phenomena, providing practical guidance on choosing the appropriate isolation level to ensure data consistency and performance.

DatabaseDirty ReadIsolation Level
0 likes · 19 min read
Understanding Database Isolation Levels and Dirty Reads
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Nov 27, 2020 · Backend Development

Understanding Transaction Isolation Levels and Propagation Behaviors in Spring

This article explains how to configure Spring transaction isolation levels and propagation behaviors, illustrates the effects of dirty read, non‑repeatable read, and phantom read with examples, and provides practical code solutions for handling rollback of failed sub‑tasks and self‑invocation issues.

BackendIsolation LevelJava
0 likes · 9 min read
Understanding Transaction Isolation Levels and Propagation Behaviors in Spring
Selected Java Interview Questions
Selected Java Interview Questions
Sep 27, 2020 · Databases

Understanding How MySQL InnoDB Solves Phantom Reads

This article explains the four transaction isolation levels, defines phantom reads, and details how MySQL's InnoDB engine uses MVCC snapshot reads and next‑key locking (including the next‑key principle and lock composition) to prevent phantom reads under the REPEATABLE READ isolation level.

InnoDBIsolation LevelMVCC
0 likes · 2 min read
Understanding How MySQL InnoDB Solves Phantom Reads
Architects Research Society
Architects Research Society
Jun 2, 2020 · Databases

Understanding Database Isolation Levels and Dirty Reads

This article explains the concepts of isolation levels, dirty reads, and phantom reads across various relational and NoSQL databases, describing how each system implements or lacks transaction isolation and the practical impact on data consistency and performance.

DatabaseDirty ReadIsolation Level
0 likes · 17 min read
Understanding Database Isolation Levels and Dirty Reads
Aikesheng Open Source Community
Aikesheng Open Source Community
Feb 28, 2019 · Databases

Performance Analysis of DBLE vs MyCat: Identifying Sorting and Isolation Level Issues

A detailed case study investigates why DBLE middleware achieves only about 70% of MyCat's performance, revealing that excessive sorting CPU usage, a cmp‑function inefficiency, and a delete‑loop bug under REPEATABLE_READ isolation cause the slowdown, and demonstrates how adjusting isolation levels and fixing the cmp implementation restores expected performance.

DBLEDatabase MiddlewareIsolation Level
0 likes · 10 min read
Performance Analysis of DBLE vs MyCat: Identifying Sorting and Isolation Level Issues
JD Tech
JD Tech
Feb 22, 2019 · Databases

Issues When Using Transactions with Database Read/Write Splitting

This article examines the challenges of using transactions with database read/write splitting, including potential master‑slave switching errors, connection‑pool deadlocks caused by isolation levels and propagation, and presents Spring‑based dynamic data source and transaction management solutions.

DatabaseDynamic Data SourceIsolation Level
0 likes · 6 min read
Issues When Using Transactions with Database Read/Write Splitting
Hujiang Technology
Hujiang Technology
Sep 18, 2017 · Databases

Understanding the NOLOCK Hint in SQL Server and Its MySQL Equivalent

This article explains what the NOLOCK hint does in SQL Server, why it is used, how it relates to transaction isolation levels, presents practical tests, discusses the relevance of NOLOCK after newer SQL Server versions, and shows why MySQL does not need an equivalent hint, offering guidance on when to apply it.

Isolation LevelMySQLNOLOCK
0 likes · 17 min read
Understanding the NOLOCK Hint in SQL Server and Its MySQL Equivalent
Qunar Tech Salon
Qunar Tech Salon
Jun 2, 2016 · Backend Development

Understanding Spring Declarative Transaction Propagation and Isolation Levels

This article explains Spring's declarative transaction mechanism, detailing transaction attributes such as propagation behavior, isolation levels, timeout and read‑only flags, and illustrates each propagation type with Java code examples to show how transactions are started, joined, suspended, or nested.

BackendIsolation LevelJava
0 likes · 11 min read
Understanding Spring Declarative Transaction Propagation and Isolation Levels