If you just want to check long queries, do the following: SELECT SLEEP(1);
It doesnβt matter which request itself, if all you want to do is check if your duration detection works.
(I know this violates the true aspect of βreplayβ, but it should be trivial to add SLEEP(1)
during βreplayβ to some select statements.)
EDIT:
A second idea that might seem better to you is to create a table lock from another connection. Run the script. Wait a bit. Remove this lock. It will not interfere with any of your playback requests.
Matthew
source share