June 2001
Intermediate to advanced
688 pages
19h 18m
English
#include <db.h> int DBENV→set_lk_max(DB_ENV *dbenv, u_int32_t max);
Note: The DBENV→set_lk_max function interface has been deprecated in favor of the DBENV→set_lk_max_locks, DBENV→set_lk_max_lockers, and DBENV→set_lk_max_objects functions. Please update your applications.
Set each of the maximum number of locks, lockers, and lock objects supported by the Berkeley DB lock subsystem to max. This value is used by DBENV→open to estimate how much space to allocate for various lock-table data structures. For specific information on configuring the size of the lock subsystem, see “Configuring Locking: Sizing the System.”
The DBENV→set_lk_max interface may be used only to configure Berkeley DB before the DBENV→open interface ...