Assembly: libdb_dotnet181 (in libdb_dotnet181.dll) Version: 18.1.32.0
Syntax
C# |
---|
public uint PageSize { get; set; } |
Visual Basic (Declaration) |
---|
Public Property PageSize As UInteger |
Visual C++ |
---|
public: property unsigned int PageSize { unsigned int get (); void set (unsigned int value); } |
Remarks
The minimum page size is 512 bytes, the maximum page size is 64K bytes, and the page size must be a power-of-two. If the page size is not explicitly set, one is selected based on the underlying filesystem I/O block size. The automatically selected size has a lower limit of 512 bytes and an upper limit of 16K bytes.
For information on tuning the Berkeley DB page size, see the "Selecting a page size" section in the Programmer's Reference Guide.
If creating additional databases in a single physical file, this parameter is ignored and the page size of the existing databases is used.