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

Set the number of buckets in the lock object hash table in the Berkeley DB environment.

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

# Syntax

C#
    public uint TableSize { get; set; }

Visual Basic (Declaration)
    Public Property TableSize As UInteger

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

# Remarks

The table is generally set to be close to the number of lock objects in the system to avoid collisions and delays in processing of lock operations.

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

# See Also

LockingConfig Class
BerkeleyDB Namespace