Percona tool script, pt-query-digest, looks like it 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
pt-query-digest --filter '$event->{db} eq "mydatabase"' ...other arguments...