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

Teradata 13.10 Statistics Collection Recommendations - comment by carrie

$
0
0

Considerations for collecting stats are generally the same for a NoPI table and a PI table.  Other than (obviously) not collecting stats on the PI of a NoPI table. 
 
However, stats on a NoPI table might not provide much value if the NoPI table is just being used for staging, and is sort of temporary.  When used as a staging table, for example, you might not need to be concerned with stats on predictates or join columns, depending on what you are doing with the staging table.    In some cases just collecting on SUMMARY stats would be adequate, because that would provide things like the row count, average row size, and average block size to the optimizer.  And SUMMARY stats are very quick to collect.
 
But there is no reason you cannot collect stats on a NoPI table's columns, if you believe they will be useful. 
 
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>