mysql执行时间 [英] mysql execution time
本文介绍了mysql执行时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有没有一种方法可以获取mysql中最后一次执行查询的执行时间?
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.
这篇关于mysql执行时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文