Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 27 Mar 2007 @ 12:38:20 GMT


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


Subj:   Re: NULLs in the file to Mloaded
 
From:   D silva, Joseph Vinish

  We are loading a table having a NUPI. The load ready file is having 90% nulls in this Primary Index column.  


  EXEC MLOAD statement in Mload is taking huge time. Number of records in the file are 3 million.  


  Does the NULL in the file is the culprit? Please advice.  


It's definitely the culprit. If your PI column is having 90% nulls, then you are also having a very bad skew (Atleast 90% of all records would go to the same AMP) which means premature database full condition, trouble with spool space etc.

This is what one might call a bad PI choice, is there any reason why this column is chosen as a PI ?

Also for set tables with NUPI, having too much of duplicate values (in this case null) would result in TD doing lots of duplicate record checking...

So in your case the trouble is double headed...


Joseph D'silva



     
  <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