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!

DBMS_STATS - Degree to use?

DBA112Oct 24 2012 — edited Oct 24 2012
Dear DBA Friends,

I'm running gather stats on a schema size - 1.1TB using gather_schema_stats. I have about 300 tables, (4 to 5 of them are partitioned). I would like to know what degree to use? As I understand, degree is relative to number of CPUs on the server and default is NULL. Below is the syntax I'm using for gather stats: (Pretty much all default arguments).
Do you suggest using degree? If so, auto degree value is fine? or CPU based?

Appreciate your thoughts!!!
EXEC DBMS_STATS.GATHER_SCHEMA_STATS(ownname => 'OWNER', cascade=> TRUE);
This post has been answered by Osama_Mustafa on Oct 24 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 21 2012
Added on Oct 24 2012
10 comments
5,855 views