Performance Zone is brought to you in partnership with:

I specialise MySQL Server performance as well as in performance of application stacks using MySQL, especially LAMP. Web sites handling millions of visitors a day dealing with terabytes of data and hundreds of servers is king of applications I love the most. Peter is a DZone MVB and is not an employee of DZone and has posted 195 posts at DZone. You can read more from them at their website. View Full User Profile

Percona Toolkit for MySQL Webinar Followup Questions

04.07.2013
| 1003 views |
  • submit to reddit

This post comes from at the MySQL Performance Blog.

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:

  • 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!

Published at DZone with permission of Peter Zaitsev, author and DZone MVB. (source)

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)