Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 19 Jul 2012 @ 16:01:09 GMT


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


Subj:   Re: Insert statement starts OK but then slows down
 
From:   Dieter Noeth

Dave Wellman wrote:

  If the table has a unique index (either upi or usi) then you will ** not ** have a problem with 'duplicate row checks'.  


Hi Dave,

i believed this for a long time, too :-(

SET/NUPI plus USI still does duplicate row checks for insert/selects, only single row inserts benefit from the USI.

You can easily see that when you insert/select the same rows a second time:

developer.teradata.com/...


Hopefully the Database Design manual will be fixed soon.


Dieter



     
  <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