ITedite

MySQLバイナリログの解析

$ mysqlbinlog /usr/local/mysql/var/mysql-bin.000012 > hoge.log

これで、MySQLが特定の期間で実行したクエリを解析できる。