GaussDB-GS_GET_CONTROL_GROUP_INFO

31 阅读1分钟

GaussDB-GS_GET_CONTROL_GROUP_INFO

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

NameTypeDescription
group_nametextName of a Cgroup.
group_typetextType 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 |

更多详情请参考GaussDB 文档中心:doc.hcs.huawei.com/db/zh-cn/ga…