Aikesheng Open Source Community
May 22, 2023 · Databases
Root Cause Analysis of MySQL InnoDB Thread Concurrency Blocking and Nanosleep Behavior
The article investigates a MySQL 8.0 instance where many sessions were stuck in the executing state, analyzes InnoDB thread‑concurrency settings, stack traces and source code to reveal that exhausted InnoDB tickets caused nanosleep‑based blocking, and proposes configuration and SQL‑optimisation solutions.
InnoDBSQLdatabase
0 likes · 11 min read
