Percona Toolkit for MySQL Webinar Followup Questions

PREVIOUS POST
NEXT POST

Percona Toolkit for MySQLI didn’t have time to answer all of the questions during Wednesday’s MySQL webinar, “5 Percona Toolkit Tools That Could Save Your Day,” but as promised, here are all of the questions and my answers. (A recording is available here.)

Q: One of the links to download the Percona Toolkit for MySQL (percona.com/get/percona-toolkit.tgz) doesn’t work!

A: You’re right, I made a typo, the correct link is percona.com/get/percona-toolkit.tar.gz. The other links are correct.

Q: Can you run pt-query-digest on an output of the slow log on a Windows machine?

A: Yes, pt-query-digest should work on Windows even if it’s not one of the supported platforms. You’ll have to install ActivePerl first.

Q: Are these MySQL tools able to be run against Amazon RDS instances?

A: It depends. Most MySQL tools can connect to remote hosts and will work with Amazon RDS but others (like pt-stalk) are only useful when run locally with the root user. And you can sometimes have limitations. For instance, you won’t be able to have access to the slow query log file, so pt-query-digest is often used with the –processlist option. But as discussed during the webinar, you may miss some queries.

Q: Can we get copies of the scripts used in the MySQL webinar?

A: All the scripts are included in the slides. My setup was the following:

  • 1 instance installed by the package manager, with the sakila database
  • 1 master and 2 slaves installed with MySQL Sandbox, with the sakila database

Thanks to everyone who attended the MySQL webinar!

PREVIOUS POST
NEXT POST

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *