Library Version 18.1.40

Appendix D. DB_CONFIG Parameter Reference
Prev |  | Next

## Appendix D. DB_CONFIG Parameter Reference

The following `DB_CONFIG` parameters can be used to manage various aspects of your application's database environment. These parameters are used when an application opens an explicitly created environment; they are not used when opening a database without an environment handle.

## DB_CONFIG Parameters

DB_CONFIG Parameters | Description
--- | ---
add_data_dir | Adds a directory to be searched for database files
home_dir | Sets the home directory for a database slice
mutex_set_align | Sets the mutex alignment
mutex_set_increment | Configures the number of additional mutexes to allocate
mutex_set_max | Configures the total number of mutexes to allocate
mutex_set_tas_spins | Specifies the number of times the test-and-set mutexes should spin without blocking
rep_set_clockskew | Sets the clock skew ratio
rep_set_config | Configures the Berkeley DB replication subsystem
rep_set_limit | Sets record transmission throttling
rep_set_nsites | Specifies the total number of sites in a replication group
rep_set_priority | Specifies the database environment's priority
rep_set_request | Sets a threshold before requesting retransmission of a missing message
rep_set_timeout | Specifies a variety of replication timeout values
repmgr_set_ack_policy | Specifies how master and client sites will handle acknowledgment
repmgr_set_incoming_queue_max | Configure the Replication Manager incoming queue size limit
repmgr_site | Identifies a Replication Manager host
set_cachesize | Sets the size of the shared memory buffer pool
set_cache_max | Sets the maximum size for set_cachesize parameter
set_create_dir | Sets the directory path to create the access method database files
set_data_len | Sets the maximum number of bytes displayed by some utilities
set_flags | Configures a database environment
set_intermediate_dir_mode | Configures the directory permissions
set_lg_bsize | Sets the size of the in-memory log buffer
set_lg_dir | Sets the path of the directory for logging files
set_lg_filemode | Sets the absolute file mode for created log files
set_lg_max | Sets the maximum size of a single file in the log
set_lg_regionmax | Sets the size of the underlying logging area
set_lk_detect | Sets the maximum number of locking entities
set_lk_max_lockers | Sets the maximum number of locking entities
set_lk_max_locks | Sets the maximum number of locks supported by the Berkeley DB environment
set_lk_max_objects | Sets the maximum number of locked objects
set_lk_partitions | Sets the number of lock table partitions in the Berkeley DB environment
set_slice_count | Sets the number of slices used for a sliced database
slice | Sets a configuration option for a database slice
log_set_config | Configures the Berkeley DB logging subsystem
set_mp_max_openfd | Limits the number of file descriptors the library will open concurrently when flushing dirty pages from the cache
set_mp_max_write | Limits the number of sequential write operations
set_mp_mmapsize | Sets the maximum file size
set_open_flags | Initializes specific subsystems of the Berkeley DB environment
set_region_dir | Sets the path of the directory for disk backed region files
set_shm_key | Configures the database environment's base segment ID
set_thread_count | Declares an approximate number of threads in the database environment
set_timeout | Sets timeout values for locks or transactions
set_tmp_dir | Specifies the directory path of temporary files
set_tx_max | Configures support of simultaneously active transactions
set_verbose | Enables/disables the Berkeley DB message output

Prev |  | Next
db_env_set_func_yield | Home | add_data_dir