2026-03-12 20:23:15
This commit is contained in:
13
vdh/pq_stats.sql
Normal file
13
vdh/pq_stats.sql
Normal file
@@ -0,0 +1,13 @@
|
||||
-- The following query lists the number of parallel statements that are currently running or queued per consumer group.
|
||||
-- It also lists the number of parallel servers currently used per consumer group.
|
||||
|
||||
select
|
||||
name,
|
||||
sum(current_pqs_active) pqs_active,
|
||||
sum(current_pq_servers_active) pq_servers_active,
|
||||
sum(current_pqs_queued) pqs_queued
|
||||
from
|
||||
gv$rsrc_consumer_group
|
||||
group by
|
||||
name
|
||||
;
|
||||
Reference in New Issue
Block a user