Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 14 Jan 2003 @ 21:35:03 GMT


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


Subj:   Re: Strange Product Join?
 
From:   Jose Lora

I think you have a small store table, a huge daily_item_sales table and the store_key field is not a primary index of daily_item_sales. If that's the case, then the plan makes sense.

If you want to make things better, try creating a secondary index on daily_item_sales.store_key and remember to collect stats.

Jose



     
  <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