Cloudscape Properties,
Page 25 of 44


[top]
[prev]
[next]
Documentation Top
Global Index
Reference Manual
TOC Index
Grammar index
Developer's Guide
TOC Index
Tuning Cloudscape
TOC Index

cloudscape.locks.deadlockTimeout

Function

Determines the number of seconds after which Cloudscape checks whether a transaction waiting to obtain a lock is involved in a deadlock. If a deadlock has occurred, and Cloudscape chooses the transaction as a deadlock victim, Cloudscape aborts the transaction. The transaction receives an SQLException of SQLState 40001. If the transaction is not chosen as the victim, it continues to wait for a lock if cloudscape.locks.waitTimeout is set to a higher value than the value of cloudscape.locks.deadlockTimeout.

If this property is set to a higher value than cloudscape.locks.waitTimeout, no deadlock checking occurs. See cloudscape.locks.waitTimeout.

NEW: The behavior of the cloudscape.locks.deadlockTimeout property is new in Version 3.0. In prior versions, this property specified the amount of time a transaction waited for a lock before Cloudscape assumed that a deadlock occurred. In Version 3.0, Cloudscape provides real deadlock checking.

For more information about deadlock checking, see “Deadlocks”

Default

60 seconds.

Example

cloudscape.locks.deadlockTimeout=30

Scope

database-wide (publishable)

system-wide

Dynamic or Static

Dynamic; the change takes effect immediately. For information about dynamic changes to properties, see “Dynamic or Static Changes to Properties”.

[top]
[prev]
[next]


Cloudscape Version 3.0
For technical support, go to: www.cloudscape.com and click Support.
Copyright © 1998 and 1999 Cloudscape, Inc. All rights reserved.