IBM Books

Lock Escalations


Snapshot Information Level
Database
Application

API Structure(s)
sqlm_dbase
sqlm_appl

Monitor Group
Basic
Basic

Resettable

Yes

 

Event Information Level
Database
Connection
Transaction

API Structure(s)
sqlm_db_event
sqlm_conn_event
sqlm_xaction_event

 

API Element Name
Element Type

lock_escals
counter

 

Description:  The number of times that locks have been escalated from several row locks to a table lock.

Usage:  A lock is escalated when the total number of locks held by an application reaches the maximum amount of lock list space available to the application. The amount of lock list space available is determined by the locklist and maxlocks configuration parameters.

When an application reaches the maximum number of locks allowed and there are no more locks to escalate, it will then use space in the lock list allocated for other applications. When the entire lock list is full, an error occurs.

This data item includes a count of all lock escalations, including exclusive lock escalations.

There are several possible causes for excessive lock escalations:

To resolve these problems, you may be able to:

[ Top of Page | Table of Contents | Glossary | Index ]

[ DB2 List of Books | Search the DB2 Books ]