Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: deadlocks between single update statements ?
Jonathan Lewis wrote:
> <hasta_l3_at_hotmail.com> wrote in message > news:1159000862.384129.73710_at_i3g2000cwc.googlegroups.com...
> If the row updates are in exactly the same > order, the second transaction will wait for > the first transaction to commit or rollback. > > If the row updates are in a different order > you will get a deadlock. >
> > a) Serialize the two updates > b) Program for deadlock detection so that > you can rollback and retry. >
Why not SELECT FOR UPDATE SKIP LOCKED?
-- Daniel Morgan University of Washington Puget Sound Oracle Users GroupReceived on Sat Sep 23 2006 - 11:14:43 CDT
![]() |
![]() |