Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Benefits of DBMS_STATS.GATHER_SCHEMA_STATS

malhiJul 5 2011 — edited Jul 7 2011
I 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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 4 2011
Added on Jul 5 2011
7 comments
1,761 views