I 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:
Thanks to everyone who attended the MySQL webinar!
Percona’s widely read Percona Data Performance blog highlights our expertise in enterprise-class software, support, consulting and managed services solutions for both MySQL® and MongoDB® across traditional and cloud-based platforms. The decades of experience represented by our consultants is found daily in numerous and relevant blog posts.
Besides specific database help, the blog also provides notices on upcoming events and webinars.
Want to get weekly updates listing the latest blog posts? Subscribe to our blog now! Submit your email address below and we’ll send you an update every Friday at 1pm ET.