pt工具之pt-query-diges

wget percona.com/get/percona-toolkit.tar.gz

tar -zxvf percona-toolkit.tar.gz

yum install 'perl(Data::Dumper)'

yum -y install perl-Digest-MD

/root/percona-toolkit-3.2.1/bin/pt-query-digest mysql-slow.log

你可能感兴趣的:(pt工具之pt-query-diges)