pt-query-digest --filter '$event->{db} eq "mydatabase"' ...other arguments...
Using Percona pt-query-digest to analyse slow query log for a specific database only
-
03-12-2021 - |
Question
Percona tool script, pt-query-digest, looks like its will be very useful to analyse a MySQL slow query log. Does someone know how I can get the script to only look at queries relating to a specific database?
Thanks
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow