Library Version 12.1.6.0

set_timeout
Prev | Appendix B. DB_CONFIG Parameter Reference | Next

## set_timeout

Sets timeout values for locks or transactions in the database environment, and the wait time for a process to exit the environment when DB_REGISTER recovery is needed.

The syntax for setting timeout value for database environment's lock, before recovery is started, and transaction is as follows:

- DB_SET_LOCK_TIMEOUT

  Configures the database environment's lock timeout value. The syntax of the entry in the DB_CONFIG file is a single line with the string `set_lock_timeout`, one or more whitespace characters, and the lock timeout value.

- DB_SET_REG_TIMEOUT

  Sets the timeout value on how long to wait for processes to exit the environment before recovery is started. The syntax of the entry in the DB_CONFIG file is a single line with the string `set_reg_timeout`, one or more whitespace characters, and the wait timeout value.

- DB_SET_TXN_TIMEOUT

  Sets the timeout value for transactions in this database environment. The syntax of the entry in the DB_CONFIG file is a single line with the string `set_txn_timeout`, one or more whitespace characters, and the transaction timeout value

For more information, see DbEnv::set_timeout().

Prev | Up | Next
set_thread_count | Home | set_tmp_dir