Archives of the TeradataForum
Message Posted: Tue, 26 Jun 2012 @ 08:08:23 GMT
<-- Anonymously Posted: Tuesday, June 26, 2012 02:02 -->
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?
|Copyright 2016 - All Rights Reserved|
|Last Modified: 23 Jun 2019|