RegionSize Property

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
LogConfig..::.RegionSize Property
LogConfig Class See Also Send Feedback

Te size of the underlying logging area of the Berkeley DB environment, in bytes.

Namespace: BerkeleyDB
Assembly: libdb_dotnet53 (in libdb_dotnet53.dll) Version: 5.3.28.0

# Syntax

C#
    public uint RegionSize { get; set; }

Visual Basic (Declaration)
    Public Property RegionSize As UInteger

Visual C++
    public:
    property unsigned int RegionSize {
    	unsigned int get ();
    	void set (unsigned int value);
    }

# Remarks

By default, or if the value is set to 0, the default size is approximately 60KB. The log region is used to store filenames, and so may need to be increased in size if a large number of files will be opened and registered with the specified Berkeley DB environment's log manager.

If the database environment already exists when Open(String, DatabaseEnvironmentConfig) is called, the value of RegionSize will be ignored.

# See Also

LogConfig Class
BerkeleyDB Namespace