PROCESSLIST table provides
information about which threads are running.
For an extensive description of the table columns, see
Section 188.8.131.52, “
SHOW PROCESSLIST Syntax”.
PROCESSLIST table is a
Like the output from the corresponding
SHOW statement, the
PROCESSLIST table will only show
information about your own threads, unless you have the
PROCESS privilege, in which
case you will see information about other threads, too. As an
anonymous user, you cannot see any rows at all.
If an SQL statement refers to
then MySQL will populate the entire table once, when statement
execution begins, so there is read consistency during the
statement. There is no read consistency for a multi-statement
Process information is also available from the
However, access to
not require a mutex and has minimal impact on server
SHOW PROCESSLIST have
negative performance consequences because they require a
threads also shows
information about background threads, which
SHOW PROCESSLIST do not.
This means that
threads can be
used to monitor activity the other thread information sources
The following statements are equivalent:
SELECT * FROM INFORMATION_SCHEMA.PROCESSLIST SHOW FULL PROCESSLIST