Updated on 2024-05-07 GMT+08:00

PG_RESOURCE_POOL

PG_RESOURCE_POOL provides information about database resource pools.

Table 1 PG_RESOURCE_POOL columns

Name

Type

Description

oid

oid

Row identifier (hidden attribute, which must be specified).

respool_name

name

Name of a resource pool.

mem_percent

integer

Percentage of the memory configuration.

cpu_affinity

bigint

Value of cores bound to the CPU.

control_group

name

Name of the Cgroup where the resource pool is located.

max_dop

integer

Maximum degree of concurrency. This column is used for scaling and indicates the scanning concurrency during data redistribution.

memory_limit

name

Maximum memory of the resource pool.

parentid

oid

OID of the parent resource pool.

io_limits

integer

Upper limit of IOPS. It is counted by 10 thousands per second.

io_priority

name

I/O priority set for jobs that consume many I/O resources. It takes effect when the I/O usage reaches 90%.

max_worker

integer

Concurrency in a table during data redistribution. This column is used only for scaling.

max_connections

integer

Maximum number of connections that can be used by a resource pool.