Ch 15: Case Study: Record Level Locks

The Symptoms

Query Analysis in MySQL Enterprise Monitor.

sys.innodb_lock_waits

The Cause

The Investigation

For MySQL 8+

The Solution

Be wary of killing transaction as rollbacks have a large impacts.

The Prevention

READ COMMITTED