Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Mon, 04 Jan 2010 @ 12:38:30 GMT


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


Subj:   Merge sql performance
 
From:   Anomy Anom

<-- Anonymously Posted: Sunday, January 03, 2010 23:58 -->

Hi All,

We are currently loading into teradata with the following approach.

1. Load into empty staging table.

2. Merge into the base table using Merge Into sql.


Merge seems to be very efficient. It takes about 80 seconds to merge 290 million records from staging table to base table.

     Merge into table A ...
     when matched then using staging_table on
             update
     when not matched then
            insert

Question is , Will it provide the same performance once the volume grows ? As of now it's 300 million rows per month.

Merge will still take the same time after a year or so.

Appreciate any inputs.


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