Académique Documents
Professionnel Documents
Culture Documents
From On JOin
Active: they are needed for Rollback, UNDO_RETENTION setting is not used here,
NOSPACEERRCNT column in V$UNDOSTAT
You will get ORA-30036 unable to extend segment in Undo tablespace errors
when no more space is left to store ACTIVE Undo.
This will automatically rollback the transaction causing it.
The NOSPACEERRCNT column in V$UNDOSTAT is a good indication how many times
this has occurred.
Expired: Data in these extends is committed, the UNDO_RETENTION time has passed,
not needed for Read Consistency.
: Expired undo is old and can be reused.
: Unexpired undo is used for read consistency, retention time has not
passed yet.
: Unexpired undo can be stolen for Active undo. If this is happening you
can get ORA-01555 before Undo retention has passed.
Active extents stealing from unexpired extents, when no expired extents left for
reuse.
ORA-01555 snapshot too old errors if no Read Consistency information for a query
is available.
The SSOLDERRCNT in V$UNDOSTAT will show a count of these errors.
When the Undo mechanism requires more extents for ACTIVE extents, it is allowed to
steal UNEXPIRED extents when there are no EXPIRED extents left for reuse and it can
not allocate more free extents (autoextend maxsize reached or fixed tablespace
size). One can check the steal-count in UNXPSTEALCNT in V$UNDOSTAT
Flashback Drop and Flashback Database do not use Undo information. Flashback Drop
is using not yet recycled segment and extents and Flashback Database is a
separate mechanism using the Flash/Fast Recovery Area, by taking snapshots and
redo information.
72
===