TxnNoSync 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
DatabaseEnvironmentConfig..::.TxnNoSync Field
DatabaseEnvironmentConfig Class See Also

If true, Berkeley DB will not write or synchronously flush the log on transaction commit.

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

# Syntax

C#
    public bool TxnNoSync

Visual Basic (Declaration)
    Public TxnNoSync As Boolean

Visual C++
    public:
    bool TxnNoSync

# Remarks

This means that transactions 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, it is possible some number of the most recently committed transactions may be undone during recovery. The number of transactions at risk is governed by how many log updates can fit into the log buffer, how often the operating system flushes dirty buffers to disk, and how often the log is checkpointed.

# See Also

DatabaseEnvironmentConfig Class
BerkeleyDB Namespace