| Berkeley DB Environment: db_appinit | Description | 
|---|---|
| DB_CREATE | Create underlying files | 
| DB_INIT_LOCK | Initialize the lock subsystem | 
| DB_INIT_LOG | Initialize the log subsystem | 
| DB_INIT_MPOOL | Initialize the shared memory buffer pool | 
| DB_INIT_TXN | Initialized the transaction subsystem | 
| DB_MPOOL_PRIVATE | Create a private memory pool | 
| DB_NOMMAP | Do not memory map database files | 
| DB_RECOVER | Run normal recovery | 
| DB_RECOVER_FATAL | Run catastrophic recovery | 
| DB_THREAD | Enable free-threading | 
| DB_TXN_NOSYNC | Do not synchronously flush the log on commit | 
| DB_USE_ENVIRON | Use environment variables | 
| DB_USE_ENVIRON_ROOT | Use environment variables (root only) | 
| Berkeley DB Access Methods | Description | 
| DB_APPEND | Append to the database | 
| DB_CREATE | Create underlying files | 
| DB_DELIMITER | Specify variable-length record delimiter | 
| DB_DUP | Support duplicate data items | 
| DB_DUPSORT | Sort duplicate data items | 
| DB_FIXEDLEN | Specify fixed-length records | 
| DB_NOMMAP | Do not map the file | 
| DB_NOOVERWRITE | Do not overwrite existing items | 
| DB_NOSYNC | Do not flush cached information on close | 
| DB_PAD | Specify fixed-length record pad byte | 
| DB_RDONLY | Open the file read-only | 
| DB_RECNUM | Support retrieval from btrees using record numbers | 
| DB_RECORDCOUNT | Return a record count | 
| DB_RENUMBER | Cause logical record numbers to be mutable | 
| DB_SET_RECNO | Retrieve a numbered item | 
| DB_SNAPSHOT | Snapshot backing source file on startup | 
| DB_THREAD | Enable free-threading | 
| DB_TRUNCATE | Logically truncate the database | 
| Berkeley DB Access Method (Cursors) | Description | 
| DB_AFTER | Store after the cursor | 
| DB_BEFORE | Store before the cursor | 
| DB_CURRENT | Overwrite the cursor item | 
| DB_FIRST | Return the first item | 
| DB_GET_RECNO | Return an item's record number | 
| DB_KEYFIRST | Store as the first of duplicates | 
| DB_KEYLAST | Store as the last of duplicates | 
| DB_LAST | Return the last item | 
| DB_NEXT | Return the next item | 
| DB_PREV | Return the previous item | 
| DB_SET | Return a specific item | 
| DB_SET_RANGE | Return the smallest item greater than or equal to item | 
| DB_SET_RECNO | Return an item by record number | 
| Berkeley DB Locking Subsystem | Description | 
| DB_CREATE | Create underlying files | 
| DB_LOCK_CONFLICT | Run deadlock detector if a lock conflict has occurred | 
| DB_LOCK_NOWAIT | Do not wait for unavailable lock | 
| DB_THREAD | Enable free-threading | 
| Berkeley DB Logging Subsystem | Description | 
| DB_ARCH_ABS | Return names as absolute paths | 
| DB_ARCH_DATA | Return database files to be archived | 
| DB_ARCH_LOG | Return all log file names | 
| DB_CHECKPOINT | Checkpoint the log | 
| DB_CHECKPOINT | Return last checkpoint | 
| DB_CREATE | Create underlying files | 
| DB_CURLSN | Return the LSN of the next record | 
| DB_CURRENT | Return current log record | 
| DB_FIRST | Return first log record | 
| DB_FLUSH | Flush the log to disk | 
| DB_LAST | Return last log record | 
| DB_NEXT | Return next log record | 
| DB_PREV | Return previous log record | 
| DB_SET | Return a specific log record | 
| DB_THREAD | Enable free-threading | 
| Berkeley DB Shared Memory Buffer Pool | Description | 
| DB_CREATE | Create underlying files | 
| DB_CREATE | Create underlying files | 
| DB_MPOOL_CLEAN | Mark the page clean | 
| DB_MPOOL_CLEAN | Mark the page clean | 
| DB_MPOOL_CREATE | Create a specific page | 
| DB_MPOOL_DIRTY | Mark the page dirty | 
| DB_MPOOL_DIRTY | Mark the page dirty | 
| DB_MPOOL_DISCARD | Mark the page for early discard | 
| DB_MPOOL_DISCARD | Mark the page for early discard | 
| DB_MPOOL_LAST | Return the last page | 
| DB_MPOOL_NEW | Create a new page | 
| DB_MPOOL_PRIVATE | Create an unshared memory pool | 
| DB_NOMMAP | Do not map any files | 
| DB_NOMMAP | Do not map the file | 
| DB_RDONLY | Enable free-threading | 
| DB_THREAD | Enable free-threading | 
| Berkeley DB Transaction Subsystem | Description | 
| DB_CREATE | Create underlying files | 
| DB_THREAD | Enable free-threading | 
| DB_TXN_NOSYNC | Do not synchronously flush the log on commit | 
| Berkeley DB System Configuration | Description | 
| DB_FUNC_CLOSE | System file close function | 
| DB_FUNC_DIRFREE | System directory listing free function | 
| DB_FUNC_DIRLIST | System directory listing function | 
| DB_FUNC_EXISTS | System file exists function | 
| DB_FUNC_FREE | System memory free function | 
| DB_FUNC_FSYNC | System file sync function | 
| DB_FUNC_IOINFO | System file I/O information function | 
| DB_FUNC_MALLOC | System memory allocation function | 
| DB_FUNC_MAP | System file mapping function | 
| DB_FUNC_OPEN | System file open function | 
| DB_FUNC_READ | System file read function | 
| DB_FUNC_REALLOC | System memory reallocation function | 
| DB_FUNC_RUNLINK | System region removal function | 
| DB_FUNC_SEEK | System file seek function | 
| DB_FUNC_SLEEP | System sleep function | 
| DB_FUNC_UNLINK | System file unlink function | 
| DB_FUNC_UNMAP | System region release function | 
| DB_FUNC_WRITE | System file write function | 
| DB_FUNC_YIELD | System processor yield function | 
| DB_MUTEXLOCKS | Toggle mutex locks on/off | 
| DB_REGION_ANON | Toggle anonymous memory regions | 
| DB_REGION_INIT | Initialize regions during creation | 
| DB_REGION_NAME | Toggle anonymous memory regions | 
| DB_TSL_SPINS | Specify mutex lock spin count |