使用mysql profile精确找到sql性能缺陷



SET profiling = 1;
select @@profiling;
show profiles;
show profile for query 1;


;