Mysql - logfile analysing

From Skytech
Jump to navigation Jump to search


Mysql logfile analysis

General log

This will focus on general log analysing.

Will be using two fantastic tools:

pt-query-digest

Sample output for a general log analysis:

pt-query-digest --type=genlog mysql-general.log

mysqlsla

./mysqlsla -lt general mysql-general.log