 |
 |
Archives of the TeradataForum
Message Posted: Mon, 28 Jan 2008 @ 23:15:57 GMT
Subj: | | Re: Locking Row for Access Stmt |
|
From: | | Ballinger, Carrie |
Both locking modifiers (table level access locking and row level access locking) allow a table to be read when it is undergoing update by
another transaction.
The difference between the two is that the row level access lock only places an access lock on a single row-hash. This is a less expensive
lock to apply, and is recommnended for requests that do single-AMP or group-AMP access.
The table level access lock places an access lock on the entire table. This is a more expensive lock to set because it involves all AMPs. So
if you don't require all-AMP operations against the table being locked, use the less intrusive, row hash level access lock.
Thanks, -Carrie
| |