Tag

lock_wait_timeout

0 views collected around this technical thread.

Aikesheng Open Source Community
Aikesheng Open Source Community
Jul 10, 2024 · Databases

Understanding InnoDB Lock‑Wait Timeout Thread and Its Processing Logic

This article explains the inner workings of InnoDB’s lock‑wait timeout thread, detailing how it scans waiting slots, identifies timed‑out transactions, processes timeout logic, and notifies the affected transactions, while also covering related data structures and configuration variables.

Database InternalsInnoDBMySQL
0 likes · 8 min read
Understanding InnoDB Lock‑Wait Timeout Thread and Its Processing Logic
Aikesheng Open Source Community
Aikesheng Open Source Community
Nov 15, 2022 · Databases

Resolving MySQL InnoDB Lock Wait Timeout for Batch Inserts

This article analyzes a MySQL InnoDB lock wait timeout caused by batch INSERT operations, examines configuration parameters and slow‑query diagnostics, and presents a rewritten SQL solution that reduces execution time from over 100 seconds to under one second.

Derived TablesInnoDBMySQL
0 likes · 7 min read
Resolving MySQL InnoDB Lock Wait Timeout for Batch Inserts
Aikesheng Open Source Community
Aikesheng Open Source Community
Oct 29, 2021 · Databases

Impact of Adjusting System Time on MySQL Runtime Behavior

The article investigates how changing the operating system clock while MySQL is running influences functions such as SLEEP, metadata lock (MDL) wait calculations, and other timing‑related mechanisms, demonstrating that forward or backward adjustments can cause premature exits or inaccurate wait measurements.

Database PerformanceMySQLlock_wait_timeout
0 likes · 4 min read
Impact of Adjusting System Time on MySQL Runtime Behavior
Selected Java Interview Questions
Selected Java Interview Questions
Jan 6, 2021 · Databases

Using SHOW FULL PROCESSLIST to Diagnose and Resolve MySQL Table Locks

This article explains how to use MySQL's SHOW FULL PROCESSLIST command, interpret its output, kill problematic threads, and address metadata lock issues by inspecting InnoDB transactions and adjusting lock_wait_timeout, providing practical code examples for database administrators.

Database TroubleshootingInnoDBMySQL
0 likes · 8 min read
Using SHOW FULL PROCESSLIST to Diagnose and Resolve MySQL Table Locks
Aikesheng Open Source Community
Aikesheng Open Source Community
Apr 21, 2020 · Databases

Diagnosing and Resolving MySQL InnoDB Row Lock Wait Timeout Errors

This article explains the causes of MySQL InnoDB row lock wait timeout errors, distinguishes row and metadata lock waits, and provides practical methods—including manual replication, monitoring scripts, general_log analysis, and Performance Schema queries—to locate, diagnose, and resolve such locking issues.

Database TroubleshootingInnoDBMySQL
0 likes · 18 min read
Diagnosing and Resolving MySQL InnoDB Row Lock Wait Timeout Errors
Qunar Tech Salon
Qunar Tech Salon
Dec 20, 2017 · Databases

Diagnosing and Resolving MySQL InnoDB Deadlocks and Lock‑Wait Timeouts in Data‑Warehouse Workloads

This article explains how to quickly locate and fix online MySQL problems such as partial update failures, InnoDB deadlocks, and lock‑wait timeouts by analyzing server logs, understanding InnoDB row‑lock behavior, optimizing indexes, adjusting transaction settings, and using a custom log‑collection script.

Database PerformanceIndex OptimizationInnoDB
0 likes · 19 min read
Diagnosing and Resolving MySQL InnoDB Deadlocks and Lock‑Wait Timeouts in Data‑Warehouse Workloads