Microslow patch is used by many DBAs and developers to accurately time their queries and to catch those which run less than a second as they can also be a performance killer for a busy application.
Recently I have started the development of an updated version of the patch. The basic idea is the same as for its predecessor - to get more information about query execution logged into slow log, however the new version is loaded with a set of cool new features.
CONNECTION IDENTIFIER
Each slow log entry now contains a connection identifier, so you can trace all the queries coming from a single connection.
PLAIN TEXT CODE:
- # Thread_id: 4
MICROTIME RESOLUTION QUERY TIMING
This is the original functionality offered by Microslow patch.
The new edition is free of a tiny bug which was to treat
long_query_time value as seconds. In effect …