Purpose
Specifies the amount of time in days that must elapse before statistics will be recollected on a table. If fewer than the set number of days has passed since the previous statistics collection, no new statistics will be collected.
This field is used when a COLLECT STATISTICS SQL statement does not specify the USING THRESHOLD DAYS option.
Field Group
Optimizer Statistics
Valid Range
0 through 9999
Default
0, indicating time threshold checks are disabled.
Changes Take Effect
After the DBS Control Record has been written.
Usage Notes
Statistics are used by the optimizer to improve query performance.
When cost profiles are in effect, this field can be overridden by a cost profile constant value.
Related Topics
For more information on… | See… |
---|---|
Optimizer statistics fields | |
Cost profiles |
|