information_schema系统表——GLOBAL_STATUS and SESSION_STATUS

本文介绍了MySQL 5.7.6版本中关于状态变量的信息模式表格变化,包括这些表格如何受到show_compatibility_56系统变量的影响,以及如何迁移到Performance Schema表格来替代已废弃的INFORMATION_SCHEMA表格。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Note

As of MySQL 5.7.6, the value of the show_compatibility_56 system variable affects the information available from the tables described here. For details, see the description of that variable in Section 5.1.5, “Server System Variables”.

Note

As of MySQL 5.7.6, information available from the tables described here is also available from the Performance Schema. The INFORMATION_SCHEMAtables are deprecated in preference to the Performance Schema tables and will be removed in a future MySQL release. For advice on migrating away from the INFORMATION_SCHEMA tables to the Performance Schema tables, see Section 25.19, “Migrating to Performance Schema System and Status Variable Tables”.

The GLOBAL_STATUS and SESSION_STATUS tables provide information about server status variables. Their contents correspond to the information produced by the SHOW GLOBAL STATUS and SHOW SESSION STATUS statements (see Section 13.7.5.35, “SHOW STATUS Syntax”).

INFORMATION_SCHEMA Name SHOW Name Remarks
VARIABLE_NAME Variable_name  
VARIABLE_VALUE Value  
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值