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: dbms_stats

RE: dbms_stats

From: Wolfgang Breitling <breitliw_at_centrexcc.com>
Date: Thu, 29 May 2003 12:47:40 -0800
Message-ID: <F001.005A6348.20030529124740@fatcity.com>


The answer is as usual "it depends". If the table has a reasonably uniform row size and the blocks are approximately evenly utilized, then the analyze can extrapolate the total number of rows fairly accurately even from a small sample. However, if the row size fluctuates wildly, or if the block utilization fluctuates heavily, then you need a larger sample for accurate estimates of the totals.

At 12:14 PM 5/29/2003 -0800, you wrote:
>Hi Wolfgang,
>
>In the grand scheme of things, that probably isn't awful. However, if the
>analyze can't get the row count right (how easy is that?) then how can I
>trust it to get the rest of the statistics correct? Just my two cents.
>
>Thanks for your reply.
>Lisa

Wolfgang Breitling
Oracle7, 8, 8i, 9i OCP DBA
Centrex Consulting Corporation
http://www.centrexcc.com

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Wolfgang Breitling
  INET: breitliw_at_centrexcc.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Thu May 29 2003 - 15:47:40 CDT

Original text of this message

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