Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Estimate versus Compute

RE: Estimate versus Compute

From: Allen, Brandon <Brandon.Allen_at_OneNeck.com>
Date: Mon, 25 Jul 2005 11:51:37 -0700
Message-ID: <04DDF147ED3A0D42B48A48A18D574C4502361331@NT15.oneneck.corp>


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_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org]On Behalf Of Michael McMullen Sent: Monday, July 25, 2005 11:28 AM
To: mark.powell_at_eds.com; Oracle-L_at_freelists.org Cc: klange_at_ppoone.com
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.

--
http://www.freelists.org/webpage/oracle-l
Received on Mon Jul 25 2005 - 13:52:16 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US