This month I continued my Performance Analysis talks at the Local NY MySQL Meetup. Previous discussions can be found here.
Our focus was a more in-depth look at gathering and reviewing MySQL Status and your applications SQL statements using MySQL Proxy. Even after preparing the slides over the weekend Jan added more functionality that was particularly interesting. So today while addressing a client issues I further extended this work to do even more funky monitoring.
Today’s monitoring.lua script does:
- Logs to file, Date/Time, Query Time, Response Time, Rows Affected, Normalized SQL and Actual SQL for each query
- Has histogram of tables used with read/write …