Skip to main content

processlist

Inspect SQL connections and their current query information. The rows visible to you depend on your SQL privileges.

Run the query in the warehouse SQL Editor or a connected SQL client:

SELECT * FROM information_schema.processlist LIMIT 10;

Database​

information_schema

Table information​

Column nameTypeDescription
CurrentConnectedvarchar(16)Deprecated compatibility field, reported as No.
IdlargeintConnection identifier.
Uservarchar(32)Connected warehouse SQL user.
Hostvarchar(261)Client connection address.
LoginTimedatetimeConnection start time.
Catalogvarchar(64)Current catalog.
Dbvarchar(64)Current database.
Commandvarchar(16)Current MySQL protocol command.
TimeintElapsed time for the current command, in seconds.
Statevarchar(64)Connection execution state.
QueryIdvarchar(256)Current query identifier.
TraceIdvarchar(256)Trace identifier associated with the query.
Infovarchar(65533)Current SQL statement text.
FEvarchar(64)Frontend serving the connection.
CloudClustervarchar(64)Compute cluster used by the connection.

Use DESCRIBE information_schema.processlist; to inspect the schema in your warehouse.

Ask AI