Quantcast
Viewing all articles
Browse latest Browse all 15889

sql full text search shows up on blocked process report

Ran the following SQL full text search on one of our larger repos.

Select F.[KEY] AS KEYWORD, F.[RANK] AS KEYRANK FROM  CONTAINSTABLE(O2545, FileText, @FileText, 50) F

50 rows returned in two minutes 38 seconds (does not normally take this long).  Luckily I had a block process report trace running (threshold = 28 seconds) so I checked that report.  Sure enough... The full text query shows up in the blocked process report output.

Looks like the blocking process may have been something related to "IFTSAutoNested".  Is this the full text ingestor (I believe ours may be set for auto)?  Any way to drill down on what is was doing at the time?  

<blocked-process-report>
 <blocked-process>
  <process id="process5496bc8" taskpriority="20" logused="0" waitresource="OBJECT: 9:1095049114:12 " waittime="40333" ownerId="10455368699" transactionname="IFTSAutoNested" lasttranstarted="2013-02-20T12:16:30.170" XDES="0x2aaa7b970" lockMode="IX" schedulerid="13" kpid="3692" status="background" spid="25" sbid="0" ecid="0" priority="0" trancount="2">
   <executionStack/>
   <inputbuf>
   </inputbuf>
  </process>
 </blocked-process>
 <blocking-process>
  <process status="suspended" waitresource="9:3:13621784" waittime="13" spid="236" sbid="0" ecid="0" priority="0" trancount="0" lastbatchstarted="2013-02-20T12:16:29.473" lastbatchcompleted="2013-02-20T12:16:29.460" lastattention="2013-02-20T12:16:21.057" clientapp="Microsoft SQL Server Management Studio - Query" hostname="SMPC2" hostpid="5388" loginname="sa" isolationlevel="read committed (2)" xactid="10455367554" currentdb="9" lockTimeout="4294967295" clientoption1="671098976" clientoption2="390200">
   <executionStack>
    <frame line="10" stmtstart="752" stmtend="958" sqlhandle="0x0200000094c24b27132fb9200f93203afd10dbe126584a32"/>
   </executionStack>
   <inputbuf>
declare @FileText as nvarchar(25) = &apos;list&apos;

set statistics io on

Select F.[KEY] AS KEYWORD, F.[RANK] AS KEYRANK FROM  CONTAINSTABLE(O2545, FileText, @FileText, 50) F

set statistics io off
   </inputbuf>
  </process>
 </blocking-process>
</blocked-process-report>


Viewing all articles
Browse latest Browse all 15889

Trending Articles



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