MySQL Slow Query Log is your friend
Published June 11th, 2007 in MySQL, SoftwareThe MySQL slow query log parser converts your slow query logs in to a more usable format.
It also adds some interesting information like median and average times.
For more information on it and a link to download the script go to the MySQL Slow Query Log Page
Hi
I have patched the parser to handle multiline queries. It can be downloaded here: http://gist.github.com/67391
Thanks Jocob!
I have created a google code project that contains the updated version of this script.
http://code.google.com/p/mysql-slow-query-log-parser/
Cheers