Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
README.md
gather_slow_log

README.md

gather_slow_log

gather_slow_log - perl

How to use:

$ gather_slow_log --slow-log=/data/mysql/mysql-slow.log

Cron Job:

*/10 * * * * mysql /usr/programs/script/gather_slow_log --slow-log=/data/mysql/mysql-slow.log >> /usr/programs/script/gather_slow_log.log 2>&1

Maybe.. it works well.. :-) Good luck!