查看执行时间

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

相关文章:

  • 2021-09-04
  • 2022-03-09
  • 2021-11-29
  • 2021-12-18
  • 2021-07-09
猜你喜欢
  • 2022-02-10
  • 2022-12-23
  • 2022-02-09
  • 2021-07-14
  • 2021-05-16
相关资源
相似解决方案