<xml></xml>

Collapse All Expand 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 Send Feedback

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

Namespace: BerkeleyDB
Assembly: libdb_dotnet53 (in libdb_dotnet53.dll) Version: 5.3.28.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