Skip to main content
Last updated on

workload_groups

Overview​

Records the configuration information of Workload Groups.

Database​

information_schema

Table Information​

Column NameTypeDescription
IDbigintID of the Workload Group
NAMEvarchar(256)Name of the Workload Group
MIN_CPU_PERCENTvarchar(256)Minimum guaranteed CPU percentage
MAX_CPU_PERCENTvarchar(256)Maximum CPU percentage
MIN_MEMORY_PERCENTvarchar(256)Minimum guaranteed memory percentage
MAX_MEMORY_PERCENTvarchar(256)Maximum memory percentage
MAX_CONCURRENCYbigintMaximum query concurrency per FE
MAX_QUEUE_SIZEbigintMaximum queue length per FE
QUEUE_TIMEOUTbigintQueue timeout in milliseconds
SCAN_THREAD_NUMbigintNumber of local scan threads
MAX_REMOTE_SCAN_THREAD_NUMbigintMaximum number of remote scan threads
MIN_REMOTE_SCAN_THREAD_NUMbigintMinimum number of remote scan threads
MEMORY_LOW_WATERMARKvarchar(256)Low memory watermark as a percentage of the group memory limit
MEMORY_HIGH_WATERMARKvarchar(256)High memory watermark as a percentage of the group memory limit
COMPUTE_GROUPvarchar(256)Compute group; the resource group (Tag) in storage-compute coupled mode
READ_BYTES_PER_SECONDbigintLocal read rate limit in bytes/second; -1 means unlimited
REMOTE_READ_BYTES_PER_SECONDbigintRemote 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.