Is there a way to get the execution time of the last executed query in mysql?
A:
if using PHP .. you can use microtime() before the query and after the query to figure out how long it took for the query to execute.
Sabeen Malik
2009-10-27 14:48:49
+3
A:
mysql has a builtin profiler. You can enable profiling by issuing set profiling=1;
and use show profiles;
to get execution times.
soulmerge
2009-10-27 14:51:15
and SHOW PROFILE; too
HeavyWave
2009-10-27 14:53:52
This is what i was looking thanks
mck89
2009-10-27 14:56:11