Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
*: refactor slow log format and parse slow query log to `SLOW_QUERY` table. #9290
What problem does this PR solve?
What is changed and how it works?
Assuming that a
I myself will process the log file in a utility like
It is a good question. I would rather we don't have two formats. It feels wrong to ask a customer which slow log format they are using when we are suggesting tools to process it.
I think medium term we should offer a pt-query-digest alternative based on https://github.com/Preetam/mysqllog + using our parser for normalization :-) It is quick to build, and will save users from installing perl.