Quantcast
Channel: Teradata Developer Exchange - Blog activity for carrie's blog
Viewing all articles
Browse latest Browse all 1058

New opportunities for statistics collection in Teradata 14.0 - comment by carrie

$
0
0

Raja,
 
There is a blog posting that lists the recommendations for collecting statistics.  
 
It makes these recommendations for indexed columns:
 
Collect Full Statistics
- Non-indexed columns used in predicates
- All NUSIs
- USIs/UPIs if used in non-equality predicates (range constraints)
- Most NUPIs (see below for a fuller discussion of NUPI statistic collection)
 
Can Rely on Random AMP Sampling
- USIs or UPIs if only used with equality predicates
- NUSIs with an even distribution of values
- NUPIs that display even distribution, and if used for joining, conform to assumed uniqueness 
 
Those recommendations are the same no matter what statistics USING clauses you attach to the statistic when you are collecting it.   I can't think of any difference between and indexed column and a non-indexed column when it comes to which USING options to apply, or how to apply them.
 
Thanks, -Carrie


Viewing all articles
Browse latest Browse all 1058

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>