Hi,
We are using SQLSentry tool to monitor our DB server. We got below alert.
Environment: SQL Server 2005 Std With SP2 on Windows Server 2003 Ent
Please help why we are getting below deadlock
[Connection]: abc.xyz.com
[Message]: SQL Server Deadlock Detected
[Event Time]: 12/22/2012 3:52:10 PM
----------------------------------------------------------------------
[Timestamp (Local)]: 12/22/2012 3:52:10 PM
[Timestamp (UTC)]: 12/22/2012 11:52:10 PM
[Generated By]: SQL Sentry 7.2 Server [SQLQADB02]
[Version]: 7.2.54.0
[Monitor Type]: SqlServerProfiler
[Condition]: SQL Server: Deadlock
[Response Ruleset]: Notify Every Time (default)
----------------------------------------------------------------------
[Deadlock Victim Information]:
SPID [ecid]: 707 [0]
Host: host15
Application: .Net SqlClient Data Provider
Database: databse01
Login: WebServer
Log Used: 0
Deadlock Priority: 0
Wait Time: 1484
Transaction Start Time: 12/22/2012 3:52:09 PM
Last Batch Start Time: 12/22/2012 3:52:09 PM
Last Batch Completion Time: 12/22/2012 3:52:09 PM
Mode/Type: S
Status: suspended
Isolation Level: read committed (2)
Text Data:
at databse01.dbo.up_Getads2 line 24
SELECT
H.ID as ID,
H.ParentID as PID,
RTRIM(REPLACE(REPLACE(REPLACE(H.Subject,'&', '&'), '<', '<'), '>', '>')) as T,
dbo.fn_ConvertToXmlDate(H.PostDate) as D,
RTRIM(REPLACE(REPLACE(REPLACE(H.PreviewText,'&', '&'), '<', '<'), '>', '>')) as PT,
CASE
WHEN Anonymous = 0 THEN RTRIM(U.Handle)
ELSE 'Anonymous'
END as A,
CASE
WHEN H.PollID = -1 THEN NULL
ELSE 1
END as P,
CASE
WHEN Status & 163
Client Options 2: 128056
Client Options 1: 538968096
Is Victim: True
Wait Resource: KEY: 5:72057594065518592 (2c00ac28262b)
Transaction Count: 0
Lock Timeout: 4294967295
SPID: 707
ECID: 0
Transaction ID: 423751167
Transaction Name: XML SELECT
Database ID: 5