workload_groups
Inspect workload group resource limits, queue settings, scan threads, and compute group assignment.
Run the query in the warehouse SQL Editor or a connected SQL client:
SELECT * FROM information_schema.workload_groups LIMIT 10;
Database
information_schema
Table information
| Column name | Type | Description |
|---|---|---|
ID | bigint | ID of the workload group. |
NAME | varchar(256) | Name of the workload group. |
MIN_CPU_PERCENT | varchar(256) | Minimum CPU percentage configured for the workload group. |
MAX_CPU_PERCENT | varchar(256) | Maximum CPU percentage configured for the workload group. |
MIN_MEMORY_PERCENT | varchar(256) | Minimum memory percentage configured for the workload group. |
MAX_MEMORY_PERCENT | varchar(256) | Maximum memory percentage configured for the workload group. |
MAX_CONCURRENCY | bigint | Maximum concurrency for the workload group. |
MAX_QUEUE_SIZE | bigint | Maximum queue size for the workload group. |
QUEUE_TIMEOUT | bigint | Queue wait timeout, in milliseconds. |
SCAN_THREAD_NUM | bigint | Number of threads for local scan. |
MAX_REMOTE_SCAN_THREAD_NUM | bigint | Maximum number of threads in the remote scan thread pool. |
MIN_REMOTE_SCAN_THREAD_NUM | bigint | Minimum number of threads in the remote scan thread pool. |
MEMORY_LOW_WATERMARK | varchar(256) | Low memory watermark for the workload group. |
MEMORY_HIGH_WATERMARK | varchar(256) | High memory watermark for the workload group. |
COMPUTE_GROUP | varchar(256) | Compute group (cluster) assigned to the job or workload group. |
READ_BYTES_PER_SECOND | bigint | Configured local read-throughput limit in bytes per second. |
REMOTE_READ_BYTES_PER_SECOND | bigint | Configured remote read-throughput limit in bytes per second. |
Use DESCRIBE information_schema.workload_groups; to inspect the schema in your warehouse.
For the per-directory and per-backend scope of these limits, see Workload Group properties.