My Oracle Support Banner

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

Last updated on FEBRUARY 03, 2019

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.


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.