Is there a way to get the execution time of the last executed query in mysql?
mysql has a builtin profiler. You can enable profiling by issuing set profiling=1; and use show profiles; to get execution times.
set profiling=1;
show profiles;
2.1m questions
2.1m answers
60 comments
57.0k users