Run the profiler with
SET profiling = 1;
Then complete your request.
FROM
SHOW PROFILES;
you see a list of queries for which the profiler has statistics. And finally, you choose which request to check with
SHOW PROFILE FOR QUERY 1;
or any number of your request.
What you get is a list where exactly how much time was spent during the request.
Additional information in the manual.
fancyPants Jun 30 '12 at 15:00 2012-06-30 15:00
source share