Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 16 May 2012 @ 11:25:51 GMT


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


Subj:   Re: Pseudo table lock?
 
From:   jitendra.sonar

Since Teradata distributes a table across all amps, it is possible (without the pseudo table mechanism employed) that one process would grab a lock on a table on one amp and a different process grabs a lock on the same table on a different amp. They would both be trying to grab a full lock and neither could get it because the other holds out a lock that is needed.

Therefore, in order to avoid this deadlock situation, one amp effectively serves as the starting amp (see the physical implementation class or the Teradata manuals for information on how) for all locks on the table and this is called a "Pseudo Table lock". Like a semaphore, it prevents deadlock on the locking of a table. Once a process has a pseudo lock, it can lock the table on all amps.


Regards

Jitendra S.



     
  <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