How to find the undo tablespace expired/unexpired in oracle11g
let us we discuss how to find the undo tablespace expired /unexpired in oracle11g
SQL> SELECT tablespace_name, status, COUNT(*) AS HOW_MANY
2 FROM dba_undo_extents
3 GROUP BY tablespace_name, status;
TABLESPACE_NAME STATUS HOW_MANY
------------------------------ ------------- --------------------
UNDOTBS1 UNEXPIRED 13
UNDOTBS1 EXPIRED 48
Source: Google,ozwenolivercoelho
SQL> SELECT tablespace_name, status, COUNT(*) AS HOW_MANY
2 FROM dba_undo_extents
3 GROUP BY tablespace_name, status;
TABLESPACE_NAME STATUS HOW_MANY
------------------------------ ------------- --------------------
UNDOTBS1 UNEXPIRED 13
UNDOTBS1 EXPIRED 48
Source: Google,ozwenolivercoelho