Rollback Segment vs Redo log
Hi guys, I have come across below paragraph today …
“ A Rollback Segment is a database object containing before-images of data written to the database. Rollback segments are used to:
• Undo changes when a transaction is rolled back
• Ensure other transactions do not see uncommitted changes made to the database
• Recover the database to a consistent state in case of failures “
My understanding is that Oracle also stores before image for committed and uncommitted transactions in the redo-log files! So the question is why does Oracle need rollback segment? Why cant Oracle provide rollback functionality/read consistency and recovery by using the redo log files?
Thanks!