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

Was it helpful?

Solution

pt-query-digest --filter '$event->{db} eq "mydatabase"' ...other arguments...
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top