mysql performance_schema库为空

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

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

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

原文地址:https://www.cnblogs.com/hanglinux/p/12496405.html