FAQ系列 | InnoDB Monitor被自动打开

0、导读

InnoDB Monitor总是被自动打开,为何

1、问题

问题来自于我们课堂上的一位同学,她反应InnoDB Monitor总是被莫名其妙打开,启用了审计以及general log功能都找不到这个“鬼”,很是郁闷。

2、原因

其实,认真翻看MySQL手册的话,应该就能注意到下面这段话(在 15.21 InnoDB Troubleshooting 这部分):

InnoDB temporarily enables standard InnoDB Monitor output under the following conditions:

  • A long semaphore wait
  • InnoDB cannot find free blocks in the buffer pool
  • Over 67% of the buffer pool is occupied by lock heaps or the adaptive hash index

如果您也遇到相似的情况,赶紧去优化MySQL吧,下面这些资料可能用得上,自取不谢 :)

15.21 InnoDB Troubleshooting, http://dev.mysql.com/doc/refman/5.7/en/innodb-troubleshooting.html

比较全面的MySQL优化参考(上篇)

比较全面的MySQL优化参考(下篇)

20141024程序员节分享: 步到位实现MySQL优化

上一篇:苹果“开除”Facebook,原因是后者违反协议分发数据收集APP


下一篇:续用VB.net做RSS阅读器