Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 16 Apr 2009 @ 11:49:11 GMT


     
  <Prev Next>  
<<First
<Prev
Next> Last>>  


Subj:   Collecting Stats - Column or Index
 
From:   Okell, Alan

Other than where the stats are stored, is there any fundamental difference between the following 2 Collect Stats statements:

     Collect Stats on Table1 Index (ColA);
     Collect Stats on Table1 Column (ColA);

I've got a book that suggests there is no difference and the only time you need to collect Index stats is where you have a composite Primary Index.

I'd accept this a lot quicker if it wasn't for the fact that statement immediately above it suggests Collecting Stats on (ColA,COlB,ColC) is exactly the same as Collecting Stats against those columns individually, which I'm pretty sure is nonsense !!


Thanks.



     
  <Prev Next>  
<<First
<Prev
Next> Last>>  
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 27 Dec 2016