XmlContainer::setPageSize |
#include <DbXml.hpp>void XmlContainer::setPageSize(u_int32_t pagesize);
The XmlContainer::setPageSize method sets the size of the pages used to store documents in the database. The size is specified in bytes in the range 512 bytes to 64K bytes. The system selects a page size based on the underlying file system I/O block size if one is not explicitly set by the application. The default page size has a lower limit of 512 bytes and an upper limit of 16K bytes. Documents that are larger than a single page are stored on multiple pages.
The XmlContainer::setPageSize method may only be used before the container is opened for the first time.
The XmlContainer::setPageSize method may fail and throw XmlException, encapsulating one of the following non-zero errors:
Copyright (c) 1996-2003 Sleepycat Software, Inc. - All rights reserved.