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

The minimum number of key/data pairs intended to be stored on any single Btree leaf page.

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

# Syntax

C#
    public uint MinKeysPerPage { get; set; }

Visual Basic (Declaration)
    Public Property MinKeysPerPage As UInteger

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

# Remarks

This value is used to determine if key or data items will be stored on overflow pages instead of Btree leaf pages. For more information on the specific algorithm used, see the Berkeley DB Reference Guide. The value specified must be at least 2; if not explicitly set, a value of 2 is used.

If the database already exists, MinKeysPerPage will be ignored.

# See Also

SecondaryBTreeDatabaseConfig Class
BerkeleyDB Namespace