NumNull Stats [message #347686] |
Fri, 12 September 2008 14:54 |
ehegagoka
Messages: 493 Registered: July 2005
|
Senior Member |
|
|
Quote: |
NUM_NULL Column Statistic
NUM_NULLS indicates the number of null values for that column.
Low
If a single column index has few nulls, such as the COST_DISTRIBUTED_FLAG column in Example 3-5, and if this column is used as the index, then the resulting data set is large.
High
If there are many nulls on a particular column, such as the CONVERTED_FLAG column in Example 3-5, and if this column is used as the index, then the resulting data set is small. This means that COST_DISTRIBUTED_FLAG is a more appropriate column to index.
|
I'm a bit confused on this statement on the docs. What does it mean by the "data set is large", and says that the cost_distributed_flag as for the right to be indexed? Shouldn't it go for the small set to return? Or am I interpreting it in a wrong way. Thanks!
*please moved to performance, sorry for wrong section.
[Updated on: Fri, 12 September 2008 14:56] Report message to a moderator
|
|
|
|
|
|
Re: NumNull Stats [message #347757 is a reply to message #347745] |
Sat, 13 September 2008 13:36 |
ehegagoka
Messages: 493 Registered: July 2005
|
Senior Member |
|
|
Thanks! so it's like a bug on the docu. On that statement above, it is correct on that the column with less null is more appropriate for indexing because it would *make* much more list of rows to indexed?, and those with high occurences of null are not.
|
|
|
|
|
|
|