20.mysql查看sql执行时间

数据库   发布日期:2025年06月02日   浏览次数:293

查看执行时间

1 show profiles; 
2 show variables;查看profiling 是否是on状态; 
3 如果是off,则 set profiling = 1; 
4 执行自己的sql语句; 
5 show profiles;就可以查到sql语句的执行时间;

以上就是20.mysql查看sql执行时间的详细内容,更多关于20.mysql查看sql执行时间的资料请关注九品源码其它相关文章!