mk-log-parser reads MySQL log files and generates a report that’s useful for optimizing a server. It can also perform other actions, such as helping you do a query review by showing all distinct queries running on your server.
mk-log-parser reads the files you specify on the command line, or standard input.