I had yet to have a need for a tool to analyze a MySQL slow query log, after some searching I came across a tool I already had!
Most MySQL installs come with the utility mysqldumpslow which is great for parsing your slow query log. I needed to sort by lock time so I just ran the following:
[code]mysqldumpslow -s l mysql-slow.log | less[/code]
0 comments:
Post a Comment