set_lk_max_lockers
Prev | Appendix B. DB_CONFIG Parameter Reference | Next

## set_lk_max_lockers

Sets the maximum number of locking entities supported by the Berkeley DB environment. This value is used by Berkeley DB to estimate how much space to allocate for various lock-table data structures. When using the DB, the default value is 1,000 lockers. When using the BDB SQL interface, the default value is 2,000 lockers.

The syntax of this parameter in the `DB_CONFIG` file is a single line with the string `set_lk_max_lockers`, one or more whitespace characters, and the number of lockers.

If the database environment already exists when this parameter is changed, it is ignored. To change this value after the environment has been created, re-create your environment as described in the DB_CONFIG File.

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

Prev | Up | Next
set_lk_detect | Home | set_lk_max_locks