Modifying the 10% Staleness Threshold for DBMS_STATS Automatic Statistics Gathering (Doc ID 390737.1)

Last updated on NOVEMBER 17, 2016

Applies to:

Oracle Database - Standard Edition - Version 8.1.7.4 and later
Oracle Database - Personal Edition - Version 8.1.7.4 and later
Oracle Database - Enterprise Edition - Version 8.1.7.4 and later
Information in this document applies to any platform.

Goal

Starting with Oracle8i it is possible to arrange for DBMS_STATS to automatically gather Optimizer statistics for only those objects currently considered STALE since the last time statistics were gathered for them.

This article will explain how staleness is determined and whether it is possible to influence the staleness threshold.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms