The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

mysql_showlog_filter - filter your mysql slow.log

SYNOPSIS

    mysql_showlog_filter [options] FILE

OPTIONS

-?, --help
--date=DATE_RANGE
    >13-11-2006
    <13/11/2006
    -13.11.2006
    13.11.2006-1.12.2008
    13.11.2006-01.12.2008
    13/11/2006-01-12-2008

No time limited by default

-T, --min_query_time

-1 by default. compared with "Query_time"

  # Query_time: 221  Lock_time: 0  Rows_sent: 241  Rows_examined: 4385615
-R, --min_rows_examined

-1 by default. compared with "Rows_examined"

-ih, --include-host=HOSTS
-eh, --exclude-host=HOSTS
-iu, --include-user=USERS
-eu, --exclude-user=USERS

COPYRIGHT & LICENSE

Copyright 2008 Fayland Lam, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.