-
-
Save nerdseeker365/766023f2e26cfddec3de3b3d80acdb1f to your computer and use it in GitHub Desktop.
Percona toolkit example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pt-variable-advisor localhost --user=root --ask-pass | |
Just compare in mysqld section | |
pt-config-diff /etc/my.cnf.d/server.cnf h=localhost --user=root --ask-pass | |
pt-config-diff /etc/my.cnf.d/server.cnf /etc/my.cnf.d/server1.cnf | |
pt-summary | |
pt-mysql-summary --user=root --ask-pass | |
It takes a long time if your slow log is very big | |
pt-query-digest /var/log/mysqld/mysql_slow.log --limit 10 --explain 127.0.0.1 --user=root --ask-pass | |
pt-deadlock-logger | |
pt-table-usage | |
pt-index-usage | |
pt-slave-delay | |
pt-diskstats | |
pt-online-schema-change | |
pt-show-grants | |
pt-visual-explain |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment