Partition Lock Promotion

Table lock promotion promotes locks from fine-grained locks to table locks. Partition lock promotion promotes locks from fine-grained locks to partition locks.

For partition lock promotion to occur, set the partition lock promotion threshold to a nonzero value.

Partition locks use the same semantics as table locks. Page or row locks belonging to a partition under a single partition scan that exceeds its lock promotion threshold can then trigger lock promotion to a partition lock.

When a page or row lock is acquired with an unknown partition, lock promotion to the partition lock is completely disabled. In these situations, locks can only be promoted to table level.

SAP ASE supports two different types of lock promotion: