db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dag.wan...@oracle.com (Dag H. Wanvik)
Subject Re: Derby Locks - best practices
Date Fri, 01 Jun 2012 23:25:53 GMT
Pavel Bortnovskiy <pbortnovskiy@jefferies.com> writes:

> Besides best practices to avoid timeouts and deadlocks, I would like
> to ask the following questions:
>
> 1)      What's the default length of lock timeouts?

According to

http://db.apache.org/derby/docs/10.8/ref/rrefproper10607.html

derby.locks.deadlockTimeout default is 20 seconds.

This setting should be seen in conjunction with that of
derby.locks.waitTimeout (usually deadlockTimeout is lower), cf advice
here:

http://db.apache.org/derby/docs/10.8/devguide/cdevconcepts16400.html


Mime
View raw message