- set profiling = 1; profileid
- profiling=0代表关闭,我们需要把profiling打开,即设置为1:
set profiling =1; - show profiles
- show profile(最近执行的sql语句) ;
- show profile for “query 2”;
- show profile cpu;
- performance_schema


缓存、优化器、执行器
优化的分类
RBO:基于规则的优化
CBO:基于成本的优化
CBO IO、缓存
Mysql性能监控
于 2021-08-30 10:31:00 首次发布
1176

被折叠的 条评论
为什么被折叠?



