NonDurableTxns Field

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

C#
Visual Basic
Visual C++

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

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

Namespace: BerkeleyDB
Assembly: libdb_dotnet62 (in libdb_dotnet62.dll) Version: 6.2.32.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 exhibit the ACI (atomicity, consistency, and isolation) properties, but not D (durability); database integrity persists if the application or system does not fail. 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