Granularity Set as a Preference is Ignored for Options => 'GATHER AUTO','GATHER STALE' and 'GATHER EMPTY'' (Doc ID 1547769.1)

Last updated on MAY 23, 2017

Applies to:

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

Symptoms

Granularity set using any of the methods to set the preferences for gathering statistics (DBMS_STATS.SET_*_PREFS) will not be honoured when using options  'GATHER AUTO','GATHER STALE' and 'GATHER EMPTY'.

For example setting the preference as follows:

 
If we set 'options' to any value other than 'GATHER' , the GLOBAL preference will be ignored and statistics may be gathered for partitions and subpartitions as well.

For example, 'GATHER AUTO', 'GATHER EMPTY' or 'GATHER STALE', the statistics preference is ignored.

Cause

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