pt-kill doc on filter is miserable, examples are needed
General
Escalation
General
Escalation
Description
I believe I am above average regarding the pt-toolkit and perl and... I spent nearly 1h to get a filter working. This is almost unusable without looking at the code and debugging. Here a working example of a filter and pt-kill invocation able to kill queries matching user=username AND query_time > 300:
and
By default, match conditions are ORed together, the only way to get AND is a filter.
Environment
None
Smart Checklist
Activity
Show:
Lalit Choudhary September 8, 2020 at 11:20 AM
Hi
Thank you for the improvement requests.
My understanding is that you want a few such examples in pt-kill documentation, right?
I believe I am above average regarding the pt-toolkit and perl and... I spent nearly 1h to get a filter working. This is almost unusable without looking at the code and debugging. Here a working example of a filter and pt-kill invocation able to kill queries matching user=username AND query_time > 300:
and
By default, match conditions are ORed together, the only way to get AND is a filter.