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

Home -> Community -> Usenet -> c.d.o.server -> histograms

histograms

From: Oradba Linux <techiey2k3_at_comcast.net>
Date: Thu, 26 Aug 2004 02:13:44 GMT
Message-ID: <sHbXc.184007$8_6.108589@attbi_s04>


Using DBMS_STATS to estimate statistics on a table . I created a table with 50,000 rows and it has one index . That column has 5 distinct values . I ran a command to estimate statistics on that table with skewonly option . It still went ahead and created histograms . I was under the impression that since data distribution is not skewed it will not create histograms . Secondly , how does it know that data distribution is skewed or not skewed using column stats generated .

I also want an opinion on how to decide whether to gather column stats for all columns or just for indexed columns . How to decide ? Received on Wed Aug 25 2004 - 21:13:44 CDT

Original text of this message

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