mysql性能分析

1、set profiling = 1; show PROFILES; 2、set @query_id = 1; select state, sum(duration) as Total_R, ROUND(100*SUM(DURATION) / (select SUM(duration) FROM information_schema.PROFILING  where query_id = @qu
相關文章
相關標籤/搜索