pt-variable-advisor 是 Percona Toolkit 內的工具之一,能調用 MySQL/MariaDB 的 SHOW VARIABLES 命令偵測參數值,並根據 Rule 分析給予修正的建議。

使用方式如下:

pt-variable-advisor [OPTIONS] [DSN]

像是:

pt-variable-advisor h=$host,P=$port,u=$user,p=$password

1.png

Link