Home Page for the TeradataForum
 
 

 

Archives of the TeradataForum





Message Posted: Wed, 05 May 2004 @ 19:02:58 GMT





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




Subj:   Collect Stats on Indexes versus Multi-Column
 
From:   Claybourne Barrineau



All,

Assuming:

     TableA
     ColA
     ColB
     ColC
     ColD
     UPI = ColA
     Index (ColB, ColC)

Are the following 2 statements equivalent to the RDBMS?

1)Collect Stats on TableA Index (ColB, ColC);

2)Collect Stats on TableB Column (ColB, ColC);


From an 'Explain' point of view, they look identical.


Thanks,

Clay





     
  <Prev Next>  
<<First
<Prev
Next> Last>>  
 
 
 
 
 
 
 
 
  
 
  Top Home Join Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky 
Last Modified: 30 Jun 2008