The <databasestatistics> database configuration
element
You use the <databasestatistics> element in
database-config.xml to specify database statistic
parameters that override the database defaults specified on the database. This
element has the following attributes.
|
|
On Oracle, this attribute controls the degree of parallelism for each individual statement. The default is 1. PolicyCenter uses the value of this attribute for all statements. SQL Server ignores the |
|
|
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. The default is 10. |
|
|
On both Oracle and SQL Server, the
The value defaults to 1. If the value is greater than 1, then the PolicyCenter server assigns a table at a time to each thread as the thread becomes available. Each thread executes all of the database statistics statements for its assigned table. For all other statistics generation operations, set the number of
threads by specifying the number of workers for the database
statistics work queue. Set the The default is 1. |
|
|
On Oracle, this attribute controls the value of the
estimate_percent parameter in the
On SQL Server, the The default is 0. |
useoraclestatspreferences |
On Oracle, this attribute sets the database statistics preferences
to be able to use the Oracle Autotask infrastructure instead of
the |
The values you set for these attributes apply to all the tables in the database. You
can fine tune these values and set specific values on individual tables by using the
<tablestatistics> subelement. Setting values on a
specific table overrides the values set on the database for just that table.
