The <databasestatistics> database configuration
element
The <database> element in file database-config.xml
contains a single occurrence of subelement
<databasestatistics>. Use this element to control how
PolicyCenter generates database statistics
statements.
The <databasestatistics> element has the following syntax. The following code sample shows required attributes in bold font.
<database>
<databasestatistics databasedegree="integer" incrementalupdatethresholdpercent="integer"
numappserverthreads="integer" samplingpercentage="integer"
useoraclestatspreferences="true|false">
<!-- Sets database statistics options for the named table -->
<tablestatistics action="delete|keep|update|force" databasedegree="integer" name="string"
samplingpercentage="integer">
<!-- Sets database statistics options for the named column on the named table -->
<histogramstatistics name="string" numbbuckets="integer" />
</tablestatistics>
</databasestatistics>
</database>
The following list describes the attributes that you can configure on the <databasestatistics> element. All of
these attributes are optional. See The <databasestatistics> database configuration element for more information on these
attributes.
|
|
On Oracle, this attribute controls the degree of database parallelism that Oracle uses in executing each individual statement. The default is 1. PolicyCenter uses the value of this attribute for all statements. SQL Server ignores the |
|
|
This attribute specifies the percentage of table data that must have changed since the last statistics process for the incremental statistics generation batch process to update statistics for the table. |
|
|
On both Oracle and SQL Server, the
|
|
|
The behavior of this attribute depends on the database type. For Oracle, Guidewire recommends that you always set this value to 0 to enable Oracle auto-sampling. |
useoraclestatspreferences |
On Oracle, this attribute sets the database statistics preferences
to be able to use the Oracle Autotask infrastructure instead of
the |
The <databasestatistics> element has the following subelement.
|
Provides overrides of database-wide statistics settings defined on the
|
See also
- The database configuration file
- Understanding database statistics
- Configuring database statistics generation
- The <databasestatistics> database configuration element
- The <tablestatistics> database configuration element
- The Database Statistics screen
- Using Oracle AutoTask for statistics generation
- system_tools command options
