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

Home -> Community -> Mailing Lists -> Oracle-L -> More on histograms, density and skew (Histograms: Myths and Facts)

More on histograms, density and skew (Histograms: Myths and Facts)

From: Schultz, Charles <sac_at_uillinois.edu>
Date: Mon, 31 Jul 2006 10:32:37 -0500
Message-ID: <565F609E6D736D439837F1A1A797F3419D1188@ADMINMAIL1.ui.uillinois.edu>


Sorry to beat this into the ground, but the more I read, the more questions I have.

Wolfgang's paper mentions Oracle's calculation of density (page 6 of "Histograms: Myths and Facts"):
* Without a histogram density = 1/NDV?

I am not exactly sure how close density is supposed to be to the mathematical (or rather, statistical) definition of skew - my biggest problem with statistical skew is that a set with symmetric distribution is not considered skewed at all, but in terms of Oracle histograms, the set could have one or more popular values which would benefit from a histogram bucket.

Also, I was reading Jonathan Lewis's book ("Cost-Based Oracle Fundamentals"), chapter 7 - wow, using SKEW as a column name for an arbitrary table sure makes my research more confusing! *grin*

So how does Oracle define skew? If the method_opt for size SKEW ONLY is not working 100% (Wolfgang mentions for 10.2.0.1, have not verified with 10.2.0.2 yet), does anyone know exactly why? I am very curious what this procedure is doing.

Just to be clear, I am trying to learn more about what exactly "skew" is, as Oracle defines it. In an ideal world, Oracle would not be limited to 254 histogram buckets, and the statistics would be able to describe all the data precisely. As a DBA, I am trying to fill in the gaps between Utopia and reality.

charles schultz
oracle dba
aits - adsd
university of illinois

--
http://www.freelists.org/webpage/oracle-l
Received on Mon Jul 31 2006 - 10:32:37 CDT

Original text of this message

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