Tagged articles
4 articles
Page 1 of 1
Cognitive Technology Team
Cognitive Technology Team
May 8, 2024 · Databases

Introduction to InnoDB Transaction Lock System in MySQL

This article provides a comprehensive overview of InnoDB's transaction lock subsystem in MySQL, explaining row‑level and table‑level lock types, their internal implementations, lock‑compatibility rules, practical SQL examples, and common deadlock scenarios with detailed code illustrations.

InnoDBRow-Level LockingTable-level Locking
0 likes · 29 min read
Introduction to InnoDB Transaction Lock System in MySQL
dbaplus Community
dbaplus Community
Jan 8, 2023 · Databases

Mastering MySQL Row‑Level Locks: Rules, Types, and How to Inspect Them

This article explains how InnoDB implements row‑level locking in MySQL, detailing the lock types (record, gap, next‑key), the scenarios that trigger each lock, how unique and non‑unique indexes affect locking, and provides step‑by‑step commands and examples for analyzing locks with performance_schema.

Database ConcurrencyInnoDBLock Types
0 likes · 45 min read
Mastering MySQL Row‑Level Locks: Rules, Types, and How to Inspect Them
Java High-Performance Architecture
Java High-Performance Architecture
Aug 3, 2015 · Databases

Boost MySQL Performance: When InnoDB Beats MyISAM and How to Avoid Common Pitfalls

While InnoDB’s row‑level locking generally outperforms MyISAM’s table‑level locking under high concurrency, misuse can negate its advantages; this guide explains why indexing, precise lock scopes, minimal range queries, smaller transactions, and lower isolation levels are essential for optimal InnoDB performance.

InnoDBPerformance OptimizationRow-Level Locking
0 likes · 2 min read
Boost MySQL Performance: When InnoDB Beats MyISAM and How to Avoid Common Pitfalls