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
DatabaseEnvironmentConfig..::.TxnWriteNoSync Field
DatabaseEnvironmentConfig Class See Also Send Feedback

If true, Berkeley DB writes, but does not synchronously flush, the log on transaction commit.

Namespace: BerkeleyDB
Assembly: libdb_dotnet181 (in libdb_dotnet181.dll) Version: 18.1.32.0

# Syntax

C#
    public bool TxnWriteNoSync

Visual Basic (Declaration)
    Public TxnWriteNoSync As Boolean

Visual C++
    public:
    bool TxnWriteNoSync

# Remarks

This means that transactions exhibit the ACI (atomicity, consistency, and isolation) properties, but not D (durability); database integrity is maintained, but if the system fails, it is possible that some number of the most recently committed transactions may be undone during recovery. The number of transactions at risk is governed by how often the system flushes dirty buffers to disk and how often the log is checkpointed.

# See Also

DatabaseEnvironmentConfig Class
BerkeleyDB Namespace