XmlContainerConfig::setStatistics API Ref

#include <DbXml.hpp>

void XmlContainerConfig::setStatistics(XmlContainerConfig::ConfigState state)

XmlContainerConfig::ConfigState XmlContainerConfig::getStatistics() const


Description: XmlContainerConfig::setStatistics

Sets whether the structural statistics are stored in the container. These statisitics are used in query optimization. The default setting is UseDefault and the default is to use statistics. This value is ignored unless the container is being created or reindexed.

Structural statistics information is very useful for cost based query optimisation. Containers created with these statistics will take slightly longer to load and update, since the statistics must also be updated. In addition the statistics affect the concurrent behavior in the face of updates.

If the state is set to Off then the container is created without structural statistics. If the state is set to On or UseDefault the container is created with structural statistics.

Parameters
state The container property must have one of the following values:
XmlContainerConfig::On XmlContainerConfig::Off XmlContainerConfig::UseDefaults


APIRef

Copyright (c) 1996-2009 Oracle. All rights reserved.