查看mysql执行语句所需时间

查看执行时间 1 show profiles;  2  show variables like "%pro%";查看profiling 是不是on状态;sql   3 若是是off,则 set profiling = 1;  4 执行本身的sql语句;  5 show profiles;就能够查到sql语句的执行时间;blog
相关文章
相关标签/搜索