Automatic statistics refresh

Column statistics are not maintained when the underlying table data changes. The Statistics Manager determines if columns statistics are still valid or if they no longer represent the column accurately (stale).

This validation is done each time one of the following occurs:

To validate the statistics, the Statistics Manager checks to see if any of the following apply:

If the statistics is determined to be stale, the Statistics Manager still uses the stale column statistics to answer the questions from the optimizer, but it also marks the column statistics as stale in the Plan Cache and generates a request to refresh the statistics.