Updated on 2025-10-23 GMT+08:00

session_status

The session_status view displays the status of the currently connected servers. This view is read-only. All users have the read permission on this view. Currently, only Threads_connected and Uptime are supported, which are used to display the number of session database connections and running time, respectively.

Table 1 information_schema.session_status columns

Name

Type

Description

VARIABLE_NAME

varchar(64)

Variable name of the server system status information of the current session.

VARIABLE_VALUE

varchar(1024)

Variable value of the server system status information of the current session.