Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Mon, 20 Mar 2006 @ 20:05:04 GMT


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


Subj:   Re: Selecting a PI and Data Type
 
From:   Michael Larkins

The data type of your PI will in no way degrade nor increase performance - it is just data. The best practice is to have all PK and FK relationships defined as the same data type so that they distribute or redistribute to the same AMP for joining without requiring data conversions that dramatically slow down a join. Likewise, it is best to use a data type that can easily be referenced in your where clause.


Hope this helps,

Michael Larkins
Certified Teradata Master
Certified Teradata SQL Instructor



     
  <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