pt-query-digest ignores --limit when running for 24h
Bug #1074472 reported by
Perrin Harkins
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Toolkit moved to https://jira.percona.com/projects/PT |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I've been using this from cron to send a daily report of slow queries:
pt-query-digest --processlist h=dbhost,
This works great except that it sends hundreds of queries, not just 10. If I use a lower --run-time, like 24m, everything works as expected.
My tool version is 2.1.5, MySQL version 5.0.91-
description: | updated |
To post a comment you must log in.
This one might be difficult to reproduce if it requires running for a day, but we'll try nonetheless and see if --limit is somehow affected by different --run-time lengths.