Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 06 Aug 2003 @ 09:11:32 GMT


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


Subj:   Need help in understanding poor performance
 
From:   Anomy Anom

<-- Anonymously Posted: Wednesday, August 06, 2003 15:01 -->

Dear all:

I had the experence in following sitution . It took long time when i using the following sql statement in bteq utility.Can anyone tell me how can i imporve the performance?

sql satement:

INSERT INTO PMART.TEMP_TXN_SHOPPING_TRAN
SEL * FROM PMART.TXN_SHOPPING_TRANSACTION_2003
WHERE EXTRACT(YEAR FROM TRANSACTIONPROCESSDT ) = 2003
MINUS SEL * FROM PDATA.TXN_SHOPPING_TRAN_C
WHERE EXTRACT(YEAR FROM TRANSACTIONPROCESSDT ) = 2003;

*** Success, Stmt# 1 ActivityCount = 32689172
*** Insert completed. 32689172 rows added.
*** Total elapsed time was 4 hours, 21 minutes and 52 seconds.



     
  <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: 27 Dec 2016