One our of ASP.NET web apps was a deadlock victim while trying to update a column value on a record (batch table in our case).
The app tried to update a column value for a single record to reflect an application lock prior to deleting the record.
I obtained the deadlock graph but not quite sure how to interpret.
How do I figure out who/what caused the deadlock from this graph?
thanks!
<deadlock><victim-list><victimProcess id="process30216b048" /></victim-list><process-list><process id="process30216b048" taskpriority="0" logused="0" waitresource="RID: 9:3:206695:32" waittime="4976" ownerId="8166315567" transactionname="UPDATE CURSOR" lasttranstarted="2013-01-26T12:34:54.293" XDES="0x1b214f970" lockMode="X" schedulerid="2" kpid="7936" status="suspended" spid="175" sbid="0" ecid="0" priority="0" trancount="2" lastbatchstarted="2013-01-26T12:34:49.887" lastbatchcompleted="2013-01-26T12:34:49.887" clientapp="Index" hostname="AcmeZFPWEB2" hostpid="3108" loginname="Acmeuser" isolationlevel="read committed (2)" xactid="8166315567" currentdb="9" lockTimeout="4294967295" clientoption1="671088672" clientoption2="128056"><executionStack><frame procname="" line="57" stmtstart="4426" stmtend="4586" sqlhandle="0x03000900f28e8b0183d457018a9d00000100000000000000" /><frame procname="" line="32" stmtstart="1740" stmtend="1958" sqlhandle="0x030009009eddfa162ba25e01129f00000100000000000000" /></executionStack><inputbuf> Proc [Database Id = 9 Object Id = 385539486] </inputbuf></process><process id="process5262bc8" taskpriority="0" logused="10000" waitresource="KEY: 9:626345259433984 (a8016a427524)" waittime="4999" schedulerid="11" kpid="5948" status="suspended" spid="174" sbid="0" ecid="0" priority="0" trancount="0" lastbatchstarted="2013-01-26T12:34:49.887" lastbatchcompleted="2013-01-26T12:34:49.887" clientapp="Index" hostname="AcmeZFPWEB2" hostpid="3108" loginname="Acmeuser" isolationlevel="read committed (2)" xactid="8166313140" currentdb="9" lockTimeout="4294967295" clientoption1="671088672" clientoption2="128056"><executionStack><frame procname="" line="26" stmtstart="1988" stmtend="2234" sqlhandle="0x03000900f28e8b0183d457018a9d00000100000000000000" /><frame procname="" line="32" stmtstart="1740" stmtend="1958" sqlhandle="0x030009009eddfa162ba25e01129f00000100000000000000" /></executionStack><inputbuf> Proc [Database Id = 9 Object Id = 385539486] </inputbuf></process></process-list><resource-list><ridlock fileid="3" pageid="206695" dbid="9" objectname="" id="lock1cf48fc00" mode="U" associatedObjectId="63395306012672"><owner-list><owner id="process5262bc8" mode="S" /></owner-list><waiter-list><waiter id="process30216b048" mode="X" requestType="convert" /></waiter-list></ridlock><keylock hobtid="626345259433984" dbid="9" objectname="" indexname="" id="lock2927c5b80" mode="U" associatedObjectId="626345259433984"><owner-list><owner id="process30216b048" mode="U" /><owner id="process30216b048" mode="U" /></owner-list><waiter-list><waiter id="process5262bc8" mode="U" requestType="wait" /></waiter-list></keylock></resource-list></deadlock>
↧
Helping interpreting SQL 2008 deadlock graph
↧