Runbook

MySQL InnoDB log waits incident.

Back to Runbooks

Overview

This incident type refers to an issue where MySQL InnoDB log writes are stalling. It may result in poor database performance, slow queries, and even server crashes in severe cases. The incident can be triggered by various factors such as high server load, large transaction logs, and insufficient disk space. It requires immediate attention and resolution to prevent any further impact on the system.

Parameters

Debug

Check MySQL status

Check disk usage

Check InnoDB status

Check InnoDB log file size

Check for slow queries

Check for errors in MySQL log file

Check MySQL connections

Check server load

Repair

Set the <buffer_size> parameter to the desired size in bytes

Set the <my.cnf> file path to the MySQL configuration file

Find the transaction log buffer section in the configuration file

If the buffer section is found, update the buffer size

Tune the server settings to allocate more resources to the database and reduce contention for system resources.

Learn more

Related Runbooks

Check out these related runbooks to help you debug and resolve similar issues.