performance_schema - xiaoboluo768/qianjinliangfang GitHub Wiki
- 控制performance_schema功能的开关,performance_schema实际上是一个存储引擎,你可以使用select * from information_schema.engines;和show engines;语句查看到,在performance_schema下的表都是performance_schema存储引擎。
- 该参数是mysqld的一个启动选项,并不是system variables,在5.6.x及其之前的版本中默认关闭,在5.7.x版本开始默认开启
- 全局变量,只读变量,5.7之前默认值为OFF,5.7之后默认为ON,布尔型
- 即使禁用performance_schema,在其库下的global_variables,session_variables,global_status和session_status表也会继续维护并更新(注意,这些表是5.7中新增的,5.6及其之前的版本中没有),因为show variables和show status语句可能需要从这些表中获取信息,具体是否从这些表中获取信息,还需要看系统变量show_compatibiliy_56的设置
上一篇:rpl_semi_sync_master_wait_point | 下一篇:max_digest_length