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
相关文章
相关标签/搜索