Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Percona Toolkit for MySQL Webinar Followup Questions

DZone's Guide to

Percona Toolkit for MySQL Webinar Followup Questions

· Performance Zone
Free Resource

Download our Introduction to API Performance Testing and learn why testing your API is just as important as testing your website, and how to start today.

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!

Find scaling and performance issues before your customers do with our Introduction to High-Capacity Load Testing guide.

Topics:

Published at DZone with permission of Peter Zaitsev, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

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

{{ parent.tldr }}

{{ parent.urlSource.name }}