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.
DB_HEAP as an access type.
DB_HEAP_STAT.