An estimate of the final size of the hash table.

Namespace:  BerkeleyDB
Assembly:  libdb_dotnet52 (in libdb_dotnet52.dll) Version:


public uint TableSize { get; set; }
Visual Basic (Declaration)
Public Property TableSize As UInteger
Visual C++
property unsigned int TableSize {
	unsigned int get ();
	void set (unsigned int value);


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