GP - To gather resource queue information

Generating the report of resource queue usage or if locktype = resource queue
SELECT 
   rsqname AS "RQname",
   rsqcountlimit AS "RQActivestmt-Limit",
   rsqcountvalue AS "RQActivestmt-Current",
   rsqcostlimit AS "RQCost-Limit",
   rsqcostvalue AS "RQCost-Current",
   rsqmemorylimit::integer AS "RQMemory-Limit",
   rsqmemoryvalue::integer AS "RQMemory-Current",
   rsqholders AS "RQHolders",
   rsqwaiters AS "RQWaiters"
FROM gp_toolkit.gp_resqueue_status;

Comments

Popular posts from this blog

GP - Kerberos errors and resolutions

How to set Optimizer at database level in greenplum

GP - SQL Joins