摘要: 1.过滤出执行时间极大SQL语句(maatkit的digest工具,按照执行时间排序) mysqlbinlog binlog.xxxxxxx |mk-query-digest –type binlog –nofor-explain在测试机上执行筛选的语句,并没有发现有任何的性能异常 https:// 阅读全文
posted @ 2021-03-15 21:50 littlevigra 阅读(104) 评论(0) 推荐(0) 编辑
摘要: 1. pt-ioprofile功能:方便定位IO问题,可通过IO吞吐量来定位。 原理:pt-ioprofile的原理是对某个pid附加一个strace进程进行IO分析。 2. [root@node3 bin]# ./pt-ioprofile 通过这个报告我们可以看到,哪个文件占用IO的时间比较多,跟 阅读全文
posted @ 2021-03-15 11:45 littlevigra 阅读(112) 评论(0) 推荐(0) 编辑