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

The size of the extents used to hold pages in a QueueDatabase, specified as a number of pages.

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

# Syntax

C#
    public uint ExtentSize { get; set; }

Visual Basic (Declaration)
    Public Property ExtentSize As UInteger

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

# Remarks

Each extent is created as a separate physical file. If no extent size is set, the default behavior is to create only a single underlying database file.

For information on tuning the extent size, see Selecting a extent size in the Programmer's Reference Guide.

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

# See Also

QueueDatabaseConfig Class
BerkeleyDB Namespace