Last updated on
workload_groups
Overview
Records the configuration information of Workload Groups.
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 guaranteed CPU percentage |
| MAX_CPU_PERCENT | varchar(256) | Maximum CPU percentage |
| MIN_MEMORY_PERCENT | varchar(256) | Minimum guaranteed memory percentage |
| MAX_MEMORY_PERCENT | varchar(256) | Maximum memory percentage |
| MAX_CONCURRENCY | bigint | Maximum query concurrency per FE |
| MAX_QUEUE_SIZE | bigint | Maximum queue length per FE |
| QUEUE_TIMEOUT | bigint | Queue timeout in milliseconds |
| SCAN_THREAD_NUM | bigint | Number of local scan threads |
| MAX_REMOTE_SCAN_THREAD_NUM | bigint | Maximum number of remote scan threads |
| MIN_REMOTE_SCAN_THREAD_NUM | bigint | Minimum number of remote scan threads |
| MEMORY_LOW_WATERMARK | varchar(256) | Low memory watermark as a percentage of the group memory limit |
| MEMORY_HIGH_WATERMARK | varchar(256) | High memory watermark as a percentage of the group memory limit |
| COMPUTE_GROUP | varchar(256) | Compute group; the resource group (Tag) in storage-compute coupled mode |
| READ_BYTES_PER_SECOND | bigint | Local read rate limit in bytes/second; -1 means unlimited |
| REMOTE_READ_BYTES_PER_SECOND | bigint | Remote read rate limit in bytes/second; -1 means unlimited |
This table records configuration information and does not include slot_memory_policy, running_query_num, or waiting_query_num. Use SHOW WORKLOAD GROUPS to view those fields.