2014-11-20 perl (or mod_perl)環境でsqlの速度改善を行うなら DBIx::QueryLog http://perl-users.jp/articles/advent-calendar/2011/dbix/9 ↑こちらの通リ、my.cnf を編集し、mysqlのslowlogを出力するより、よっぽど楽です