先通过一段sql语句来介绍一下: 1.select * from test 2.查询过后,执行show profiles 3.如果再看比较详细的执行可以 通过 show profile for query 3; 注:3这个数字为query_id