You may have read a previous post of mine, back in April this
year, where I wrote about using the MySQL 5.5 Audit interface to
SQL Statement monitoring. There was a bunch of comments and some
ideas, but not much happened. Until now that is.
Hereby I release the first version of SQLStats, which is a much
enhanced version of what I described in the previous post. This
is a MySQL Plugin for MySQL 5.5 that allows you to monitor the
most recently executed, and the most frequently executed
statements using 2 INFORMATION_SCHEMA tables. The thing is not
very complex, to be honest, but it does do the job. So what was
the job then? Well, looking at what this plugin does, it goes
something like this:
- Allows you to monitor ALL SQL statements executed by the server.
- The SQL statements are "normalized", …