Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Bookish Questions need Ideas
Thanks Sir,
Thanks for your reply.I got your points.But one thing is there.
I am explaining through an example
'-------------------------'
Step1: Now I am updating the table
So before Commit
Rollback Segment Stores
|----------|--------------|
|Col1 |Col2 |
|----------|--------------|
|1 |A |
|----------|--------------|
|2 |B |
|----------'--------------|
|... 100 records |
'-------------------------'
'-------------------------'
After Commit
Database Table Remains
But Users are now getting data from
Database table only.
|----------|--------------|
|Col1 |Col2 |
|----------|--------------|
|2 |A |
|----------|--------------|
|3 |B |
|----------'--------------|
|... 100 records |
'-------------------------'
But
Rollback Segment remain storing
these records or releasing this.
|----------|--------------|
|Col1 |Col2 |
|----------|--------------|
|1 |A |
|----------|--------------|
|2 |B |
|----------'--------------|
|... 100 records |
'-------------------------' ==================================
|----------|--------------|
|Col1 |Col2 |
|----------|--------------|
|2 |A |
|----------|--------------|
|3 |B |
|----------'--------------|
|... 100 records |
'-------------------------'
'-------------------------' =========================================Q2.Why Oracle immediately updates tables in original database and keep the data in rollback segments.As a little programmer's point of view if it store the data temporarily in Rollback segment and after "commiting" it updates that orginal database what is the low sound in this concept.Because oracle is used for robust data storage.why it is making the prototype of huge data in Rollback segments.