If true, Berkeley DB will not write log records for this database.

Namespace:  BerkeleyDB
Assembly:  libdb_dotnet52 (in libdb_dotnet52.dll) Version:


public bool NonDurableTxns
Visual Basic (Declaration)
Public NonDurableTxns As Boolean
Visual C++
bool NonDurableTxns


If Berkeley DB does not write log records, updates of this database will exhibit the ACI (atomicity, consistency, and isolation) properties, but not D (durability); that is, database integrity will be maintained, but if the application or system fails, integrity will not persist. The database file must be verified and/or restored from backup after a failure. In order to ensure integrity after application shut down, the database must be synced when closed, or all database changes must be flushed from the database environment cache using either Checkpoint()()() or SyncMemPool()()(). All database objects for a single physical file must set NonDurableTxns, including database objects for different databases in a physical file.

See Also