The DatabaseConfig type exposes the following members.
Enclose the open call within a transaction. If the call succeeds, the open operation will be recoverable and all subsequent database modification operations based on this handle will be transactionally protected. If the call fails, no database will have been created.
The byte order for integers in the stored database metadata. The host byte order of the machine where the Berkeley DB library was compiled is the default value.
The size of the shared memory buffer pool -- that is, the cache.
If true, do checksum verification of pages read into the cache from the backing filestore.
The Berkeley DB environment within which to create a database. If null, the database will be created stand-alone; that is, it is not part of any Berkeley DB environment.
The mechanism for reporting error messages to the application.
The prefix string that appears before error messages issued by Berkeley DB.
Cause the database object to be free-threaded; that is, concurrently usable by multiple threads in the address space.
Do not map this database into process memory.
If true, Berkeley DB will not write log records for this database.
The cache priority for pages referenced by the database.
Open the database for reading only. Any attempt to modify items in the database will fail, regardless of the actual permissions of any underlying files.
Support transactional read operations with degree 1 isolation.
Physically truncate the underlying file, discarding all previous databases it might have held.
Open the database with support for multiversion concurrency control.