28.3.23 The INFORMATION_SCHEMA PROCESSLIST Table (original) (raw)

28.3.23 The INFORMATION_SCHEMA PROCESSLIST Table

The MySQL process list indicates the operations currently being performed by the set of threads executing within the server. ThePROCESSLIST table is one source of process information. For a comparison of this table with other sources, see Sources of Process Information.

The PROCESSLIST table has these columns:

Notes

The following statements are equivalent:

SELECT * FROM INFORMATION_SCHEMA.PROCESSLIST

SHOW FULL PROCESSLIST

You can obtain information about use of this table by checking the values of the server status variablesDeprecated_use_i_s_processlist_count andDeprecated_use_i_s_processlist_last_timestamp.Deprecated_use_i_s_processlist_count shows the number of times the PROCESSLIST table has been accessed since the last server restart;Deprecated_use_i_s_processlist_last_timestamp provides the last time the table was accessed, as a Unix timestamp.