Take the 2-minute tour ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

what is the equivalent in Oracle for these field (taken from DB2)?

Interval for checking deadlock (ms) (DLCHKTIME) Lock timeout (sec) (LOCKTIMEOUT)

Thanks,

share|improve this question
add comment

1 Answer

In general, there are no equivalent settings. Checking for deadlocks is something that happens automatically, there is no setting that configures when that checking is done. Oracle generally has no system-level timeout for locks. You can set DISTRIBUTED_LOCK_TIMEOUT but that only affects how long a distributed transaction would wait for a lock to be acquired, it has no impact on non-distributed transactions. Beyond that, a session will wait for a lock indefinitely unless the session requesting the lock specifies a timeout (i.e. SELECT ... FOR UPDATE WAIT n).

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.