InnoDB Monitor总是被自动打开,为何
问题来自于我们课堂上的一位同学,她反应InnoDB Monitor总是被莫名其妙打开,启用了审计以及general log功能都找不到这个“鬼”,很是郁闷。
其实,认真翻看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优化
老叶茶馆自营传统正味铁观音,自饮或馈赠均可,欢迎下单购买,有需要的识别下方二维码或访问 http://yejinrong.com 直达
赞赏
人赞赏