MySQL Performance Schema instrumentation that records what a thread is waiting for — a row lock, an I/O operation, a mutex, or a condition variable. Analysing wait events is one of the most precise ways to identify the true bottleneck in a slow MySQL server.