TableSize Property

BerkeleyDB

An estimate of the final size of the hash table.

Namespace:  BerkeleyDB
Assembly:  libdb_dotnet48 (in libdb_dotnet48.dll) Version: 4.8.24.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

In order for the estimate to be used when creating the database, FillFactor must also be set. If the estimate or fill factor are not set or are set too low, hash tables will still expand gracefully as keys are entered, although a slight performance degradation may be noticed.

If the database already exists, this setting will be ignored.

See Also