You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 21, 2026. It is now read-only.
wvanbergen edited this page Sep 4, 2010
·
3 revisions
As of version 1.5.0, request-log-analyzer supports parsing MySQL slow query logs. Use --format mysql to instruct r-l-a to parse a file as a slow query log.
Query duration in milliseconds
By default, MySQL reports the query and lock duration as whole seconds in the slow query log. To get a more detailed number for improved results, a patch is available that makes MySQL report the query duration as a floating point number in its log. Request-log-analyzer can parse these floating point numbers as well.
If you encounter queries like SELECT !40032:SQL_NO_CACHE * FROM table; in your slow query log, you probably use the mysqldump tool to create backups of your database. You probably do not want to include these queries in your reports. You can filter them out using the --reject option: