Home Page for the TeradataForum

Archives of the TeradataForum

Message Posted: Tue, 26 Jun 2012 @ 08:08:23 GMT

  <Prev Next>  
Next> Last>>  

Subj:   How to run Update statement faster
From:   Anomy Anom

<-- Anonymously Posted: Tuesday, June 26, 2012 02:02 -->

Hi Experts,

Is there a way where I can run the below Update statement faster

     UPDATE T1
     SET c1 =? T2.c1
     WHERE T1.c2 = T2.c2;

When I am running the above update for 10000 records it comes out in 5 secs. However, when I am running the same statement for 430000 records it does not come out even in 40 mins. (I already collected the stats on column c2 for T1 & T2) I am afraid the time would be much more if we run this on the production.

Can somebody please help me with the resolution please.

Many thanks in advance?

  <Prev Next>  
Next> Last>>  
  Top Home Privacy Feedback  
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 28 Jun 2020