Updated on 2023-10-23 GMT+08:00

GS_GET_CONTROL_GROUP_INFO

GS_GET_CONTROL_GROUP_INFO displays information about all Cgroups. Only the user with sysadmin permission can query this view.

Table 1 GS_GET_CONTROL_GROUP_INFO columns

Name

Type

Description

group_name

text

Name of a Cgroup.

group_type

text

Type of the Cgroup.

  • GROUP_NONE: no group.
  • GROUP_TOP: top group.
  • GROUP_CLASS: class group of the resource, which does not control any thread.
  • GROUP_BAKWD: backend thread control group.
  • GROUP_DEFWD: default control group, which controls only the query threads at this level.
  • GROUP_TSWD: time-sharing control group of each user, which controls the query thread at the bottom layer.

gid

bigint

Cgroup ID.

classgid

bigint

ID of the Class Cgroup to which a Workload Cgroup belongs.

class

text

Class Cgroup.

group_workload

text

Workload Cgroup.

shares

bigint

CPU quota allocated to the Cgroup.

limits

bigint

Limit of CPUs allocated to the Cgroup.

wdlevel

bigint

Workload Cgroup level.

cpucores

text

Usage of CPU cores in the Cgroup.

nodegroup

text

Node group name.

group_kind

text

Node group type. The value must be one of the following:
  • i: installation node group
  • n: node group in a common, non-logical cluster
  • v: node group in a logical cluster (The current feature is a lab feature. Contact Huawei engineers for technical support before using it.)
  • e: elastic cluster