Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 21 Jan 2004 @ 17:41:31 GMT


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


Subj:   Re: Statistics and explain plans
 
From:   Ferry, Craig

I do have statistics on this join built by the following SQLs.

COLLECT STATISTICS dss_tables.po_header_tbl
INDEX ( branch_id ,sequence_no ,date_transaction );

AND

COLLECT STATISTICS ON dss_tables.po_detail_tbl
INDEX ( branch_id ,sequence_no ,date_transaction);


I do use a view to access both tables because I don't want anyone to access the tables directly.

This was why I was expecting a high confidence on the query and not sure why I don't see it.


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