FAQ系列 | InnoDB Monitor被自动打开

简介: 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优化

            </div><div class="article-inner" id="lark-content"><div class="lake-content-editor-core lake-engine lake-typography-traditional"><h1 style="text-align:justify;padding:7px 0px;margin:0px;font-weight:700;font-size:28px;line-height:36px">0、导读</h1><blockquote style="text-align:justify;margin-top:5px;margin-bottom:5px;padding-left:1em;margin-left:0px;border-left-width:3px;border-left-style:solid;border-left-color:rgb( 238 , 238 , 238 )"><p style="font-size:14px;color:rgb( 38 , 38 , 38 );line-height:1.74;letter-spacing:0.05em;outline-style:none;margin:0px">InnoDB Monitor总是被自动打开&#xff0c;为何</p></blockquote><h1 style="text-align:justify;padding:7px 0px;margin:0px;font-weight:700;font-size:28px;line-height:36px">1、问题</h1><p style="text-align:justify;font-size:14px;color:rgb( 38 , 38 , 38 );line-height:1.74;letter-spacing:0.05em;outline-style:none;margin:0px">问题来自于我们课堂上的一位同学&#xff0c;她反应InnoDB Monitor总是被莫名其妙打开&#xff0c;启用了审计以及general log功能都找不到这个“鬼”&#xff0c;很是郁闷。</p><h1 style="text-align:justify;padding:7px 0px;margin:0px;font-weight:700;font-size:28px;line-height:36px">2、原因</h1><p style="text-align:justify;font-size:14px;color:rgb( 38 , 38 , 38 );line-height:1.74;letter-spacing:0.05em;outline-style:none;margin:0px">其实&#xff0c;认真翻看MySQL手册的话&#xff0c;应该就能注意到下面这段话&#xff08;在 15.21 InnoDB Troubleshooting 这部分&#xff09;&#xff1a;</p><p style="text-align:justify;font-size:14px;color:rgb( 38 , 38 , 38 );line-height:1.74;letter-spacing:0.05em;outline-style:none;margin:0px"><code style="font-family:monospace;font-size:inherit;background-color:rgba( 0 , 0 , 0 , 0.0588235 );padding:0px 2px;border:1px solid rgba( 0 , 0 , 0 , 0.0784314 );border-top-left-radius:2px;border-top-right-radius:2px;border-bottom-right-radius:2px;border-bottom-left-radius:2px;line-height:inherit;text-indent:0px">InnoDB</code> temporarily enables standard <code style="font-family:monospace;font-size:inherit;background-color:rgba( 0 , 0 , 0 , 0.0588235 );padding:0px 2px;border:1px solid rgba( 0 , 0 , 0 , 0.0784314 );border-top-left-radius:2px;border-top-right-radius:2px;border-bottom-right-radius:2px;border-bottom-left-radius:2px;line-height:inherit;text-indent:0px">InnoDB</code> Monitor output under the following conditions:</p><ul style="text-align:justify;list-style-type:disc;margin:0px;padding-left:23px;font-size:14px;color:rgb( 38 , 38 , 38 );line-height:1.74;letter-spacing:0.05em;outline-style:none"><li>A long semaphore wait<br /></li><li><code style="font-family:monospace;font-size:inherit;background-color:rgba( 0 , 0 , 0 , 0.0588235 );padding:0px 2px;border:1px solid rgba( 0 , 0 , 0 , 0.0784314 );border-top-left-radius:2px;border-top-right-radius:2px;border-bottom-right-radius:2px;border-bottom-left-radius:2px;line-height:inherit;text-indent:0px">InnoDB</code> cannot find free blocks in the buffer pool<br /></li><li>Over 67% of the buffer pool is occupied by lock heaps or the adaptive hash index<br /></li></ul><p style="text-align:justify;font-size:14px;color:rgb( 38 , 38 , 38 );line-height:1.74;letter-spacing:0.05em;outline-style:none;margin:0px">如果您也遇到相似的情况&#xff0c;赶紧去优化MySQL吧&#xff0c;下面这些资料可能用得上&#xff0c;自取不谢 &#xff1a;&#xff09;</p><p style="text-align:justify;font-size:14px;color:rgb( 38 , 38 , 38 );line-height:1.74;letter-spacing:0.05em;outline-style:none;margin:0px"><span style="color:rgb( 62 , 62 , 62 );font-size:19px" class="lake-fontsize-14">15.21 InnoDB Troubleshooting&#xff0c; </span><u><a href="http://dev.mysql.com/doc/refman/5.7/en/innodb-troubleshooting.html" target="_blank" rel="noopener noreferrer">http://dev.mysql.com/doc/refman/5.7/en/innodb-troubleshooting.html</a></u></p><p style="text-align:justify;font-size:14px;color:rgb( 38 , 38 , 38 );line-height:1.74;letter-spacing:0.05em;outline-style:none;margin:0px"><a href="http://mp.weixin.qq.com/s?__biz&#61;MjM5NzAzMTY4NQ&#61;&#61;&amp;mid&#61;205830212&amp;idx&#61;1&amp;sn&#61;c018f0903454b34196081bb79c244be5&amp;scene&#61;21#wechat_redirect" target="_blank" rel="noopener noreferrer">比较全面的MySQL优化参考&#xff08;上篇&#xff09;</a></p><p style="text-align:justify;font-size:14px;color:rgb( 38 , 38 , 38 );line-height:1.74;letter-spacing:0.05em;outline-style:none;margin:0px"><a href="http://mp.weixin.qq.com/s?__biz&#61;MjM5NzAzMTY4NQ&#61;&#61;&amp;mid&#61;205830212&amp;idx&#61;2&amp;sn&#61;ee2162050162a32bd29802b001386abe&amp;scene&#61;21#wechat_redirect" target="_blank" rel="noopener noreferrer">比较全面的MySQL优化参考&#xff08;下篇&#xff09;</a></p><p style="text-align:justify;font-size:14px;color:rgb( 38 , 38 , 38 );line-height:1.74;letter-spacing:0.05em;outline-style:none;margin:0px"><a href="http://mp.weixin.qq.com/s?__biz&#61;MjM5NzAzMTY4NQ&#61;&#61;&amp;mid&#61;200809436&amp;idx&#61;1&amp;sn&#61;91304b670535a702cf52ff3c0d5d40b4&amp;scene&#61;21#wechat_redirect" target="_blank" rel="noopener noreferrer">20141024程序员节分享&#xff1a; 步到位实现MySQL优化</a></p></div></div>
            </div>
相关实践学习
每个IT人都想学的“Web应用上云经典架构”实战
本实验从Web应用上云这个最基本的、最普遍的需求出发,帮助IT从业者们通过“阿里云Web应用上云解决方案”,了解一个企业级Web应用上云的常见架构,了解如何构建一个高可用、可扩展的企业级应用架构。
MySQL数据库入门学习
本课程通过最流行的开源数据库MySQL带你了解数据库的世界。 &nbsp; 相关的阿里云产品:云数据库RDS MySQL 版 阿里云关系型数据库RDS(Relational Database Service)是一种稳定可靠、可弹性伸缩的在线数据库服务,提供容灾、备份、恢复、迁移等方面的全套解决方案,彻底解决数据库运维的烦恼。 了解产品详情:&nbsp;https://www.aliyun.com/product/rds/mysql&nbsp;
相关文章
|
人工智能 前端开发 Linux
Python编程:利用ImageMagick转换PDF为图片并识别提取图表
Python编程:利用ImageMagick转换PDF为图片并识别提取图表
701 0
|
存储 Linux Python
Python编程:读取pdf、pptx、docx、xlsx文件的页数
Python编程:读取pdf、pptx、docx、xlsx文件的页数
1378 0
|
Python
Python编程:subprocess执行命令行命令
Python编程:subprocess执行命令行命令
510 0
Python编程:subprocess执行命令行命令
|
机器学习/深度学习 算法 大数据
机器学习:数据特征预处理归一化和标准化
机器学习:数据特征预处理归一化和标准化
769 0
机器学习:数据特征预处理归一化和标准化
|
SQL 人工智能 NoSQL
持续九年,国际排名第一的宽表数据库概述|学习笔记
快速学习持续九年,国际排名第一的宽表数据库概述
335 0
持续九年,国际排名第一的宽表数据库概述|学习笔记
|
文字识别 开发工具 Python
Python编程:通过百度文字识别提取表格数据
Python编程:通过百度文字识别提取表格数据
429 0
Python编程:通过百度文字识别提取表格数据
|
SQL 缓存 固态存储
FAQ系列 | 是什么导致MySQL数据库服务器磁盘I/O高?
FAQ系列 | 是什么导致MySQL数据库服务器磁盘I/O高?
278 0
FAQ系列 | 是什么导致MySQL数据库服务器磁盘I/O高?
|
存储 NoSQL Unix
Redis服务配置|学习笔记
快速学习 Redis服务配置
261 0
Redis服务配置|学习笔记
|
关系型数据库 MySQL Java
MySql数据库服务配置|学习笔记
快速学习MySql数据库服务配置
211 0
MySql数据库服务配置|学习笔记
|
SQL 关系型数据库 MySQL
MySQL 5.7下InnoDB对COUNT(*)的优化
MySQL 5.7下InnoDB对COUNT(*)的优化
334 0
MySQL 5.7下InnoDB对COUNT(*)的优化

热门文章

最新文章