Over a million developers have joined DZone.

Percona Toolkit for MySQL Webinar Followup Questions

DZone's Guide to

Percona Toolkit for MySQL Webinar Followup Questions

· Performance Zone ·
Free Resource

Sensu is an open source monitoring event pipeline. Try it today.

This post comes from Stephane Combaudon 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!

Sensu: workflow automation for monitoring. Learn more—download the whitepaper.


Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}