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:
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.
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.
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 DB_ENV->set_timeout().