pt-query-digest安装

wget http://www.percona.com/downloads/percona-toolkit/2.2.4/percona-toolkit-2.2.4.tar.gz
tar percona-toolkit-2.2.4.tar.gz
cd percona-toolkit-2.2.4
perl Makefile.PL
make && make install

/usr/local/bin/pt-query-digest --help

你可能感兴趣的:(pt-query-digest安装)