What is an undo segment?

Are you preparing for IT certification? With practice questions, study notes, interactive quizzes, tips and technical articles, uCertify PrepKits ensure that you get a solid grasp of core technical concepts to ace your certification exam in first attempt.

What is an undo segment?

Rating:

An undo segment holds all undo data of a database when the database is running in automatic undo management mode. An undo segment is internally similar to a rollback segment that is used to hold undo data of a database when the database is running in manual undo management mode.

When a transaction modifies data in a database, the before image of the modified data is stored in an undo segment. If the transaction is rolled back, Oracle restores the original values by writing the values stored in the undo segment back to the modified rows.

During an instance recovery, the values stored in an undo segment are used to roll back the uncommitted transactions. The values stored in an undo segment also provide the transaction-level or statement-level read consistency, i.e., database users are able to see a consistent image of data even if the data is being modified by another user at the same time.


Rating:



Other articles

Click here to Article home

 
uCertify.com | Our Company | Articles | Privacy | Security | Contact Us | News and Press Release | uCertify India
MCSE: MCSA, MCTS, MCITP    JAVA Certification: SCJP, SCWCD Cisco Certification: CCNA, CCENT, A+, Network+, Security+
Oracle Certification: OCP 9i, OCP 10g, OCA 9i, OCA 10g CIW foundation    EC-212-32    CISSP    Photoshop ACE    Adobe Flash ACE
© 2008 uCertify.com. All rights reserved. All trademarks are the property of their respective owners.