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

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

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

SecondaryQueueDatabaseConfig Class
BerkeleyDB Namespace