For a couple of months there have been no updates to our msl patch, however recently I managed some time to change this. The functionality was extended a little bit and what?s even more important the patch is available for all the recent MySQL releases.
To remind anyone who has not yet come across this piece of code. msl (microslow) patch was developed a few years ago to allow more precise logging of query execution times into the slow log. Originally MySQL database offered a second time resolution and also a 2 second minimum for the query to get written, that is when you set long_query_time=1. After applying the patch you could see whether the time was 0.005s or 0.9s, which can make a substantial difference for the database and application performance. Over time msl patch grew with new features to let people learn more details of query execution, normally hidden from everyone's eyes. Currently it?s used by many DBAs and developers to help …
[Read more]