8.187 V$RSRC_CONSUMER_GROUP
V$RSRC_CONSUMER_GROUP
displays data related to currently active resource consumer groups.
When the STATISTICS_LEVEL
is set to TYPICAL
or ALL
, this view contains information about CPU utilization and wait times even when no Resource Manager plan is set or when the Resource Manager plan does not monitor CPU or session resources.
Statistics in V$RSRC_CONSUMER_GROUP
are reset when a pluggable database (PDB) changes its resource plan. They are not impacted by multitenant container database (CDB) resource plan changes.
Since PDB plans can be set independently across different PDBs, V$RSRC_CONSUMER_GROUP
will not cover the same time period across different PDBs. Therefore, this view is not useful for comparing statistics across different PDBs.
Column | Datatype | Description |
---|---|---|
|
|
Consumer group object ID (a unique number, consistent across database shutdowns and startups) |
|
|
Name of the consumer group |
|
|
Number of currently active sessions in the consumer group |
|
|
Number of currently active sessions waiting for an execution time slice in which they will be able to use CPU |
|
|
Cumulative number of requests that were executed in the consumer group |
|
|
Cumulative amount of time that sessions waited for CPU on the resmgr: cpu quantum wait event because of resource management (in milliseconds). This does not include waits due to latch or enqueue contention, I/O waits, and so on. When CPU resources are not being actively managed, this value is set to zero. |
|
|
Cumulative number of times all sessions in the consumer group had to wait for CPU on the resmgr: cpu quantum wait event because of resource management. This does not include waits due to latch or enqueue contention, I/O waits, and so on. When CPU resources are not being actively managed, this value is set to zero. |
|
|
Cumulative amount of CPU time consumed by all sessions in the consumer group (in milliseconds) |
|
|
Cumulative number of times that sessions in the consumer group had to yield CPU to other sessions because of quantum expiration. When CPU resources are not being actively managed, this value is set to zero. |
|
|
Percentage of CPU decisions for which the consumer group was present. When CPU resources are not being actively managed, this value is set to zero. |
|
|
Percentage of the CPU decisions for which the consumer group was present and was the only consumer group present. When CPU resources are not being actively managed, this value is set to zero. |
|
|
Percentage of the CPU decisions that the consumer group won. When CPU resources are not being actively managed, this value is set to zero. |
|
|
Number of sessions waiting in the queue |
|
|
Current amount (in KB) of undo consumed by the consumer group |
|
|
Number of times that sessions in the consumer group were queued because the consumer group reached its active session limit |
|
|
Number of times that queries in the consumer group were canceled because the consumer group reached its |
|
|
Number of switches into the consumer group because of the Resource Manager plan's |
|
|
Number of switches out of the consumer group because of the Resource Manager plan's |
|
|
Number of switches into the consumer group because of the Resource Manager plan's |
|
|
Number of switches out of the consumer group because of the Resource Manager plan's |
|
|
Number of switches into the consumer group because of the Resource Manager plan's |
|
|
Number of switches out of the consumer group because of the Resource Manager plan's |
|
|
Number of switches into the consumer group because of the Resource Manager plan's |
|
|
Number of switches out of the consumer group because of the Resource Manager plan's |
|
|
Number of switches into the consumer group because of the Resource Manager plan's |
|
|
Number of switches out of the consumer group because of the Resource Manager plan's |
|
|
Number of times that SQL queries running in the consumer group were aborted because they exceeded one of the Resource Manager plan's |
|
|
Number of times that sessions running in the consumer group were terminated because they exceeded one of the Resource Manager plan's |
|
|
Number of times that sessions in the consumer group were killed because they were idle for too long (reached |
|
|
Number of times that sessions in the consumer group were killed because they were idle too long (reached |
|
|
Total amount of time that sessions in the consumer group have spent in the QUEUED state because of the active session limit (in milliseconds) |
|
|
Number of times that requests from sessions in the consumer group timed out because they were queued for too long (reached |
|
|
Cumulative I/O wait time (in milliseconds) |
|
|
Total number of wait requests |
|
|
Number of single block megabytes read |
|
|
Number of single block megabytes written |
|
|
Number of multiblock megabytes read |
|
|
Number of multiblock megabytes written |
|
|
Number of single block read requests |
|
|
Number of single block write requests |
|
|
Number of multiblock read requests |
|
|
Number of multiblock write requests |
|
|
Number of active parallel statements in the consumer group. This value does not include parallel statements that are never queued, such as GV$ queries. |
|
|
Number of active parallel servers in the consumer group. This value does not include servers running parallel statements that are never queued, such as GV$ queries. |
|
|
Number of times that sessions in the consumer group were queued when trying to run parallel statements |
|
|
Total number of completed parallel statements in the consumer group |
|
|
Total number of parallel servers used by completed parallel statements in the consumer group |
|
|
Cumulative sum of the parallel active times for all completed parallel statements in the consumer group (in milliseconds) |
|
|
Number of sessions in the consumer group that are waiting in the parallel statement queue trying to run parallel statements |
|
|
Total amount of time that sessions in the consumer group were queued when trying to run parallel statements (in milliseconds) |
|
|
Number of times that parallel statements from sessions in the consumer group timed out because their queue time exceeded the Resource Manager plan's |
|
|
Number of times that sessions in the consumer group were killed because their untunable PGA usage exceeded the |
|
|
The ID of the container to which the data pertains. Possible values include:
|
See Also:
-
Oracle Database Administrator’s Guide for information on resource groups
-
Oracle Database PL/SQL Packages and Types Reference for information on creating resource groups with the
DBMS_RESOURCE_MANAGER
package