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 name | Type | Description |
|---|---|---|
BE_ID | bigint | The ID of the Backend executing the task. |
FE_HOST | varchar(256) | Frontend host coordinating the task. |
WORKLOAD_GROUP_ID | bigint | Workload group ID. |
QUERY_ID | varchar(256) | The ID of the query. |
TASK_TIME_MS | bigint | Task execution time in milliseconds. |
TASK_CPU_TIME_MS | bigint | CPU time used by the task, in milliseconds. |
SCAN_ROWS | bigint | The number of rows scanned. |
SCAN_BYTES | bigint | The number of bytes scanned. |
BE_PEAK_MEMORY_BYTES | bigint | Peak memory usage in bytes. |
CURRENT_USED_MEMORY_BYTES | bigint | Current memory usage in bytes. |
SHUFFLE_SEND_BYTES | bigint | The number of bytes shuffled and sent. |
SHUFFLE_SEND_ROWS | bigint | The number of rows shuffled and sent. |
QUERY_TYPE | varchar(256) | The type of query. |
SPILL_WRITE_BYTES_TO_LOCAL_STORAGE | bigint | Bytes spilled to local storage by the task. |
SPILL_READ_BYTES_FROM_LOCAL_STORAGE | bigint | Bytes read from local spill files by the task. |
Use DESCRIBE information_schema.backend_active_tasks; to inspect the schema in your warehouse.