set profiling=1; 执行select sql语句 show profiles; show profile cpu,block IO io for query 1; 主要查看 sorting result选项