A newer version of this documentation is available. Click here to view the most up-to-date release of the Greenplum 5.x documentation.
The gp_toolkit.gp_resgroup_status view allows administrators to see status and activity for a resource group. It shows how many queries are waiting to run and how many queries are currently active in the system for each resource group. The view also displays current memory and CPU usage for the resource group.
|rsgname||name||pg_resgroup.rsgname||The name of the resource group.|
|groupid||oid||pg_resgroup.oid||The ID of the resource group.|
|num_running||integer||The number of transactions currently executing in the resource group.|
|num_queueing||integer||The number of currently queued transactions for the resource group.|
|num_queued||integer||The total number of queued transactions for the resource group since the Greenplum Database cluster was last started, excluding the num_queueing.|
|num_executed||integer||The total number of executed transactions in the resource group since the Greenplum Database cluster was last started, excluding the num_running.|
|total_queue_duration||interval||The total time any transaction was queued since the Greenplum Database cluster was last started.|
|cpu_usage||json||The real-time CPU usage of the resource group on each Greenplum Database segment's host.|
|memory_usage||json||The real-time memory usage of the resource group on each Greenplum Database segment's host.|