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

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

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

BTreeDatabaseConfig Class
BerkeleyDB Namespace