information_schema系统表——GLOBAL_STATUS and SESSION_STATUS

来源:互联网 发布:英语单词翻译软件 编辑:程序博客网 时间:2024/06/05 21:06
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 NameSHOW NameRemarksVARIABLE_NAMEVariable_name VARIABLE_VALUEValue