Skip to main content

backend_active_tasks

View resource usage for query and load tasks currently running on backend compute nodes.

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

SELECT * FROM information_schema.backend_active_tasks LIMIT 10;

Database​

information_schema

Table information​

Column nameTypeDescription
BE_IDbigintThe ID of the Backend executing the task.
FE_HOSTvarchar(256)Frontend host coordinating the task.
WORKLOAD_GROUP_IDbigintWorkload group ID.
QUERY_IDvarchar(256)The ID of the query.
TASK_TIME_MSbigintTask execution time in milliseconds.
TASK_CPU_TIME_MSbigintCPU time used by the task, in milliseconds.
SCAN_ROWSbigintThe number of rows scanned.
SCAN_BYTESbigintThe number of bytes scanned.
BE_PEAK_MEMORY_BYTESbigintPeak memory usage in bytes.
CURRENT_USED_MEMORY_BYTESbigintCurrent memory usage in bytes.
SHUFFLE_SEND_BYTESbigintThe number of bytes shuffled and sent.
SHUFFLE_SEND_ROWSbigintThe number of rows shuffled and sent.
QUERY_TYPEvarchar(256)The type of query.
SPILL_WRITE_BYTES_TO_LOCAL_STORAGEbigintBytes spilled to local storage by the task.
SPILL_READ_BYTES_FROM_LOCAL_STORAGEbigintBytes read from local spill files by the task.

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