Library Version 12.1.6.2

set_lk_max_locks
Prev | Appendix D. DB_CONFIG Parameter Reference | Next

## set_lk_max_locks

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

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

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.

For more information, see DB_ENV->set_lk_max_locks().

Prev | Up | Next
set_lk_max_lockers | Home | set_lk_max_objects