IT源码网

mysql慢查询工具

luoye 2021年02月16日 数据库 447 0

 

安装过程:

[root@localhost-centos6 ~]# wget percona.com/get/pt-query-digest

[root@localhost-centos6 ~]# chmod u+x pt-query-digest

[root@localhost-centos6 ~]# mv /root/pt-query-digest /usr/bin/

 

今天有在阿里云服务器跑分的时候出现"Can't locate Time/ HiRes.pm in @INC"错误提示无法进行,检测是出现缺少perl Time HiRes组件造成的,并不是所有的 UnixBench跑分的时候都会遇到这样的问题。

yum -y  install perl-Time-HiRes

http://www.itbulu.com/perl-time-hires.html

评论关闭
IT源码网

微信公众号号:IT虾米 (左侧二维码扫一扫)欢迎添加!