<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://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>Who is Active: Default Columns (A Month of Activity Monitoring, Part 7 of 30)</title><link>http://sqlblog.com/blogs/adam_machanic/archive/2011/04/07/who-is-active-default-columns-day-1-a-month-of-activity-monitoring-part-7-of-30.aspx</link><description>This post is part 7 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: Who is Active: Default Columns (A Month of Activity Monitoring, Part 7 of 30)</title><link>http://sqlblog.com/blogs/adam_machanic/archive/2011/04/07/who-is-active-default-columns-day-1-a-month-of-activity-monitoring-part-7-of-30.aspx#34813</link><pubDate>Mon, 11 Apr 2011 23:27:11 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:34813</guid><dc:creator>Michael Zilberstein</dc:creator><description>&lt;p&gt;You say that only sysprocesses shows number of open transactions. What about open_transaction_count column in sys.dm_exec_requests? I guess, we'll see the difference only for idle session which keeps open transaction(s) - dm_exec_requests would show nothing while sysprocesses would contain row.&lt;/p&gt;
</description></item><item><title>re: Who is Active: Default Columns (A Month of Activity Monitoring, Part 7 of 30)</title><link>http://sqlblog.com/blogs/adam_machanic/archive/2011/04/07/who-is-active-default-columns-day-1-a-month-of-activity-monitoring-part-7-of-30.aspx#34816</link><pubDate>Tue, 12 Apr 2011 01:35:40 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:34816</guid><dc:creator>Adam Machanic</dc:creator><description>&lt;p&gt;Michael, exactly. sysprocesses will show the value for a sleeping session. And that's really where it's interesting. Imagine that an app starts a bunch of nested transactions, then doesn't commit them all, but is done sending requests. This column is invaluable for debugging in that situation.&lt;/p&gt;
</description></item><item><title>re: Who is Active: Default Columns (A Month of Activity Monitoring, Part 7 of 30)</title><link>http://sqlblog.com/blogs/adam_machanic/archive/2011/04/07/who-is-active-default-columns-day-1-a-month-of-activity-monitoring-part-7-of-30.aspx#34830</link><pubDate>Tue, 12 Apr 2011 13:57:50 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:34830</guid><dc:creator>Michael Zilberstein</dc:creator><description>&lt;p&gt;Adam,&lt;/p&gt;
&lt;p&gt;I actually don't have to imagine - two of my clients had exactly this problem when connection from application isn't closed properly after failing on timeout, thus leaving open transaction and locked resources. I don't use your procedure (strictly speaking, I can't according to the license terms - or at least that's questionable) but it was so bad (some of the main tables locked for quite long) that I've build my own monitoring for it 2 years ago that automatically killed stuck sessions and notified application developers. Here is first time I found somebody mentioning this issue:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/b/psssql/archive/2008/07/23/how-it-works-attention-attention-or-should-i-say-cancel-the-query-and-be-sure-to-process-your-results.aspx"&gt;http://blogs.msdn.com/b/psssql/archive/2008/07/23/how-it-works-attention-attention-or-should-i-say-cancel-the-query-and-be-sure-to-process-your-results.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;(comment from mz1313 is mine)&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://sqlblog.com/blogs/adam_machanic/archive/2011/04/07/who-is-active-default-columns-day-1-a-month-of-activity-monitoring-part-7-of-30.aspx#35335</link><pubDate>Sat, 30 Apr 2011 15:45:04 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:35335</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>