Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Mon, 06 Jul 2009 @ 15:20:52 GMT


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


Subj:   Re: How to get "locking row for access" on child and parent query?
 
From:   Michael Larkins

Gautam:

As long as the query executes, there is nothing wrong with the way you wrote it. Are you indicating that you are getting a table level lock?

If so, Teradata's optimizer has decided that a row level lock would be less efficient than a table level lock. Therefore, it takes the liberty to escalate the lock from row hash to table. Since it is an ACCESS lock, it really has little if any impact on other users or applications.


Regards,

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