Information Schema GLOBAL_STATUS and SESSION_STATUS Tables
The GLOBAL_STATUS and SESSION_STATUS tables store the global and session values of server status variables, respectively.
Column
Description
Example
SELECT * FROM information_schema.GLOBAL_STATUS;
+-----------------------------------------------+--------------------+
| VARIABLE_NAME | VARIABLE_VALUE |
+-----------------------------------------------+--------------------+
...
| BINLOG_SNAPSHOT_FILE | mariadb-bin.000208 |
| BINLOG_SNAPSHOT_POSITION | 369 |
...
| THREADS_CONNECTED | 1 |
| THREADS_CREATED | 1 |
| THREADS_RUNNING | 1 |
| UPTIME | 57358 |
| UPTIME_SINCE_FLUSH_STATUS | 57358 |
+-----------------------------------------------+--------------------+PreviousInformation Schema GEOMETRY_COLUMNS TableNextInformation Schema GLOBAL_VARIABLES and SESSION_VARIABLES Tables
Last updated
Was this helpful?

