FAQ系列 | InnoDB Monitor被自动打开

    xiaoxiao2021-04-16  231

    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优化

    文章转自老叶茶馆公众号,原文链接:https://mp.weixin.qq.com/s/ySKUGqv0hxKn8Wlp_eroGA

    相关资源:七夕情人节表白HTML源码(两款)

    最新回复(0)