>flush status;
>select sql_no_cache a,b from aaa ;
>show session satatus like 'Select%';
>show session status like 'Handler%';
>show session status like 'Sort%';
>show session status like 'Created%';
2023-10-30 15:01:40
>flush status;
>select sql_no_cache a,b from aaa ;
>show session satatus like 'Select%';
>show session status like 'Handler%';
>show session status like 'Sort%';
>show session status like 'Created%';
下一篇:常用的慢查询日志分析工具