XmlContainerConfig::setPageSize

#include <DbXml.hpp>

void XmlContainerConfig::setPageSize(u_int32_t pageSize) 

This 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. If no page size is specified the system will create containers with page size 8192 for node storage containers and 16384 for wholedoc storage containers. Page size affects the amount of I/O performed as well as granularity of locking as Berkeley DB performs page-level locking. These needs are often at odds with one another. The page size cannot be changed once a container has been created. This value is ignored unless the container is being created.

Parameters

pageSize

The page size in bytes.

Class

XmlContainerConfig

See Also

XmlContainerConfig Methods