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
BTreeDatabaseConfig..::.MinKeysPerPage Property
BTreeDatabaseConfig 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_dotnet181 (in libdb_dotnet181.dll) Version: 18.1.32.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 are 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 is ignored.

# See Also

BTreeDatabaseConfig Class
BerkeleyDB Namespace