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!

Difference between ANALYZE TABLE and DBMS_STATS.GATHER_TABLE_STATS?

sweetritzMay 20 2014 — edited May 20 2014

Hi DBAs,

I am in learning phase and a newbie DBA. I got confused in gathering stats. Could someone elaborate on the below?:

ANALYZE TABLE employees COMPUTE STATISTICS;

and

DBMS_STATS.GATHER_TABLE_STATS ('hr', 'employees');

This post has been answered by John Stegeman on May 20 2014
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 17 2014
Added on May 20 2014
6 comments
20,851 views