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!

cpu costing is off (consider enabling it)

oratestSep 14 2010 — edited Sep 14 2010
Hi,

I am using Oracle 10.2.0.3.

Whenever I generate explain plan for any query, the very last line of explain plan is as below.

cpu costing is off (consider enabling it)_

It seems that optimizer didn't considerd CPU stats while generating plan for this.

How to enable CPU statistics here?

The parameter optimizer_mode value is "CHOOSE", and stats are being gathered at an interval of one week.

When I use CPU_COSTING hint in the SQL, then this line went away, and the query plan also started giving CPU % in PLAN output. But how can I make this a default behaviour of optimizer ( Any parameter etc to be set in oracle 10g for this)?


Thanks in advance.

Best Regards,
oratest
This post has been answered by Hemant K Chitale on Sep 14 2010
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 12 2010
Added on Sep 14 2010
9 comments
10,760 views