Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 23 Feb 2011 @ 09:43:08 GMT


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


Subj:   Re: Collect Stats for INSERT/SELECT (no joins)
 
From:   sukul mahadik

Hi

If your insert-select query is taking very log time, then you can try merge-into. Merge-into is generally used to replace a upsert, however you can use only the 'when not matched' condition to perform inserts.

Merge-into uses less amount of CPU time.



     
  <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