Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 27 Mar 2008 @ 22:02:38 GMT


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


Subj:   Re: COLLECT STATISTICS on Indexed Columns &
 
From:   Christie, Jon

Collecting stats does not GUARANTEE anything, but quite frequently it helps the optimizer find a more performant plan. To get a list of statistics that might help the optimizer, use the HELPSTATS diagnostic:

     diagnostic "helpstats" on for session;
     explain ;

The list of recommendations will appear at the end of the explain. There's also a STATISTICS WIZARD with its own manual.



     
  <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: 15 Jun 2023