Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 19 Jul 2012 @ 13:46:16 GMT


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


Subj:   Re: Insert statement starts OK but then slows down
 
From:   Dave Wellman

Hi,

Bodla, Sravan Kumar wrote:

  I understand, the above is True only in case of a SET table with Unique Primary Index as it(SET and Unique) double checks for each record that is getting inserted.  


No.

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

The only time you have problems with duplicate row checks is when:

- the table is SET, AND

- the table has NO unique indexes, AND

- you have lots of rows with the same PI rowhash value.

If any of the above conditions are NOT met then you will not have a problem with duplicate row checks during insert processing.


Cheers,

Dave

Ward Analytics Ltd - Information in motion (www.ward-analytics.com)



     
  <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