row hash locks
Teradata Teradata Discussion Forums Teradata.com Discussion Forum
Visit Teradata.com
Home       Guidelines    Member List
Welcome Guest ( Login | Register )
        


This online forum is for user-to-user discussions of Teradata products, and is not an official customer support channel for Teradata. If you require direct assistance, please contact Teradata support.


row hash locks Expand / Collapse
Author
Message
Posted 3/1/2007 3:04:08 PM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: 3/30/2007 4:22:00 PM
Posts: 13, Visits: 1
When tpump update a row, I understand that it does a row hash lock. Based on this, I suspect that this means that all the rows with the pi values that hash to the same value as the pi being updated will be locked.
(Please correct me if I'm wrong) I can see where this may cause blocking.

When tpump does inserts however, I don't understand why there are blockers.

Can someone explain this?
Thank you.
Post #6752
Posted 3/1/2007 10:52:22 PM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: 7/10/2009 6:28:52 PM
Posts: 505, Visits: 546
Inserts require row hash write locks.

This required for purposes such as duplicate row checking, duplicate value checking(for unique) and not to mention to avoid any read transactions from occurring on the same row hash etc.
Post #6763
Posted 3/2/2007 7:24:43 AM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: 3/30/2007 4:22:00 PM
Posts: 13, Visits: 1
That was perfect.
thank you very much.
Post #6771
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 1 ( 1 guest, 0 members, 0 anonymous members )
No members currently viewing this topic.


All times are GMT -5:00, Time now is 10:02pm

Powered By InstantForum.NET v4.1.4 © 2009
Execution: 0.125. 6 queries. Compression Disabled.