Quantcast
Channel: Forum SQL Server Database Engine
Viewing all articles
Browse latest Browse all 15694

SQL 2008 Deadlock graph question

$
0
0

I believe we have a scheduled SQL job that is occasionally experiences a sql deadlock.  We have numerous scheduled jobs so not sure which one it is.  How you can tell from the graph which scheduled job it is that experienced the deadlock?

<deadlock><victim-list><victimProcess id="process48f4988" /></victim-list><process-list><process id="process48f4988" taskpriority="0" logused="0" waitresource="PAGE: 9:3:516827" waittime="4178" ownerId="3521611102" transactionname="UPDATE" lasttranstarted="2012-12-10T10:00:00.787" XDES="0x8003cd20" lockMode="U" schedulerid="7" kpid="5448" status="suspended" spid="314" sbid="0" ecid="12" priority="0" trancount="0" lastbatchstarted="2012-12-10T10:00:00.617" lastbatchcompleted="2012-12-10T10:00:00.617" clientapp="SQLAgent - TSQL JobStep (Job 0x9EC714D5A4CDD44A8AA528C161D2042B : Step 1)" hostname="MySqlServer" hostpid="4520" isolationlevel="read committed (2)" xactid="3521611102" currentdb="9" lockTimeout="4294967295" clientoption1="536870944" clientoption2="128056"><executionStack><frame procname="" line="1" sqlhandle="0x020000007a50d62b3b6b25bc42dca323d693568c574dcffd" /><frame procname="" line="1" sqlhandle="0x020000004e57c10c3bee8fbb667ad4426da31d00c97d23de" /></executionStack><inputbuf /></process><process id="process24f291708" taskpriority="0" logused="0" waitresource="PAGE: 9:3:516827" waittime="4235" ownerId="3521611102" transactionname="UPDATE" lasttranstarted="2012-12-10T10:00:00.787" XDES="0x22653ab60" lockMode="U" schedulerid="6" kpid="4756" status="suspended" spid="314" sbid="0" ecid="11" priority="0" trancount="0" lastbatchstarted="2012-12-10T10:00:00.617" lastbatchcompleted="2012-12-10T10:00:00.617" clientapp="SQLAgent - TSQL JobStep (Job 0x9EC714D5A4CDD44A8AA528C161D2042B : Step 1)" hostname="MySqlServer" hostpid="4520" isolationlevel="read committed (2)" xactid="3521611102" currentdb="9" lockTimeout="4294967295" clientoption1="536870944" clientoption2="128056"><executionStack><frame procname="" line="1" sqlhandle="0x020000007a50d62b3b6b25bc42dca323d693568c574dcffd" /><frame procname="" line="1" sqlhandle="0x020000004e57c10c3bee8fbb667ad4426da31d00c97d23de" /></executionStack><inputbuf /></process><process id="process48f5dc8" taskpriority="0" logused="0" waitresource="PAGE: 9:3:516828" waittime="4251" ownerId="3521609992" transactionname="UPDATE" lasttranstarted="2012-12-10T10:00:00.620" XDES="0x209ed21f0" lockMode="U" schedulerid="7" kpid="4928" status="suspended" spid="315" sbid="0" ecid="10" priority="0" trancount="0" lastbatchstarted="2012-12-10T10:00:00.620" lastbatchcompleted="2012-12-10T10:00:00.620" clientapp="SQLAgent - TSQL JobStep (Job 0x9BE93D5E1314BD41A1E5E4E75D65A639 : Step 1)" hostname="MySqlServer" hostpid="4520" isolationlevel="read committed (2)" xactid="3521609992" currentdb="9" lockTimeout="4294967295" clientoption1="536870944" clientoption2="128056"><executionStack><frame procname="" line="1" sqlhandle="0x0200000074c7f432c234f017dad9ff77c4c57cd052564a7c" /><frame procname="" line="1" sqlhandle="0x020000004705770cc48856a92de6cfe0c47265ae7663cd32" /></executionStack><inputbuf /></process><process id="process5263b88" taskpriority="0" logused="0" waitresource="PAGE: 9:3:516828" waittime="4225" ownerId="3521609992" transactionname="UPDATE" lasttranstarted="2012-12-10T10:00:00.620" XDES="0x2140978b0" lockMode="U" schedulerid="11" kpid="592" status="suspended" spid="315" sbid="0" ecid="15" priority="0" trancount="0" lastbatchstarted="2012-12-10T10:00:00.620" lastbatchcompleted="2012-12-10T10:00:00.620" clientapp="SQLAgent - TSQL JobStep (Job 0x9BE93D5E1314BD41A1E5E4E75D65A639 : Step 1)" hostname="MySqlServer" hostpid="4520" isolationlevel="read committed (2)" xactid="3521609992" currentdb="9" lockTimeout="4294967295" clientoption1="536870944" clientoption2="128056"><executionStack><frame procname="" line="1" sqlhandle="0x0200000074c7f432c234f017dad9ff77c4c57cd052564a7c" /><frame procname="" line="1" sqlhandle="0x020000004705770cc48856a92de6cfe0c47265ae7663cd32" /></executionStack><inputbuf /></process><process id="process3286a2748" taskpriority="0" logused="10000" waittime="755" schedulerid="7" kpid="4808" status="suspended" spid="315" sbid="0" ecid="0" priority="0" trancount="2" lastbatchstarted="2012-12-10T10:00:00.620" lastbatchcompleted="2012-12-10T10:00:00.620" clientapp="SQLAgent - TSQL JobStep (Job 0x9BE93D5E1314BD41A1E5E4E75D65A639 : Step 1)" hostname="MySqlServer" hostpid="4520" loginname="CT\MyServiceUser" isolationlevel="read committed (2)" xactid="3521609992" currentdb="9" lockTimeout="4294967295" clientoption1="536870944" clientoption2="128056"><executionStack><frame procname="" line="1" sqlhandle="0x0200000074c7f432c234f017dad9ff77c4c57cd052564a7c" /><frame procname="" line="1" sqlhandle="0x020000004705770cc48856a92de6cfe0c47265ae7663cd32" /></executionStack><inputbuf>
update Packages set packageindex15=createddate
WHERE    (PackageIndex15 = '__-__-____')   </inputbuf></process></process-list><resource-list><pagelock fileid="3" pageid="516827" dbid="9" objectname="" id="lock14aeff580" mode="U" associatedObjectId="72057594343718912"><owner-list /><waiter-list><waiter id="process48f4988" mode="U" requestType="wait" /></waiter-list></pagelock><pagelock fileid="3" pageid="516827" dbid="9" objectname="" id="lock14aeff580" mode="U" associatedObjectId="72057594343718912"><owner-list><owner id="process3286a2748" mode="U" /></owner-list><waiter-list><waiter id="process24f291708" mode="U" requestType="wait" /></waiter-list></pagelock><pagelock fileid="3" pageid="516828" dbid="9" objectname="" id="lock306292c80" mode="U" associatedObjectId="72057594343718912"><owner-list><owner id="process48f4988" mode="U" /></owner-list><waiter-list><waiter id="process48f5dc8" mode="U" requestType="wait" /></waiter-list></pagelock><pagelock fileid="3" pageid="516828" dbid="9" objectname="" id="lock306292c80" mode="U" associatedObjectId="72057594343718912"><owner-list /><waiter-list><waiter id="process5263b88" mode="U" requestType="wait" /></waiter-list></pagelock><exchangeEvent id="Pipe222c58480" WaitType="e_waitPipeGetRow" nodeId="2"><owner-list><owner id="process48f5dc8" /><owner id="process5263b88" /></owner-list><waiter-list><waiter id="process3286a2748" /></waiter-list></exchangeEvent></resource-list></deadlock>



Viewing all articles
Browse latest Browse all 15694

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>