Loading

mysql performance_schema库为空

学习如何判断mysql 线程IO的过程中,发现mysql performance_schema库为空。没有数据,无法对照iotop来判断mysql各个线程的IO情况

 

经过网上查找资料,发现performance_schema默认是off,没有打开的

 

通过修改/etc/my.cnf配置文件,设置performance_schema为on,此时performance_schema库就有数据了

 

 

posted @ 2020-03-15 10:51  李行行  阅读(798)  评论(0编辑  收藏  举报