[blocked-process]节点表示被阻塞的进程,显示在上面
[blocked-process]表示阻塞者进程,显示在下面
<blocked-process-report>
<blocked-process>
<process id="process71d018" taskpriority="0" logused="0" waitresource="KEY: 7:72057594040025088 (030014bf17fb)" waittime="448046" ownerId="199584" transactionname="SELECT"
lasttranstarted="2013-03-04T09:23:51.513" XDES="0x3cf5028" lockMode="S" schedulerid="2" kpid="6096" status="suspended" spid="53" sbid="0" ecid="0" priority="0" transcount="0"
lastbatchstarted="2013-03-04T09:23:51.513" lastbatchcompleted="2013-03-04T09:22:06.950" clientapp="Microsoft SQL Server Management Studio - 查询" hostname="2012-1208-1124" hostpid="5856" loginname="sa"
isolationlevel="read committed (2)" xactid="199584" currentdb="7" lockTimeout="4294967295" clientoption1="671090784" clientoption2="390200">
<executionStack>
<frame line="1" sqlhandle="0x02000000c40e78095f9a81d7675e5de2821ae9737c83d631"/>
</executionStack>
<inputbuf>
select * from dbo.KB_Lable_temp_ </inputbuf>
</process>
</blocked-process>
<blocking-process>
<process status="running" spid="52" sbid="0" ecid="0" priority="0" transcount="2" lastbatchstarted="2013-03-04T09:21:56.107" lastbatchcompleted="2013-03-04T09:21:55.327"
lastattention="2013-03-04T09:04:02.123" clientapp="Microsoft SQL Server Management Studio - 查询" hostname="2012-1208-1124" hostpid="5856" loginname="sa" isolationlevel="read committed (2)" xactid="191095"
currentdb="7" lockTimeout="4294967295" clientoption1="671090784" clientoption2="390200">
<executionStack>
<frame line="2" stmtstart="80" stmtend="2948" sqlhandle="0x0200000042c4a22597eaf6280a8d39cc4b8c295828bc3978"/>
</executionStack>
<inputbuf>
SET IDENTITY_INSERT KB_Lable_temp_ ON
INSERT INTO [JL_MFG_TEST].[dbo].[KB_Lable_temp_]
(
[Id]
,[parentID]
,[cartypep_name]
,[batno]
,[wireno]
,[guagecolor]
,[length]
,[cut1]
,[cut2]
,[ter1]
,[ter2]
,[position_xl]
,[shelfID]
,[position_yj1]
,[position_yj2]
,[Label]
,[remark]
,[ISScan]
,[ScanDate]
,[Scanner]
,[FromStock]
,[ToStock]
,[ISprint]
,[PrintNum]
,[createdate]
,[ImportFlag]
,[HasCheck]
,[Checker]
,[groupID])
Select
[Id]
,[parentID]
,[cartypep_name]
,[batno]
,[wireno]
,[guagecolor]
,[length]
,[cut1]
,[cut2]
,[ter1]
,[ter2]
</inputbuf>
</process>
</blocking-process>
</blocked-process-report>