|
|
Archives of the TeradataForum
Message Posted: Mon, 06 Jul 2009 @ 15:20:52 GMT
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
| |