2026-03-12 20:23:15
This commit is contained in:
21
vg/sga_status.sql
Normal file
21
vg/sga_status.sql
Normal file
@@ -0,0 +1,21 @@
|
||||
SELECT DECODE (state
|
||||
, 0, 'free'
|
||||
, 1, 'exclusive'
|
||||
, 2, 'shared current'
|
||||
, 3, 'consistent read'
|
||||
, 4, 'being read from disk'
|
||||
, 5, 'in media recovery mode'
|
||||
, 6, 'in instance recovery mode'
|
||||
,state) "Block Status"
|
||||
, Count(1) "Count"
|
||||
FROM x$bh
|
||||
GROUP BY DECODE (state
|
||||
, 0, 'free'
|
||||
, 1, 'exclusive'
|
||||
, 2, 'shared current'
|
||||
, 3, 'consistent read'
|
||||
, 4, 'being read from disk'
|
||||
, 5, 'in media recovery mode'
|
||||
, 6, 'in instance recovery mode'
|
||||
,state)
|
||||
/
|
||||
Reference in New Issue
Block a user