Logical Structure of Undo Segments in the Database

Undo segments are used to save the old value of a changed data element whenever a process changes any data in the database. It stores the location of the data as well as the value of the data as it existed before it was modified.

The header of an undo segment contains an internal transaction table where the information about the current transaction using the undo segment gets stored. A serial transaction uses a single undo segment in which you can store all the undo information for that transaction, and several concurrent transactions can write to the same undo segment.

Oracle uses undo segments for several purposes. Those purposes are covered in the following section.

Get Oracle 9i Fundamentals I Exam Cram™ 2 (Exam 1Z0-031) now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.