mysql>set profiling = 1;
>select a,b,c from aaa inner join.....
>show profiles\G
>show profile;
>show profile cpu for query 1;
mysql>set profiling = 1;
>select a,b,c from aaa inner join.....
>show profiles\G
>show profile;
>show profile cpu for query 1;