| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: Concurrency in an RDB
"Cimode" <cimode_at_hotmail.com> wrote in
news:1166113032.469596.104340_at_n67g2000cwd.googlegroups.com:
>
> Christopher Browne a écrit :
>
>> In an attempt to throw the authorities off his trail, Bob Badour >> <bbadour
>> > Transactions may acquire and release many locks over the duration >> > of the transaction which may be orders of magnitude longer than the >> > duration of any lock. >> >> Are you sure they ought to release them? >>
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
>
> Behavior of locks is purely technology-and implementation-dependent.
> It is often a consequence of the RAM/disk swapping methodology used.
> Deadlock are mainly a result of strong contention preventing easy lock
> or metadata swapping...
>
>
Received on Thu Dec 14 2006 - 11:38:24 CST
![]() |
![]() |