文章目录
1.概述
可以分析MySQL变量并就可能出现的问题提出建议。
下载:https://www.percona.com/downloads/percona-toolkit/LATEST/
pt-variable-advisor是pt工具集的一个子工具,主要用来诊断你的参数设置是否合理。
(base) lcc@lcc percona-toolkit-3.2.0$ bin/pt-variable-advisor localhost --socket /var/lib/mysql/mysql.sock
Cannot connect to MySQL because the Perl DBD::mysql module is not installed or