Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> undo and redo
Hello All,
Sometimes I really get confused about the flow of data w.r.t undo
(rollback) and redo although
I'm pretty clear about the intentions of undo and redo data
structures.
Let us say, table T (with one column C) as got value V (only one row). Now user issue following statement:
UPDATE TABLE T SET C = M My understanding of data flow in this scenario is,
Graphical representation of the above steps is as follows.
Data section Undo section Redo Pool of Buffer cache of buffer cache block 1 block 2 ------------------------------------------------------------
|-------| |-------| |-------| |-------|
| V | | ? | | ? | | ? |
|-------| |-------| |-------| |-------|
------------------------------------------------------------
|-------| |-------| |-------| |-------|
| V | | V | | ? | | ? |
|-------| |-------| |-------| |-------|
------------------------------------------------------------
|-------| |-------| |-------| |-------|
| M | | V | | ? | | ? |
|-------| |-------| |-------| |-------|
------------------------------------------------------------
|-------| |-------| |-------| |-------|
| M | | V | | M | | ? |
|-------| |-------| |-------| |-------|
------------------------------------------------------------
|-------| |-------| |-------| |-------|
| M | | V | | M | | V |
|-------| |-------| |-------| |-------|
------------------------------------------------------------
Please correct if my understanding is wrong.
Thanks in advance,
Santhosh.
Received on Mon Oct 13 2003 - 10:02:22 CDT