<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://www2.sqlblog.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Analyzing Tempdb Contention (A Month of Activity Monitoring, Part 21 of 30)</title><link>http://www2.sqlblog.com/blogs/adam_machanic/archive/2011/04/21/analyzing-tempdb-contention-a-month-of-activity-monitoring-part-21-of-30.aspx</link><description>This post is part 21 of a 30-part series about the Who is Active stored procedure. A new post will run each day during the month of April, 2011. After April all of these posts will be edited and combined into a single document to become the basis of the</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>re: Analyzing Tempdb Contention (A Month of Activity Monitoring, Part 21 of 30)</title><link>http://www2.sqlblog.com/blogs/adam_machanic/archive/2011/04/21/analyzing-tempdb-contention-a-month-of-activity-monitoring-part-21-of-30.aspx#35088</link><pubDate>Thu, 21 Apr 2011 19:37:37 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:35088</guid><dc:creator>Yih Lee</dc:creator><description>&lt;p&gt;I think there is a bug in Sp_whoisActive where the &amp;quot;program_Name&amp;quot; is incorrectly displayed.&lt;/p&gt;
&lt;p&gt;For some reason, When I run this&lt;/p&gt;
&lt;p&gt;EXEC Perf..sp_WhoIsActive &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;@get_additional_info = 1,&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;@filter_type = 'Session', &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;@filter = '435',&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;@get_plans = 1,&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;@get_task_info = 1&lt;/p&gt;
&lt;p&gt;It is displaying program_name as 'Service Broke queue_id: 2075870462' but the query is running from SSMS. this is repeatable on other servers as well.&lt;/p&gt;
</description></item><item><title>re: Analyzing Tempdb Contention (A Month of Activity Monitoring, Part 21 of 30)</title><link>http://www2.sqlblog.com/blogs/adam_machanic/archive/2011/04/21/analyzing-tempdb-contention-a-month-of-activity-monitoring-part-21-of-30.aspx#35094</link><pubDate>Thu, 21 Apr 2011 23:35:13 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:35094</guid><dc:creator>Adam Machanic</dc:creator><description>&lt;p&gt;Hi Yih, &lt;/p&gt;&lt;p&gt;Can you share some more information? Is Service Broker running in your environment? And can you try again with the most recent beta:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://sqlblog.com/files/folders/35046/download.aspx" rel="nofollow" target="_new"&gt;http://sqlblog.com/files/folders/35046/download.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks! &lt;br&gt;&lt;/p&gt;</description></item><item><title>Twenty Nine Days of Activity Monitoring (A Month of Activity Monitoring, Part 30 of 30)</title><link>http://www2.sqlblog.com/blogs/adam_machanic/archive/2011/04/21/analyzing-tempdb-contention-a-month-of-activity-monitoring-part-21-of-30.aspx#35349</link><pubDate>Sat, 30 Apr 2011 15:45:18 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:35349</guid><dc:creator>Adam Machanic</dc:creator><description>&lt;p&gt;This post is part 30 of a 30-part series about the Who is Active stored procedure. A new post will run&lt;/p&gt;
</description></item><item><title>re: Analyzing Tempdb Contention (A Month of Activity Monitoring, Part 21 of 30)</title><link>http://www2.sqlblog.com/blogs/adam_machanic/archive/2011/04/21/analyzing-tempdb-contention-a-month-of-activity-monitoring-part-21-of-30.aspx#45342</link><pubDate>Tue, 25 Sep 2012 13:45:58 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:45342</guid><dc:creator>mjswart</dc:creator><description>&lt;p&gt;Hi Adam, &lt;/p&gt;
&lt;p&gt;I've noticed that sp_whoisactive uses tempdb itself and when there's tempdb contention I've seen sp_whoisactive take a while. So I've learned to do quick and dirty ad hoc queries from dm_exec_requests...&lt;/p&gt;
&lt;p&gt;But does this make sense? That sp_whoisactive can struggle to report on &amp;nbsp;tempdb contention because it needs to use tempdb itself?&lt;/p&gt;
</description></item><item><title>re: Analyzing Tempdb Contention (A Month of Activity Monitoring, Part 21 of 30)</title><link>http://www2.sqlblog.com/blogs/adam_machanic/archive/2011/04/21/analyzing-tempdb-contention-a-month-of-activity-monitoring-part-21-of-30.aspx#45349</link><pubDate>Tue, 25 Sep 2012 22:49:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:45349</guid><dc:creator>Adam Machanic</dc:creator><description>&lt;p&gt;Hi Michael,&lt;/p&gt;
&lt;p&gt;First off, which version are you using? v11.11 was specifically tuned to use less tempdb than prior versions.&lt;/p&gt;
&lt;p&gt;Second, unfortunately I had to make a choice between [workspace] memory and tempdb [spills]. I chose the latter, as I consider tempdb to be a much cheaper and more expendable resource than memory. Admittedly, I tuned this using a pretty heavy knob and I didn't do a lot of analysis on whether or not I could balance things out a bit more. I hope to do that for a future version.&lt;/p&gt;
&lt;p&gt;--Adam&lt;/p&gt;
</description></item><item><title>re: Analyzing Tempdb Contention (A Month of Activity Monitoring, Part 21 of 30)</title><link>http://www2.sqlblog.com/blogs/adam_machanic/archive/2011/04/21/analyzing-tempdb-contention-a-month-of-activity-monitoring-part-21-of-30.aspx#48975</link><pubDate>Mon, 06 May 2013 12:47:08 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:48975</guid><dc:creator>Centurian</dc:creator><description>&lt;p&gt;Hello Adam,&lt;/p&gt;
&lt;p&gt;Just used your SQLQueryStress utility which helped verify my query detected contention straight away. Thanks a bunch.&lt;/p&gt;
&lt;p&gt;:-)&lt;/p&gt;
</description></item></channel></rss>