Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

Statistics collection - response (1) by Nishant.Bhardwaj

$
0
0

Hi Raam,
please see the resonses below-
1) the order of the columns doesnt matter during collecting stats on more than one column like
collect stats on table_nm column (a,b)
collect stats on table_nm column(b,a)
 
Both of the above statements are would lead to same results so its not required to use both of these together.
2)  You will have to collect stats on column(col1,col2) for table a for joining with table b and  collect stats on column (col1,col2,col3) for joining with table c as these are used in this combination..
If col1 and col2 are also seperately joined then you will have to collect stats on them individually like
collect stats on table1 column col1;
collect stats on table1 column col2;
 
Regarding the storage of collect stats in dbc views :
 

 

Statistics are stored in DBC views like ColumnStats,IndexStats and MultiColumnStats

 

hope this helps..

 

cheers!

 

Nishant 
 
 
 


Viewing all articles
Browse latest Browse all 27759

Trending Articles



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