File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 2626--
2727--------------------------------------------------------------------------------
2828COL wait_chain FOR A300 WORD_WRAP
29+ COL distinct_sids FOR 9999 HEAD "#Blkrs"
2930COL "%This" FOR A6
3031
3132PROMPT
@@ -121,10 +122,10 @@ SELECT * FROM (
121122 LPAD(ROUND(RATIO_TO_REPORT(COUNT(*)) OVER () * 100)||'%',5,' ') "%This"
122123 , COUNT(*) seconds
123124 , ROUND(COUNT(*) / ((CAST(&4 AS DATE) - CAST(&3 AS DATE)) * 86400), 1) AAS
125+ , COUNT(DISTINCT sids) distinct_sids
124126 , path wait_chain
125127 , TO_CHAR(MIN(sample_time), 'YYYY-MM-DD HH24:MI:SS') first_seen
126128 , TO_CHAR(MAX(sample_time), 'YYYY-MM-DD HH24:MI:SS') last_seen
127- -- , COUNT(DISTINCT sids)
128129 -- , MIN(sids)
129130 -- , MAX(sids)
130131 FROM
Original file line number Diff line number Diff line change 2222--
2323--------------------------------------------------------------------------------
2424COL wait_chain FOR A300 WORD_WRAP
25+ COL distinct_sids FOR 9999 HEAD "#Blkrs"
2526COL "%This" FOR A6
2627
2728PROMPT
@@ -114,9 +115,9 @@ SELECT * FROM (
114115 LPAD(ROUND(RATIO_TO_REPORT(COUNT(*)) OVER () * 100)||'%',5,' ') "%This"
115116 , COUNT(*) * 10 seconds
116117 , ROUND(COUNT(*) * 10 / ((CAST(&4 AS DATE) - CAST(&3 AS DATE)) * 86400), 1) AAS
117- -- , COUNT(DISTINCT sids)
118118 -- , MIN(sids)
119119 -- , MAX(sids)
120+ , COUNT(DISTINCT sids) distinct_sids
120121 , path wait_chain
121122 , TO_CHAR(MIN(sample_time), 'YYYY-MM-DD HH24:MI:SS') first_seen
122123 , TO_CHAR(MAX(sample_time), 'YYYY-MM-DD HH24:MI:SS') last_seen
You can’t perform that action at this time.
0 commit comments