Locking and Row Partitions - Advanced SQL Engine - Teradata Database

Database Utilities

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
Published
January 2021
Language
English (United States)
Last Update
2021-01-23
dita:mapPath
ynh1604715438919.ditamap
dita:ditavalPath
hoy1596145193032.ditaval
dita:id
B035-1102
lifecycle
previous
Product Category
Teradata Vantageā„¢

To allow the Lock Manager to request locks at row-partition granularities, Teradata Database employs a value called a rowkey, which combines a row partition identifier (the internal partition number or IPN) with a rowhash value. The rowkey allows the Lock Manager to consider row partitions in determining the type of lock to use for a given transaction. The Lock Manage can thereby limit locks, when appropriate, to rows in a single row-partition, allowing concurrent access to the non-locked partitions of the table.

Partition-aware locks are identified in the output of Lock Display by having a PLLKind descriptor.