on 10-28-2015 6:19 AM
Hi Experts,
I came across a dead lock situation on my Solution Manager System and ST22 has lot of ABAP dumps "DBIF_RSQL_SQL_ERROR" and still continuing.
Application : SAP Solution Manager 7.1
OS : Windows
DB : SQL Server 2008 R2
Short text
SQL error 1205 when accessing table "MES_DB_AGGREGATE".
What happened?
Error Text of the Database: "Transaction (Process ID 87) was deadlocked on lock
resources with another process and has been chosen as the deadlock victim.
Rerun the transaction."
I have gone through many sap notes on this dead lock, but still not clear on what is the exact solution for clearing this locks.
Can someone please throw some light on this?
Regards,
Leela.
Hi Leela,
This wiki page may help you find the root cause of this deadlock:
Information about deadlocks in DBACockpit - SAP on SQL Server - SCN Wiki
Kind Regards,
Luis Darui
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Eknath,
Bull's-eye!
We maintain known deadlocks under BC-DB-MSS component even if they belongs to another components, to ease customers finding this.
I asked the owner of this note to add BC-DB-MSS as sub-component, that will definitely help finding this note.
Thanks and kind regards,
Luis Darui
Hi Leela,
SQL error 1205 when accessing table "MES_DB_AGGREGATE".
Suggest you to follow SAP Notes
32129 - Deadlock analysis for the SQL server
Also try to implement the relevant support package to the system as per release to check again.
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Gaurav,
thanks for your response, I am looking for a solution like, is there a way we can find which SPID's were causing the lock on that particular table.
Also if someone can explain a way for clearing the lock(like killing the SPID causing the lock etc... )
pros and cons using such procedure(killing the SPID).
Regards,
Leela.
Hi Leela
1. Could you share the full dump as text format?
2. Could you refer the SAP Note follow the solution part to identify the deadlock in MS Sql DB.
1774085 - Deadlock analysis for SQL Server (Advanced)
Regards
SS
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.