表示 进入内容 12
Displaying posts with tag: monitor (reset)
innodb monitor

当我们遇到mysql的问题时,我们经常使用show engine innodb status来查看问题

但是很多时候用此命令显示的并不是很全面,我们不得不使用innodb_monitor 来监控数据库的性能

而默认此项是关闭的,打开方法:

 CREATE TABLE innodb_lock_...

【监控】  【mysql】  【innodb】  【性能】  【数据库】  【Create】   …

[获取更多]
为MySQL增加线程内存监控 (MySQL Thread Memory Usage Monitor)

本文内容遵从CC版权协议, 可以随意转载, 但必须以超链接形式标明文章原始出处和作者信息及版权声明网址: http://www.penglixun.com/tech/database/mysql_memory_usage_monitor.html

为了国际友人看得懂,以后我的博客都同时提供中英文版。:)
For foreign friends can understand, all of my blog at the same time in English in the future.

使用MySQL中我经常发现mysqld的内存使用会涨的很快(Buffer Pool是大页分配的),以至于使用SWAP,到底Server层用了多少内存,没有一个监控机制,所以第一步我编写了个patch(基于5.6.6)来监控每个线程用了多少内存,一旦mysqld进程使用太多内存,就去看哪些线程用的多,杀掉这些线程。
I often found mysqld process use memory will grow up very fast(InnoDB Buffer Pool used …

[获取更多]
表示 进入内容 12