Documentation Home
MySQL 5.7 Reference Manual
Related Documentation Download this Manual
PDF (US Ltr) - 36.3Mb
PDF (A4) - 36.4Mb
PDF (RPM) - 35.5Mb
HTML Download (TGZ) - 9.3Mb
HTML Download (Zip) - 9.4Mb
HTML Download (RPM) - 8.1Mb
Man Pages (TGZ) - 235.5Kb
Man Pages (Zip) - 347.0Kb
Info (Gzip) - 3.3Mb
Info (Zip) - 3.3Mb
Excerpts from this Manual

MySQL 5.7 Reference Manual  /  ...  /  The INFORMATION_SCHEMA GLOBAL_STATUS and SESSION_STATUS Tables



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.7, “Server System Variables”.


Information available from the tables described here is also available from the Performance Schema. The INFORMATION_SCHEMA tables are deprecated in preference to the Performance Schema tables and are removed in MySQL 8.0. For advice on migrating away from the INFORMATION_SCHEMA tables to the Performance Schema tables, see Section 25.20, “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, “SHOW STATUS Statement”).


  • The VARIABLE_VALUE column for each of these tables is defined as VARCHAR(1024).