RE: Estimate versus Compute

  • From: "Allen, Brandon" <Brandon.Allen@xxxxxxxxxxx>
  • To: <ganstadba@xxxxxxxxxxx>, <mark.powell@xxxxxxx>, <Oracle-L@xxxxxxxxxxxxx>
  • Date: Mon, 25 Jul 2005 11:51:37 -0700

Mike, I don't believe that is true.  I recently reduced from compute to 
estimate=25% and this reduced the runtime for update stats from 38 hours to 14 
hours.  I don't think it would make such a difference if it still had to visit 
every block.  I think you can specify whether your samples are based on rows or 
blocks and Oracle will automatically compute if you specify estimate >= 50%.

Regards,
Brandon


-----Original Message-----
From: oracle-l-bounce@xxxxxxxxxxxxx
[mailto:oracle-l-bounce@xxxxxxxxxxxxx]On Behalf Of Michael McMullen
Sent: Monday, July 25, 2005 11:28 AM
To: mark.powell@xxxxxxx; Oracle-L@xxxxxxxxxxxxx
Cc: klange@xxxxxxxxxx
Subject: Re: Estimate versus Compute

. . .

I read somewhere, can't remember where, that when estimating one should use
an estimate of 1 percent because anything else means all blocks get visited.

. . .

Privileged/Confidential Information may be contained in this message or 
attachments hereto. Please advise immediately if you or your employer do not 
consent to Internet email for messages of this kind. Opinions, conclusions and 
other information in this message that do not relate to the official business 
of this company shall be understood as neither given nor endorsed by it.

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

Other related posts: