先通过一段sql语句来介绍一下:

1.select * from test 

mysql profiles 查看sql语句执行的性能

2.查询过后,执行show profiles

mysql profiles 查看sql语句执行的性能

3.如果再看比较详细的执行可以 通过 show profile for query 3; 注:3这个数字为query_id

mysql profiles 查看sql语句执行的性能


相关文章:

  • 2022-12-23
  • 2021-10-16
  • 2022-02-20
  • 2021-05-28
  • 2022-12-23
猜你喜欢
  • 2021-07-28
  • 2021-10-09
  • 2021-08-22
相关资源
相似解决方案