<xml></xml>

Collapse AllExpand All Code: All Code: Multiple Code: C# Code: Visual Basic Code: Visual C++

Berkeley DB .NET API Documentation
DatabaseConfig..::.NonDurableTxns Field
DatabaseConfig Class See Also

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

Namespace: BerkeleyDB
Assembly: libdb_dotnet48 (in libdb_dotnet48.dll) Version: 4.8.24.0

# Syntax

C#

    public bool NonDurableTxns

Visual Basic (Declaration)

    Public NonDurableTxns As Boolean

Visual C++

    public:
    bool NonDurableTxns

# Remarks

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

DatabaseConfig Class
BerkeleyDB Namespace