Change parameters for schemas in auto gather stats job
Hello All,
I want to set change the default parameters of statistics collection some specific schemas as per vendor recommendation.Instead of disabling auto stats job and creating a cronjob to collect stats.
i am just plannning to use SET_SCHEMA_PREFS(which i havent used before) and change following params for those schemas.
METHOD_OPT => 'FOR ALL INDEXED COLUMNS SIZE AUTO',
GRANULARITY => 'ALL',
CASCADE => TRUE,
NO_INVALIDATE => FALSE
version - Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production
As per ..How to Change Default Parameters for Gathering Statistics in Oracle 11g or Later (Doc ID 1493227.1)
Found a note :