Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

uncommited redo changes

stee1ratDec 18 2012 — edited Dec 18 2012
Hello, All!

I have another stupid question to ask :)

As I understand a transaction mechanism in oracle: all uncommitted changes generates a redo records that is stored in log buffer. After session commits all this changes syncs with redo log file, causing committing session to wait for a log file sync event. As long as log buffer is very small it's always dumps to redo log file in background (depending on it's filling or every 3 secs).

So i wonder what happens when the session not commits it's changes, but invokes rollback. How database knows that it shouldn't apply those changes from redo in case of instance recovery?

Edited by: stee1rat on Dec 18, 2012 10:33 AM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 15 2013
Added on Dec 18 2012
4 comments
891 views