pg_stat_resqueuesview is valid only when resource queue-based resource management is active.
pg_stat_resqueues view allows administrators to view metrics about a resource queue’s workload over time. To allow statistics to be collected for this view, you must enable the
stats_queue_level server configuration parameter on the Greenplum Database master instance. Enabling the collection of these metrics does incur a small performance penalty, as each statement submitted through a resource queue must be logged in the system catalog tables.
||oid||The OID of the resource queue.|
||name||The name of the resource queue.|
||bigint||Number of queries submitted for execution from this resource queue.|
||bigint||Number of queries submitted to this resource queue that had to wait before they could run.|
||bigint||Total elapsed execution time for statements submitted through this resource queue.|
||bigint||Total elapsed time that statements submitted through this resource queue had to wait before they were run.|
Parent topic: System Catalogs Definitions