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 12.4.5.37, “SHOW STATUS Syntax”).
INFORMATION_SCHEMA
Name |
SHOW
Name |
Remarks |
| VARIABLE_NAME | Variable_name | |
| VARIABLE_VALUE | Value |
Notes:
The
GLOBAL_STATUS
and
SESSION_STATUS
tables were added in MySQL 5.1.12.
Beginning with MySQL 5.1.19, the
VARIABLE_VALUE column for each of these
tables is defined as VARCHAR(20480).
Previously, this column had the data type
DECIMAL(22,7), but was changed to avoid
loss of data when working with status variables whose values
were strings (Bug#26994).

User Comments
Add your own comment.