I don't know how to use SELECT SLEEP()
. It looks like a dirty hack.
I found an interesting question How and when to use SLEEP()
correctly in MySQL?. The answer is developer oriented:
If you don't want to
SELECT SLEEP(1);
, you can alsoDO SLEEP(1)
; It's useful for those situations in procedures where you don't want to see output.
what are examples for DBA?