Skip to main content
Version: 2.x

gp_resgroup_iostats_per_host

The gp_toolkit.gp_resgroup_iostats_per_host view allows administrators to see current disk I/O usage for each resource group on a per-host basis.

Memory amounts are specified in MBs.

note

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

columntypereferencesdescription
rsgnamenamepg_resgroup.rsgnameThe name of the resource group
hostnametextgp_segment_configuration.hostnameThe hostname of the segment host
tablespacetextpg_tablespace.spcnameThe name of the tablespace
rbpsbigintThe real-time read sequential disk I/O throughput by the resource group on a host, in Bytes/s
wbpsbigintThe real-time write sequential disk I/O throughput by the resource group on a host, in Bytes/s
riopsbigintThe real-time read I/O operations per second by the resource group on a host
wiopsbigintThe real-time write I/O operations per second by the resource group on a host

Sample output for the gp_resgroup_iostats_per_host view:

SELECT * from gp_toolkit.gp_resgroup_iostats_per_host;

rsgname | hostname | tablespace | rbps | wbps | riops | wiops
----------------+----------+------------------+------------------+------------------+-------------+-------------
rg_test_group1 | mtspc | pg_default | 21356347 | 29369067 | 162 | 36
rg_test_group2 | mtspc | pg_default | 0 | 0 | 0 | 0
rg_test_group3 | mtspc | pg_default | 0 | 0 | 0 | 0
rg_test_group4 | mtspc | * | 0 | 0 | 0 | 0
rg_test_group5 | mtspc | rg_io_limit_ts_1 | 0 | 0 | 0 | 0
(5 rows)