在mysqld.log中看到这个注释:
[Note] InnoDB: page_cleaner: 1000ms intended loop took 15888ms. The settings might not be optimal. (flushed=200 and evicted=0, during the time.)
Run Code Online (Sandbox Code Playgroud)
这里似乎提到了这样的事情: MySQL 实例停滞“做 SYNC 索引”
我的问题是:当在日志中看到此注释时,应该采取什么措施(如果有)?
MySQL 和操作系统版本:
mysql-community-server- 5.7.9 -1.el7.x86_64
centos-release-7-1.1503.el7.centos.2.8.x86_64
运行SHOW VARIABLES LIKE 'innodb%'; 如建议所示:
innodb_page_cleaners | 1
Run Code Online (Sandbox Code Playgroud)