Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Lost Upate Prevention with MVCC and IsoLevel Serializable
Hi,
I have a question regarding MVCC. If I have understood the concepts of MVCC correctly, lost updates would be possible even when isolation leven 'serializable' is used. Is this correct?
Example for 2 Transactions T1, T2 accessing the same data item x, using IsoLevel 'serializable':
T1: begin T2: begin T1: read x, version 1
--> Lost Update
In case of a SS2PL scheduler, the schedule would yield a deadlock. I guess Oracle would abort T2 with "Cannot serialize access for this transaction", but how does it notice?
Thanks,
Jo Received on Sun Jul 23 2006 - 05:32:01 CDT