Does Oracle overwrite rollback information for uncommitted transactions?

Does Oracle overwrite rollback information for uncommitted transactions?

If in Oracle 9i or 10g the undo_retention parameter is set to 900 sec and after that period if unexpired (uncommitted) data is overwritten by other transactions in some undo segment, then how does rollback work in that case? As undo has been overwritten which was supposed to be used for rollback?

    Requires Free Membership to View

    By submitting your registration information to SearchOracle.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of SearchOracle.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

Oracle will not overwrite the rollback information for uncommitted transactions, even if the UNDO_RETENTION time has passed. Oracle will overwrite this information only for committed transactions. So if a transaction runs for longer than 900 seconds in your example, you will still be able to rollback that transaction.

This was first published in June 2007

Join the conversationComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.