Library Version 11.2.5.3

Dynamic Environment Configuration
Prev | Chapter 10. Upgrading Berkeley DB 11.2.5.1 applications to Berkeley DB 11.2.5.2 | Next

## Dynamic Environment Configuration

Memory is now allocated incrementally as needed, instead of all at once during environment initialization, for structures that support locks, transactions, threads, and mutexes. With this change new functions have been added that configure how much memory is allocated initially, and how much that memory is allowed to grow. The old memory configuration functions have been deprecated.

### New Functions

- DB_ENV->set_memory_init()
- DB_ENV->get_memory_init()
- DB_ENV->set_memory_max()
- DB_ENV->get_memory_max()
- DB_ENV->set_lk_tablesize()
- DB_ENV->get_lk_tablesize()
- DB_ENV->mutex_set_init()
- DB_ENV->mutex_get_init()

### Deprecated Functions

- DB_ENV->mutex_set_max()
- DB_ENV->mutex_get_max()
- DB_ENV->set_lk_max_lockers()
- DB_ENV->get_lk_max_lockers()
- DB_ENV->set_lk_max_locks()
- DB_ENV->get_lk_max_locks()
- DB_ENV->set_lk_max_objects()
- DB_ENV->get_lk_max_objects()
- DB_ENV->set_thread_count()
- DB_ENV->get_thread_count()
- DB_ENV->set_tx_max()
- DB_ENV->get_tx_max()

Prev | Up | Next
Read Only flag for DBT | Home | Exclusive Transactions in the SQL Layer