Re: How to handle deadlocks ?

From: Mike Segel <mikey_at_segel.com>
Date: 1996/06/18
Message-ID: <31C6138B.192B_at_segel.com>#1/1


Joe Lumbley wrote:
>
> Joachim Achtzehnter (joachim_at_softouch.bc.ca) wrote:
> : bgw_at_world.std.com (Bruce G Wilson) wrote:
>
> sybase seems to have more of a deadlock problem than Informix. I believe it
> is because they lack row-level locking. I've seen deadlocks occur even though
> the transactions are short and the locking order is the same. In sybase,
> these locks seem to be page 0 locks (whatever that is).

Even still, your database de jour should allow for timeouts. So, if you hold some resources while waiting for another, if you time out before you get the next resource, you roll back and release your resources.

-Mikey Received on Tue Jun 18 1996 - 00:00:00 CEST

Original text of this message