gp_resqueue_status

The gp_toolkit.gp_resqueue_status view allows administrators to see status and activity for a resource queue. It shows how many queries are waiting to run and how many queries are currently active in the system from a particular resource queue.

Note The gp_resqueue_status view is valid only when resource queue-based resource management is active.

columntypereferencesdescription
queueidoidgp_toolkit.gp_resqueue_ queueidThe ID of the resource queue.
rsqnamenamegp_toolkit.gp_resqueue_ rsqnameThe name of the resource queue.
rsqcountlimitrealgp_toolkit.gp_resqueue_ rsqcountlimitThe active query threshold of the resource queue. A value of -1 means no limit.
rsqcountvaluerealgp_toolkit.gp_resqueue_ rsqcountvalueThe number of active query slots currently being used in the resource queue.
rsqcostlimitrealgp_toolkit.gp_resqueue_ rsqcostlimitThe query cost threshold of the resource queue. A value of -1 means no limit.
rsqcostvaluerealgp_toolkit.gp_resqueue_ rsqcostvalueThe total cost of all statements currently in the resource queue.
rsqmemorylimitrealgp_toolkit.gp_resqueue_ rsqmemorylimitThe memory limit for the resource queue.
rsqmemoryvaluerealgp_toolkit.gp_resqueue_ rsqmemoryvalueThe total memory used by all statements currently in the resource queue.
rsqwaitersintegergp_toolkit.gp_resqueue_ rsqwaiterThe number of statements currently waiting in the resource queue.
rsqholdersintegergp_toolkit.gp_resqueue_ rsqholdersThe number of statements currently running on the system from this resource queue.