gp_resgroup_status_per_segment

The gp_toolkit.gp_resgroup_status_per_segment view allows administrators to see current memory and CPU usage and allocation for each resource group on a per-host and per-segment basis.

Memory amounts are specified in MBs.

Note

The gp_resgroup_status_per_segment view is valid only when resource group-based resource management is active.

columntypereferencesdescription
rsgnamenamepg_resgroup.rsgnameThe name of the resource group.
groupidoidpg_resgroup.oidThe ID of the resource group.
hostnametextgp_segment_configuration.hostnameThe hostname of the segment host.
segment_idsmallintgp_segment_configuration.contentThe content ID for a segment instance on the segment host.
cpunumeric The real-time, per-segment instance CPU core usage by the resource group on the host. The value is the sum of the percentages (as a decimal value) of the CPU cores that are used by the resource group for the segment instance.
memory_usedinteger The real-time memory usage of the resource group for the segment instance on the host. This total includes resource group fixed and shared memory. It also includes global shared memory used by the resource group.
memory_availableinteger The unused fixed and shared memory for the resource group for the segment instance on the host.
memory_quota_usedinteger The real-time fixed memory usage for the resource group for the segment instance on the host.
memory_quota_availableinteger The fixed memory available to the resource group for the segment instance on the host.
memory_shared_usedinteger The group shared memory used by the resource group for the segment instance on the host.
memory_shared_availableinteger The amount of group shared memory available for the segment instance on the host. Resource group global shared memory is not included in this total.

Parent topic: System Catalogs Definitions