In the SQL Locks user menu, you can find (among other things) a display of wait situations for exclusive locks. Use this analysis in the following situation, for example: You have been monitoring tasks with the task state Vwait in the Task Manager for a longer period.
Open the Database Assistant (transaction DB50) or the liveCache Assistant (transaction LC10). Choose .
The wait situations display is part of the DBA Cockpit and can therefore also be called as follows:
Open DBA Cockpit (transaction DBACOCKPIT).
The display options in DBA Cockpit vary depending on which SAP NetWeaver release you are using.
Choose
.SAP NetWeaver 7.1: Choose .
The system displays a list of all current wait situations for SQL locks in the database instance.
Exclusive locks mean that other users cannot access the locked entry. These locks can significantly interfere with the performance of the SAP system and the database system.
When you encounter SQL locks, be sure to find out which application is causing the locks. Using the Appl.ID in the wait situations display, you can identify the SAP work process that is holding the lock. You can use the Global Work Process Overview (transaction SM66) to get additional information, such as the user and the report. More information can also be found via bottleneck analysis.
You can also use options provided in the Database Console for further analysis.
DBA Cockpit:SAP MaxDB, SQL Locks Wait Situations
Concepts of the Database System, SQL Locks