Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Effective deadlock handling

Re: Effective deadlock handling

From: VC <boston103_at_hotmail.com>
Date: Mon, 05 Jan 2004 11:47:43 GMT
Message-ID: <y9cKb.748292$Tr4.2069570@attbi_s03>


Daniel:

"Daniel Morgan" <damorgan_at_x.washington.edu> wrote in message news:1073278668.569595_at_yasure...
> VC wrote:
> > Daniel,
> >
> > Yes, you are quite right regarding the 'SKIP LOCKED' modifier.
> >
> > However, the SKIP LOCKED has several potential issues:
> >
> > 1. it's undocumented;
> > 2. it's not supported by Oracle for anything besides AQ;
> > 3. it was designed to be used for Advanced Queueing only;
> >
> > Rgds.
> >
> > VC
>
> You are correct on all points.
>
> Any comments with respect to the use of NOWAIT?

Well, SELECT FOR UPDATE with the NOWAIT modifier will not cause a dead-lock at the expence of more complex application logic.

VC

>
> --
> Daniel Morgan
> http://www.outreach.washington.edu/ext/certificates/oad/oad_crs.asp
> http://www.outreach.washington.edu/ext/certificates/aoa/aoa_crs.asp
> damorgan_at_x.washington.edu
> (replace 'x' with a 'u' to reply)
>
Received on Mon Jan 05 2004 - 05:47:43 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US