lock table spinlock ratio

For SAP ASEs running with multiple engines, table lock spinlock ratio sets the number of rows in the internal table locks hash table that are protected by one spinlock.

Summary Information

Default value

20

Range of values

1–2147483647

Status

Static

Display level

Comprehensive

Required role

System administrator

Configuration group

Lock Manager

SAP ASE manages the acquiring and releasing of table locks using an internal hash table with 101 rows (known as hash buckets). This table can use one or more spinlocks to serialize access between processes running on different engines.

The SAP ASE default value for table lock spinlock ratio is 20, which defines 6 spinlocks for the table locks hash table. The first 5 spinlocks protect 20 rows each; the sixth spinlock protects the last row. If you specify a value of 101 or greater for table lock spinlock ratio, SAP ASE uses only 1 spinlock for the entire table.