Undo Tablespaces

Transactions can complete either with a commit or a rollback. A typical transaction ends with a commit, which permanently records the transaction's changes to the database. A rollback undoes all effects of the transaction, as though the transaction never occurred. To provide for transaction rollback, Oracle must keep track of the data that a transaction changes until the transaction commits or rolls back.

Oracle uses a special type of tablespace called an undo tablespace to record rollback data for all transactions. Should you choose to roll back a transaction, Oracle reads the necessary data from the database's undo tablespace to rebuild the data as it existed before the transaction changed it.

Undo Segments

To distribute the ...

Get Hands-On Oracle Database 10g Express Edition for Windows 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.