Cloudscape Properties
Page 27 of 47

cloudscape.locks.deadlockTrace

Function

Causes a stack trace of all threads involved in deadlocks (not just the victims) to be written to the error log (typically the cloudscape.LOG file). This property is meaningful only if the cloudscape.locks.monitor property is set to true.

NOTE: This level of debugging is intrusive: it may alter the timing of the application, reduce performance severely, and produce a large error log file. It should be used with care.

Default

False.

Example

-- system property
cloudscape.locks.deadlockTrace=true

CALL PropertyInfo.setDatabaseProperty(
    'cloudscape.locks.deadlockTrace', 'true')

-- publishing a database-wide property
CREATE PUBLICATION APub
ADD TARGET DATABASE PROPERTY
cloudscape.locks.deadlockTrace=
    'true'

Scope

system-wide

database-wide (publishable)

Dynamic or Static

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