Assembly: libdb_dotnet48 (in libdb_dotnet48.dll) Version: 4.8.24.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 Selecting a page size in the Programmer's Reference Guide.
If creating additional databases in a single physical file, this parameter will be ignored and the page size of the existing databases will be used.