Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Administration - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 6525

"Blocked process report" in sql server Profiler

$
0
0
Hi I Enabled Server Side Profiler for a database. in events I choose "Blocked process report" with threshold = 5 for totaly 2 hours in every days. But the question is :some times most of the cause of blocking is an SP that only contain a select with readuncommitted ???is it possible ?why ? and interesting point is on xml filed (bpreportxml) for secondary part (<blocking-process>) we dont have any sql line that have sqlhandle . then we can not find the table and index related to this sp . [code="sql"]<blocked-process-report monitorLoop="1503033"> <blocked-process> <process id="process3419f57c28" taskpriority="0" logused="0" waitresource="KEY: 9:720------7392 (8374a----c7b7)" waittime="8952" ownerId="22---9309" transactionname="SELECT" lasttranstarted="2016-01-30T11:26:58.860" XDES="0x27adca4660" lockMode="S" schedulerid="1" kpid="18768" status="suspended" spid="140" sbid="0" ecid="101" priority="0" trancount="0" lastbatchstarted="2016-01-30T11:26:58.860" lastbatchcompleted="2016-01-30T11:26:58.857" lastattention="1900-01-01T00:00:00.857" clientapp=".Net SqlClient Data Provider" hostname="D----" hostpid="9892" isolationlevel="read committed (2)" xactid="229---309" currentdb="9" lockTimeout="42949--7295" clientoption1="67--8672" clientoption2="128056"> <executionStack> <frame line="1" stmtend="522" sqlhandle="0x020000000d-----a4daf40e0fa284c0bfd710000000000000000000000000000000000000000" /> <frame line="90" stmtstart="6418" stmtend="6444" sqlhandle="0x030009003e98a274d126260188a5000-------00000000000000000000000000000000000000000" /> </executionStack> <inputbuf>Proc [Database Id = 9 Object Id = 195---2862] </inputbuf> </process> </blocked-process> <blocking-process> <process status="sleeping" spid="124" sbid="0" ecid="0" priority="0" trancount="1" lastbatchstarted="2016-01-30T11:27:01.293" lastbatchcompleted="2016-01-30T11:27:01.293" lastattention="2016-01-30T11:23:07.240" clientapp=".Net SqlClient Data Provider" hostname="D------" hostpid="9408" loginname="D---" isolationlevel="read uncommitted (1)" xactid="2291---860" currentdb="9" lockTimeout="4294---7295" clientoption1="67108---2" clientoption2="12---056"> <executionStack /> <inputbuf>Proc [Database Id = 9 Object Id = 1486---339] </inputbuf> </process> </blocking-process></blocked-process-report>[/code]Thank you

Viewing all articles
Browse latest Browse all 6525

Trending Articles