Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

Will the STATS be useful on below kind of data? - response (1) by Nishant.Bhardwaj

$
0
0

Hi ,
Stats would always be helpful to Optimizer as it gives the data Demographics i.e Unique values,nullabity,non nullabity in order to create the best plae time .
Sampled stats are recommended when the volume is too huge like 1 million, 2 million as full collect stats will be time consuming .
 
If no stats are collected then Optimzer will do a random amp sampling on the table in order to generate the plan for the query in which table is getting refered.
 
for more info. refer the below excellent link of carrie-
http://developer.teradata.com/blog/carrie/2010/04/tips-on-using-sampled-stats
 
cheers!
Nishant


Viewing all articles
Browse latest Browse all 14773

Trending Articles



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