We had a couple of cases where clients reported that the MySQL error log was flooded with the below note:
2023-01-18T13:07:56.946323Z 2 [Note] InnoDB: Stopping purge 2023-01-18T13:07:56.948621Z 2 [Note] InnoDB: Resuming purge 2023-01-18T13:08:27.229703Z 2 [Note] InnoDB: Stopping purge 2023-01-18T13:08:27.231552Z 2 [Note] InnoDB: Resuming purge 2023-01-18T13:08:28.581674Z 2 [Note] InnoDB: Stopping purge
One of my colleagues Sami Ahlroos found that whenever we trigger a truncate on any table, the function is stopping the purge and then resuming it once it has found it stopped.
Below are the steps to reproduce.
- Log verbosity needs to be set to 3 (the default value)
mysql> show variables like 'log_error_verbosity%'; +---------------------+-------+ | Variable_name | Value | +---------------------+-------+ | …[Read more]