How to parse mysql slow query query log into something useful?

I have a long, slow query log that runs for several weeks. I would like to analyze it, which would put the highest queries at the top (with the number of executions and average execution time), and it goes from there in descending order.

What tool / command can be used for this?

+3
source share
3 answers

Check out Maatkit :

mk-query-digest - parsing logs and more. Analyze, transform, filter, view and report requests.

+4
source
0

, , . ... .

, , CSV. , , , .

, -, , ", " MySQLProDemon40005K +! ", .

-1

Source: https://habr.com/ru/post/1722938/


All Articles