UNDO Tablespace
The undo tablespace, has undo segments. The each undo segment is composed by undo extents. When transactions hit a database and they need undo space the allocation happens in the following sequence: 1. Allocate an extent in an undo segment which has no active transaction. Oracle tries to distribute transactions over all undo segments. 2. If no undo segment found then oracle tries to online an off-line undo segment and use it. 3. If no undo segments to online, then we create a new undo segment and use it. 4. If space does not permit creation of undo segment, then we try to reuse an expired extent from the existing undo segments. For a running transaction associated with undo segment/ extent, if it needs more undo space then: 1. If the current extent has more free blocks then use the next free block that is all ready allocated to the extent. 2. If the current extent does not have free blocks and if the next extent of the segment has expired then wrap in the the next extent and return the...