Library Version 18.1.40

mutex_set_max
Prev | Appendix B. DB_CONFIG Parameter Reference | Next

## mutex_set_max

Configures the total number of mutexes to allocate. Berkeley DB allocates a default number of mutexes based on the initial configuration of the database environment. That default calculation may be too small if the application has an unusual need for mutexes. This parameter is used to specify an absolute number of mutexes to allocate.

The syntax of this parameter in the DB_CONFIG file is a single line with the string `mutex_set_max`, one or more whitespace characters, and the total number of mutexes. Because the DB_CONFIG file is read when the database environment is opened, it will silently overrule configuration done before that time.

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

Prev | Up | Next
mutex_set_increment | Home | mutex_set_tas_spins