Benefits of DBMS_STATS.GATHER_SCHEMA_STATS
malhiJul 5 2011 — edited Jul 7 2011I read or heard some time back that DBMS_STATS.GATHER_SCHEMA_STATS, if executed on regular intervals, this improves the queries execution..... but i could not understand properly.
I want to ask what are the benefits & difference between DBMS_STATS.GATHER_TABLE_STATS,DBMS_STATS.GATHER_SCHEMA_STATS,DBMS_STATS.GATHER_DATABASE_STATS AND DBMS_STATS.GATHER_SCHEMA_SYSTEM.
I mean if i execute DBMS_STATS.GATHER_SCHEMA_STATS it covers DBMS_STATS.GATHER_TABLE_STATS and so on. Is it like this or not.
I shall be very thank full for easy to understand answer.