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

Home -> Community -> Usenet -> comp.databases.theory -> Re: Concurrency in an RDB

Re: Concurrency in an RDB

From: Marshall <marshall.spight_at_gmail.com>
Date: 14 Dec 2006 11:16:04 -0800
Message-ID: <1166123764.017680.138410@16g2000cwy.googlegroups.com>


On Dec 14, 9:38 am, "NENASHI, Tegiri" <tnmai..._at_gmail.com> wrote:
> "Cimode" <cim..._at_hotmail.com> wrote innews:1166113032.469596.104340_at_n67g2000cwd.googlegroups.com:
>
> > There is NO direct relationship between locks and deadlocks.
>
> It is not true. Locks can cause dead locks:
>
> Process1: ->lock Resource1--work 2 minutes -> lock Resource2 -> wait for
> Process2 ->dead lock
> Process2: ->lock Resource2--work 1 minute -> lock Resource1 -> wait for
> Process1 ->dead lock
>

Yours was more informative, but mine was funnier.

Actually, come to think of it, "no direct relationship between locks and deadlocks" was the funny one.

Marshall Received on Thu Dec 14 2006 - 13:16:04 CST

Original text of this message

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