Skip to main content
Version: 2.x

pg_resgroupcapability

note

The pg_resgroupcapability system catalog table is valid only when resource group-based resource management is active.

The pg_resgroupcapability system catalog table contains information about the capabilities and limits of defined Apache Cloudberry resource groups. You can join this table to the pg_resgroup table by resource group object ID.

The pg_resgroupcapability table, defined in the pg_global tablespace, is globally shared across all databases in the system.

columntypereferencesdescription
resgroupidoidpg_resgroup.oidThe object ID of the associated resource group.
reslimittypesmallintThe resource group limit type:

1 - Concurrency

2 - CPU_MAX_WEIGHT

3 - CPU_WEIGHT

4 - CPUSET

5 - MEMORY_QUOTA

6 - MIN_COST

7 - IO_LIMIT
valueopaque type The specific value set for the resource limit referenced in this record. This value has the fixed type text, and will be converted to a different data type depending upon the limit referenced.