Skip to main content
Version: 2.x

pg_resqueue

note

The pg_resqueue system catalog table is valid only when resource queue-based resource management is active.

The pg_resqueue system catalog table contains information about Apache Cloudberry resource queues, which are used for the resource management feature. This table is populated only on the coordinator. This table is defined in the pg_global tablespace, meaning it is globally shared across all databases in the system.

columntypereferencesdescription
oidoidThe object id
rsqnamename The name of the resource queue
rsqcountlimitreal The active query threshold of the resource queue
rsqcostlimitreal The query cost threshold of the resource queue
rsqovercommitboolean Allows queries that exceed the cost threshold to run when the system is idle
rsqignorecostlimitreal The query cost limit of what is considered a 'small query'. Queries with a cost under this limit will not be queued and run immediately.