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;
1.4m articles
1.4m replys
5 comments
57.0k users