ZeroOnCreate Field

BerkeleyDB

If true, zero all pages of a log file when that log file is created.

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

Syntax

C#
public bool ZeroOnCreate
Visual Basic (Declaration)
Public ZeroOnCreate As Boolean
Visual C++
public:
bool ZeroOnCreate

Remarks

This has shown to provide greater transaction throughput in some environments. The log file will be zeroed by the thread which needs to re-create the new log file. Other threads may not write to the log file while this is happening.

See Also