<?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>Leader of the Block (A Month of Activity Monitoring, Part 23 of 30)</title><link>http://www2.sqlblog.com/blogs/adam_machanic/archive/2011/04/23/leader-of-the-block-a-month-of-activity-monitoring-part-23-of-30.aspx</link><description>This post is part 23 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: Leader of the Block (A Month of Activity Monitoring, Part 23 of 30)</title><link>http://www2.sqlblog.com/blogs/adam_machanic/archive/2011/04/23/leader-of-the-block-a-month-of-activity-monitoring-part-23-of-30.aspx#35134</link><pubDate>Sat, 23 Apr 2011 16:34:28 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:35134</guid><dc:creator>AaronBertrand</dc:creator><description>&lt;p&gt;Personally I think sleep time since the last request completed is more relevant and interesting than the time since they logged in. Though I wonder if it makes sense to have an option to include both, so you could see sessions that have done a lot of work, or have been logged on for a long time, and compare that to how long they have been logged in since doing work.&lt;/p&gt;
</description></item><item><title>re: Leader of the Block (A Month of Activity Monitoring, Part 23 of 30)</title><link>http://www2.sqlblog.com/blogs/adam_machanic/archive/2011/04/23/leader-of-the-block-a-month-of-activity-monitoring-part-23-of-30.aspx#35136</link><pubDate>Sat, 23 Apr 2011 22:02:12 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:35136</guid><dc:creator>Adam Machanic</dc:creator><description>&lt;p&gt;How about instead of an option if I just add login_time as a new column? Another way to think about this: Would you ever want to see the login_time expressed in the [dd hh:mm:ss.mss] column, were I to change that column to express the amount of time since the last batch (for sleeping sessions)? &lt;/p&gt;
&lt;p&gt;Another question is whether this new behavior will be more or less confusing than the existing behavior. It's tough to know what the right move is.&lt;/p&gt;
</description></item><item><title>re: Leader of the Block (A Month of Activity Monitoring, Part 23 of 30)</title><link>http://www2.sqlblog.com/blogs/adam_machanic/archive/2011/04/23/leader-of-the-block-a-month-of-activity-monitoring-part-23-of-30.aspx#35152</link><pubDate>Mon, 25 Apr 2011 05:59:55 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:35152</guid><dc:creator>Paul White</dc:creator><description>&lt;p&gt;Hey Adam,&lt;/p&gt;
&lt;p&gt;An excellent post today. &amp;nbsp;As far as the homework is concerned:&lt;/p&gt;
&lt;p&gt;&amp;quot;... I've been thinking that it might make more sense to instead show the amount of time since the last request completed—the amount of time that the session has been sleeping. This seems to me to be more useful information and more in line with the goal of the stored procedure.&amp;quot;&lt;/p&gt;
&lt;p&gt;I agree!&lt;/p&gt;
&lt;p&gt;Paul&lt;/p&gt;
</description></item><item><title>re: Leader of the Block (A Month of Activity Monitoring, Part 23 of 30)</title><link>http://www2.sqlblog.com/blogs/adam_machanic/archive/2011/04/23/leader-of-the-block-a-month-of-activity-monitoring-part-23-of-30.aspx#35200</link><pubDate>Tue, 26 Apr 2011 09:36:31 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:35200</guid><dc:creator>LeoPasta</dc:creator><description>&lt;p&gt;I too agree that showing the time since the last batch will be more useful (and less confusing) than showing the time since login. &lt;/p&gt;
</description></item><item><title>re: Leader of the Block (A Month of Activity Monitoring, Part 23 of 30)</title><link>http://www2.sqlblog.com/blogs/adam_machanic/archive/2011/04/23/leader-of-the-block-a-month-of-activity-monitoring-part-23-of-30.aspx#35222</link><pubDate>Tue, 26 Apr 2011 23:43:20 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:35222</guid><dc:creator>Erin Stellatou </dc:creator><description>&lt;p&gt;Adam-&lt;/p&gt;
&lt;p&gt;One thing I remember you telling me: even if you filter out sleeping SPIDs, if you're doing @find_block_leaders = 1, it WILL show a sleeping SPID if that's the lead blocker. &amp;nbsp;And I just proved it last week with the issue I discussed with Paul :) &amp;nbsp;I didn't see you mention that tidbit in the post, thought it was worth noting.&lt;/p&gt;
&lt;p&gt;Also, as someone who works on systems with a lot of sleeping SPIDs, I would be very interested in seeing the amount of time the session has been sleeping.&lt;/p&gt;
&lt;p&gt;E&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/23/leader-of-the-block-a-month-of-activity-monitoring-part-23-of-30.aspx#35351</link><pubDate>Sat, 30 Apr 2011 15:45:19 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:35351</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></channel></rss>