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 and later
Information in this document applies to any platform.


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.


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