June 2001
Intermediate to advanced
688 pages
19h 18m
English
db_deadlock [-Vvw] [-a o | y] [-h home] [-L file] [-t sec]
The db_deadlock utility traverses the database lock structures, and aborts a lock request each time it detects a deadlock. By default, a random lock request is chosen to be aborted. This utility should be run as a background daemon, or the underlying Berkeley DB deadlock detection interfaces should be called in some other way, whenever there are multiple threads or processes accessing a database and at least one of them is modifying it.
The options are as follows:
-a When a deadlock is detected, abort the oldest (o) lock request or the youngest (y) lock request.
-h Specify a home directory for the database environment; by default, the current working directory ...