10 2018 档案
摘要:一 简介:利用profile分析慢语句的过程有助于我们进行语句的优化 二 执行过程 set profiling=1; set profiling=0; 2 执行sql 3 查看过程消耗 三 结果 1 查看执行过程耗时 SHOW profile FOR query 1 checking permiss
阅读全文
摘要:一 简介:如何使用pt-iopfile调查io具体信息二 目的:利用pt-iopfile分析mysql内部IO操作密集的文件,用以发现问题三 使用: pt-iopfile -p mysql_pid -c sizes B/S输出 -c times 默认 -c count 四 输出结果 total pr
阅读全文