Library Version 18.1.40

Heap Access Method
Prev | Chapter 13. Upgrading Berkeley DB 11.2.5.1 applications to Berkeley DB 11.2.5.2 | Next

## Heap Access Method

Databases can now be configured as heaps by passing the access type `DB_HEAP` to DB->open(). Heap size can be configured with DB->set_heapsize(), and DB->stat() now returns heap statistics in the structure `DB_HEAP_STAT` when applied to a heap database.

### New Functions

- DB->set_heapsize()
- DB->get_heapsize()

### Modified Functions

- DB->open() now accepts `DB_HEAP` as an access type.
- DB->stat() now returns heap statistics in the structure `DB_HEAP_STAT`.

### New Definition

- `DB_HEAP_RID` is the defined heap key value.

Prev | Up | Next
Group Membership in Repmgr | Home | Enabling Transaction Snapshots in the SQL Layer