SHOW PROCESSLIST

SHOW PROCESSLIST is a MySQL statement that lists current database connections and their activity, including the command, execution time, state, and current SQL statement. SHOW FULL PROCESSLIST displays the complete statement text. It helps identify long-running queries and investigate database connection pool saturation during a load test.

Minimal example

sql
SHOW FULL PROCESSLIST;

Learn this concept

Lesson 6.9 · MySQL query-plan reading
Prerequisite conceptsEXPLAIN access type