RE: Todays Oracle 11.2.0.2 quiz...

  • From: Michael Dinh <mdinh@xxxxxxxxx>
  • To: "robertgfreeman@xxxxxxxxx" <robertgfreeman@xxxxxxxxx>, "oracle-l@xxxxxxxxxxxxx" <oracle-l@xxxxxxxxxxxxx>
  • Date: Tue, 2 Aug 2011 08:00:20 -0700

A - generally

I use dbms_stats.auto_sample_size (default I think) having read about improved 
accuracy in 11.2.0.2

When default does not cut it, then change. 

Trust but verify.

________________________________________
From: oracle-l-bounce@xxxxxxxxxxxxx [oracle-l-bounce@xxxxxxxxxxxxx] On Behalf 
Of Robert Freeman [robertgfreeman@xxxxxxxxx]
Sent: Tuesday, August 02, 2011 7:16 AM
To: oracle-l@xxxxxxxxxxxxx
Subject: Todays Oracle 11.2.0.2 quiz...

Without looking in the docs, answer this question:

When collecting Oracle statistics in 11.2.0.2  (generally, there are always 
fringe cases) you should:

A. Manually set the sample size and not take the default.
B. Use the analyze command.
C. Use the default value for the sample size.
D. Use a sample size between 10 and 20.
E. Set the _optimizer_stats_modify parameter first to a value of 60.

What is your answer and why?

RF


Robert G. Freeman
Master Principal Consultant, Oracle Corporation, Oracle ACE
Author of various books on RMAN, New Features and this shorter signature line.
Blog: http://robertgfreeman.blogspot.com

Note: THIS EMAIL IS NOT AN OFFICIAL ORACLE SUPPORT COMMUNICATION. It is just 
the opinion of one Oracle employee. I can be wrong, have been wrong in the past 
and will be wrong in the future. If your problem is a critical production 
problem, you should always contact Oracle support for assistance. Statements in 
this email in no way represent Oracle Corporation or any subsidiaries and 
reflect only the opinion of the author of this email.



--
//www.freelists.org/webpage/oracle-l


Other related posts: