MySQL 8.4 Reference Manual Including MySQL NDB Cluster 8.4

28.3.23 The INFORMATION_SCHEMA PROCESSLIST Table

Important

INFORMATION_SCHEMA.PROCESSLIST is deprecated and subject to removal in a future MySQL release. As such, the implementation of SHOW PROCESSLIST which uses this table is also deprecated. It is recommended to use the Performance Schema implementation of PROCESSLIST instead.

The MySQL process list indicates the operations currently being performed by the set of threads executing within the server. The PROCESSLIST 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 variables Deprecated_use_i_s_processlist_count and Deprecated_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.