Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Lost Upate Prevention with MVCC and IsoLevel Serializable
Jo Siffert wrote:
> 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?
Oracle sees that T2 is trying to update a row which has changed since the beginning of the transaction. Since the isolation level is SERIALIZABLE, Oracle aborts the update (*not* the whole transaction).
BTW you surely know that, but T1 does not need to run with this isolation level in your example. Received on Sun Jul 23 2006 - 09:32:53 CDT