Set the number of buckets in the lock object hash table in the
Berkeley DB environment.
Namespace:
BerkeleyDBAssembly: 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.