Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 28 Apr 2006 @ 19:01:30 GMT


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


Subj:   Re: TPUMP Blocking on multiple sessions
 
From:   Geoffrey Rommel

  In the worst case, the blocking can be so severe as to deadlock. Options to deal with it include ... 6) UDFs wrapped in views to transform the bad PI values into a value/datatype that hashes better.  


Sorry for the delay, but I'm just now digesting this thread.

Bob, could you elaborate on this 6th option? It seems you are suggesting something like this:

     create table T1 ... (bad primary index);
     create view V1 as
      select udf(PI fields) as better_pi_value,
       ...other fields ... from T1
      with check option;

and then MultiLoading to V1 rather than T1.

Is this a correct interpretation? And how does this help with the blocking in TPump? Sooner or later, the new row has to get to the proper AMP, and then the blocking is still going to happen ... or is it?



     
  <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