gp_resgroup_config
gp_toolkit.gp_resgroup_config视图允许管理员查看资源组的当前CPU,内存和并发限制。
该视图还显示建议的限制设置。
当限制被更改时,建议的限制将不同于当前限制,但新值不能立即应用。
Note: 仅当基于资源组的资源管理处于活动状态时,gp_resgroup_config视图才有效。
Table 1. gp_toolkit.gp_resgroup_config
| 列 | 类型 | 参考 | 描述 |
|---|---|---|---|
groupid |
oid | pg_resgroup.oid | 资源组的OID。 |
groupname |
name | pg_resgroup.rsgname | 资源组的名称。 |
concurrency |
text | pg_resgroupcapability.value for pg_resgroupcapability.reslimittype = 1 | 为资源组指定的并发(CONCURRENCY)值。 |
proposed_concurrency |
text | pg_resgroupcapability.proposed for pg_resgroupcapability.reslimittype = 1 | 资源组的挂起并发值。 |
cpu_rate_limit |
text | pg_resgroupcapability.value for pg_resgroupcapability.reslimittype = 2 | 为资源组指定的CPU限制(CPU_RATE_LIMIT)值,或-1。 |
memory_limit |
text | pg_resgroupcapability.value for pg_resgroupcapability.reslimittype = 3 | 为资源组指定的内存限制(MEMORY_LIMIT)值。 |
proposed_memory_limit |
text | pg_resgroupcapability.proposed for pg_resgroupcapability.reslimittype = 3 | 资源组的挂起内存限制值。 |
memory_shared_quota |
text | pg_resgroupcapability.value for pg_resgroupcapability.reslimittype = 4 | 为资源组指定的共享内存配额(MEMORY_SHARED_QUOTA)值。 |
proposed_memory_shared_quota |
text | pg_resgroupcapability.proposed for pg_resgroupcapability.reslimittype = 4 | 资源组的挂起共享内存配额值。 |
memory_spill_ratio |
text | pg_resgroupcapability.value for pg_resgroupcapability.reslimittype = 5 | 为资源组指定的内存溢出率(MEMORY_SPILL_RATIO)值。 |
proposed_memory_spill_ratio |
text | pg_resgroupcapability.proposed for pg_resgroupcapability.reslimittype> = 5 | 资源组的待处理内存溢出比率值。 |
memory_auditor |
text | pg_resgroupcapability.value for pg_resgroupcapability.reslimittype = 6 | 用于资源组的内存审计器。 |
cpuset |
text | pg_resgroupcapability.value for pg_resgroupcapability.reslimittype = 7 | 为资源组保留的CPU核心,或-1。 |
Parent topic: 系统目录定义