Updated on 2024-06-03 GMT+08:00

GS_GET_CONTROL_GROUP_INFO

GS_GET_CONTROL_GROUP_INFO displays information about all Cgroups. This view is accessible only to system administrators.

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 Cgroup, which does not control any thread.
  • GROUP_BAKWD: backend thread Cgroup.
  • GROUP_DEFWD: default Cgroup, which controls only the query threads at this level.
  • GROUP_TSWD: time-sharing Cgroup of each user, which controls the query threads 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 cluster.
  • e: elastic cluster