I work on many MySQL performance problems. This gives me many ideas on how to improve monitoring. Sometimes the ideas are good and now is the time to share those requests with MySQL devel because they are getting a lot of work done (and filling my inbox with updates). My latest requests are listed below and likely to appear in a Facebook patch real soon:
- Make the Rows_examined field in the slow query log valid for insert, update and delete statements. MySQL devel just fixed this for bug 49756.
- Use the Lock_time field in the slow query log for per-statement row lock wait times. See feature request 53496
- Count queries by success and failure. The counter names could be Queries_ok and Queries_error. They are incremented when a command or query finishes without or …