Quantcast
Channel: Planet MySQL
Viewing all articles
Browse latest Browse all 18783

DBJ: Maatkit & Tcpdumps for Query Analysis

$
0
0

MySQL has a great facility called the slow query log.  It allows you to filter out the most expensive requests against your database.  You may not have enabled it, however, and perhaps don’t want to restart your database.  In cases like these, a quicker way to capture queries is through tcpdumps of the port MySQL runs on.

Maatkit’s mk-query-digest has a tcpdump mode which can magically analyze this traffic for you, and produce a spectacular report of your top resource intensive queries.  In this Database Journal article we give it a once over.

Database Journal – Troubleshooting MySQL with Maatkit & Tcpdumps


PlanetMySQL Voting: Vote UP / Vote DOWN

Viewing all articles
Browse latest Browse all 18783

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>