Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 25 Sep 2014 @ 16:35:42 GMT


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


Subj:   Re: Efficient Delete in Teradata
 
From:   Anomy Anom

<-- Anonymously Posted: Thursday, September 25, 2014 10:30 -->

If you have proper stats, the optimizer should join TABLE2 and TABLE3 (applying the filter to TABLE2), then hash or product join that result to the large TABLE1 (scanning TABLE1).

Based on your stated indexes, that's the best you can do. Are you asking if adding / changing indexes can help?



     
  <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