<?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? v9.57: Fast, Comprehensive DMV Collection - What's Really Happening on Your Server?</title><link>http://sqlblog.com/blogs/adam_machanic/archive/2009/12/03/who-is-active-v9-57-fast-comprehensive-dmv-collection.aspx</link><description>UPDATE, April 28 2011: Who is Active v9.57 is outdated. Please use v11.00 instead. Happy December, SQLblog readers! My gift to you, just in time for the holidays: The newest "official" release of your favorite SQL Server activity monitoring stored procedure</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>re: Who is Active? v9.57: Fast, Comprehensive DMV Collection - What's Really Happening on Your Server?</title><link>http://sqlblog.com/blogs/adam_machanic/archive/2009/12/03/who-is-active-v9-57-fast-comprehensive-dmv-collection.aspx#19493</link><pubDate>Thu, 03 Dec 2009 21:15:36 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:19493</guid><dc:creator>Jimmy May, Aspiring Geek</dc:creator><description>&lt;p&gt;Adam, I'm quite excited about unloading your latest-&amp;amp;-greatest against the delinquent perpetrators who persist in trying to confound me.&lt;/p&gt;
&lt;p&gt;Best wishes to you for a very Merry Christmas &amp;amp; a happy, healthy, &amp;amp; prosperous new year.&lt;/p&gt;
</description></item><item><title>re: Who is Active? v9.57: Fast, Comprehensive DMV Collection - What's Really Happening on Your Server?</title><link>http://sqlblog.com/blogs/adam_machanic/archive/2009/12/03/who-is-active-v9-57-fast-comprehensive-dmv-collection.aspx#19496</link><pubDate>Thu, 03 Dec 2009 22:34:18 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:19496</guid><dc:creator>Warner Chaves</dc:creator><description>&lt;p&gt;Will be testing the new version out, thanks for the updates Adam!&lt;/p&gt;
</description></item><item><title>re: Who is Active? v9.57: Fast, Comprehensive DMV Collection - What's Really Happening on Your Server?</title><link>http://sqlblog.com/blogs/adam_machanic/archive/2009/12/03/who-is-active-v9-57-fast-comprehensive-dmv-collection.aspx#19501</link><pubDate>Thu, 03 Dec 2009 23:31:46 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:19501</guid><dc:creator>merrillaldrich</dc:creator><description>&lt;p&gt;You are the man. Again&lt;/p&gt;
</description></item><item><title>re: Who is Active? v9.57: Fast, Comprehensive DMV Collection - What's Really Happening on Your Server?</title><link>http://sqlblog.com/blogs/adam_machanic/archive/2009/12/03/who-is-active-v9-57-fast-comprehensive-dmv-collection.aspx#19504</link><pubDate>Fri, 04 Dec 2009 09:19:43 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:19504</guid><dc:creator>csm</dc:creator><description>&lt;p&gt;Thanks again for your script, it's great!!&lt;/p&gt;
</description></item><item><title>re: Who is Active? v9.57: Fast, Comprehensive DMV Collection - What's Really Happening on Your Server?</title><link>http://sqlblog.com/blogs/adam_machanic/archive/2009/12/03/who-is-active-v9-57-fast-comprehensive-dmv-collection.aspx#19506</link><pubDate>Fri, 04 Dec 2009 13:20:08 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:19506</guid><dc:creator>Thomas Pullen</dc:creator><description>&lt;p&gt;Very handy script, I've been meaning to check this out since you first posted it, and I'm glad I've finally got round to it.&lt;/p&gt;
</description></item><item><title>re: Who is Active? v9.57: Fast, Comprehensive DMV Collection - What's Really Happening on Your Server?</title><link>http://sqlblog.com/blogs/adam_machanic/archive/2009/12/03/who-is-active-v9-57-fast-comprehensive-dmv-collection.aspx#19512</link><pubDate>Fri, 04 Dec 2009 18:23:02 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:19512</guid><dc:creator>BradK</dc:creator><description>&lt;p&gt;Great job with this Adam. Would love it if you would spend a couple of blog posts explaining some of the internals. I really like how you implemented the help text.&lt;/p&gt;
</description></item><item><title>re: Who is Active? v9.57: Fast, Comprehensive DMV Collection - What's Really Happening on Your Server?</title><link>http://sqlblog.com/blogs/adam_machanic/archive/2009/12/03/who-is-active-v9-57-fast-comprehensive-dmv-collection.aspx#19519</link><pubDate>Fri, 04 Dec 2009 22:19:54 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:19519</guid><dc:creator>TommyB</dc:creator><description>&lt;p&gt;Thanks Adam!&lt;/p&gt;
</description></item><item><title>Who is Active? v8.40 - Now With Delta Power!</title><link>http://sqlblog.com/blogs/adam_machanic/archive/2009/12/03/who-is-active-v9-57-fast-comprehensive-dmv-collection.aspx#19788</link><pubDate>Fri, 11 Dec 2009 20:23:17 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:19788</guid><dc:creator>Adam Machanic</dc:creator><description>&lt;p&gt;NOTE: v8.40 is outdated at this time. Please try v9.57, which you can find here . It has been only a&lt;/p&gt;
</description></item><item><title>Bad habits to kick : relying on undocumented behavior</title><link>http://sqlblog.com/blogs/adam_machanic/archive/2009/12/03/who-is-active-v9-57-fast-comprehensive-dmv-collection.aspx#22025</link><pubDate>Tue, 09 Feb 2010 03:02:08 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:22025</guid><dc:creator>Aaron Bertrand</dc:creator><description>&lt;p&gt;In my last post in this series , I talked about the common habit of creating an IDENTITY column on every&lt;/p&gt;
</description></item><item><title>re: Who is Active? v9.57: Fast, Comprehensive DMV Collection - What's Really Happening on Your Server?</title><link>http://sqlblog.com/blogs/adam_machanic/archive/2009/12/03/who-is-active-v9-57-fast-comprehensive-dmv-collection.aspx#22946</link><pubDate>Mon, 08 Mar 2010 14:21:52 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:22946</guid><dc:creator>Steve</dc:creator><description>&lt;p&gt;Adam,&lt;/p&gt;
&lt;p&gt; &amp;nbsp;When running sp_WhoIsActive (w/no parameters) on my server, i find it reports close to 90 sleeping spids (all from one DB) each with 1 trans open. &amp;nbsp;I immediately run dbcc opentran and find none.&lt;/p&gt;
&lt;p&gt;What am I missing here?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
</description></item><item><title>re: Who is Active? v9.57: Fast, Comprehensive DMV Collection - What's Really Happening on Your Server?</title><link>http://sqlblog.com/blogs/adam_machanic/archive/2009/12/03/who-is-active-v9-57-fast-comprehensive-dmv-collection.aspx#22947</link><pubDate>Mon, 08 Mar 2010 14:31:45 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:22947</guid><dc:creator>Adam Machanic</dc:creator><description>&lt;p&gt;Hi Steve,&lt;/p&gt;
&lt;p&gt;DBCC OPENTRAN reports only read-write transactions--i.e. those that have modified some data (or will, in the case of a transaction started for an INSERT or similar). &lt;/p&gt;&lt;p&gt;Who is Active, thanks to the DMVs used, reports any open transaction, including read-only transactions. Your 90 SPIDs must have all started explicit transactions before queries were run, but didn't write anything. Personally, I think that reporting on both read-only transactions and read-write transactions is preferable to only showing the latter, as read-only transactions can hold locks, etc. But if you'd rather not see these SPIDs, simply run Who is Active with @show_sleeping_spids = 0 and they won't be included unless they're blocking some other SPID.&lt;/p&gt;</description></item><item><title>re: Who is Active? v9.57: Fast, Comprehensive DMV Collection - What's Really Happening on Your Server?</title><link>http://sqlblog.com/blogs/adam_machanic/archive/2009/12/03/who-is-active-v9-57-fast-comprehensive-dmv-collection.aspx#24978</link><pubDate>Mon, 10 May 2010 11:33:04 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:24978</guid><dc:creator>Ewan</dc:creator><description>&lt;p&gt;Hi Adam&lt;/p&gt;
&lt;p&gt;Brilliant Proc - thanks for sharing. I've been trying to change the defaults so that blocking chains are always bubbled to the top of the resultset, by setting @find_block_leaders to 1 and then sorting by @sort_order VARCHAR(500) = '[blocked_session_count][dd hh:mm:ss.mss]'. If no blockers are present, this should default back to the task age sort order. But it only sorts on the blocked_session_count - the age column is ignored. Is this expected?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Ewan&lt;/p&gt;
</description></item><item><title>re: Who is Active? v9.57: Fast, Comprehensive DMV Collection - What's Really Happening on Your Server?</title><link>http://sqlblog.com/blogs/adam_machanic/archive/2009/12/03/who-is-active-v9-57-fast-comprehensive-dmv-collection.aspx#24979</link><pubDate>Mon, 10 May 2010 11:40:11 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:24979</guid><dc:creator>Ewan</dc:creator><description>&lt;p&gt;Of course I could have just used start_time... Sorry for being sloooow.&lt;/p&gt;
&lt;p&gt;Ewan&lt;/p&gt;
</description></item><item><title>re: Who is Active? v9.57: Fast, Comprehensive DMV Collection - What's Really Happening on Your Server?</title><link>http://sqlblog.com/blogs/adam_machanic/archive/2009/12/03/who-is-active-v9-57-fast-comprehensive-dmv-collection.aspx#24983</link><pubDate>Mon, 10 May 2010 14:58:03 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:24983</guid><dc:creator>Adam Machanic</dc:creator><description>&lt;p&gt;Hi Ewan,&lt;/p&gt;
&lt;p&gt;I assume it's working for you now? Apologies for this case not being the most straightforward thing in the world. [dd hh:mm:ss.mss] is not a valid sort column, for a few reasons: A) I figured no one would want to type it in, and B) It isn't generated when you ask for &amp;quot;unformatted&amp;quot; output from the proc, and C) It sorts opposite the way you expect dates to. So in this case you've found the answer: [start_time] is the correct one to use.&lt;/p&gt;
&lt;p&gt;Enjoy, and let me know if I can help you with anything else with regard to the proc.&lt;/p&gt;
</description></item><item><title>re: Who is Active? v9.57: Fast, Comprehensive DMV Collection - What's Really Happening on Your Server?</title><link>http://sqlblog.com/blogs/adam_machanic/archive/2009/12/03/who-is-active-v9-57-fast-comprehensive-dmv-collection.aspx#25158</link><pubDate>Fri, 14 May 2010 11:04:09 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:25158</guid><dc:creator>Ewan</dc:creator><description>&lt;p&gt;Hi Adam. Sorry for the delay in responding. Yes, it's all working perfectly now. I've been playing around with the output for a while and I think I finally have it, goldilocks-like, just right.&lt;/p&gt;
&lt;p&gt;Ewan&lt;/p&gt;
</description></item><item><title>re: Who is Active? v9.57: Fast, Comprehensive DMV Collection - What's Really Happening on Your Server?</title><link>http://sqlblog.com/blogs/adam_machanic/archive/2009/12/03/who-is-active-v9-57-fast-comprehensive-dmv-collection.aspx#28367</link><pubDate>Fri, 27 Aug 2010 16:10:43 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:28367</guid><dc:creator>Michael</dc:creator><description>&lt;p&gt;Is there any way to display the user name instead of the long S number for users that have been created with the &amp;quot;WITHOUT LOGIN&amp;quot; option?&lt;/p&gt;
&lt;p&gt;For example the login name shows &amp;quot;S-1-9-3-2913542764-1330446797-317931661-1541866692&amp;quot; while the user sid is &amp;quot;0x0105000000000009030000006C22A9ADCD014D4F8D40F312C404E75B&amp;quot;. I looked but I couldn't find any way to get from one to the other to look the name up in sys.database_principals or sys.sysusers.&lt;/p&gt;
</description></item><item><title>re: Who is Active? v9.57: Fast, Comprehensive DMV Collection - What's Really Happening on Your Server?</title><link>http://sqlblog.com/blogs/adam_machanic/archive/2009/12/03/who-is-active-v9-57-fast-comprehensive-dmv-collection.aspx#28368</link><pubDate>Fri, 27 Aug 2010 16:19:54 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:28368</guid><dc:creator>Michael</dc:creator><description>&lt;p&gt;OK, it looks like I found something, it just doesn't help me much.. It looks like you have to call a WindowsAPI (ConvertStringSidToSid) to convert the S-1-9-3 into the SID. Maybe that would make a good CLR function? ;)&lt;/p&gt;
</description></item><item><title>re: Who is Active? v9.57: Fast, Comprehensive DMV Collection - What's Really Happening on Your Server?</title><link>http://sqlblog.com/blogs/adam_machanic/archive/2009/12/03/who-is-active-v9-57-fast-comprehensive-dmv-collection.aspx#28899</link><pubDate>Wed, 22 Sep 2010 12:23:16 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:28899</guid><dc:creator>Amit Singh</dc:creator><description>&lt;p&gt;I m not able to get the output when i m running query;&lt;/p&gt;
&lt;p&gt;exec sp_whoisactive @GET_TRANSACTION_INFO=1 ,&lt;/p&gt;
&lt;p&gt;@output_column_list = '[dd%][session_id][sql_text][sql_command][login_name][wait_info][tasks][tran_log%][cpu%][temp%][block%][reads%][writes%][context%][query_plan][locks][%]'&lt;/p&gt;
&lt;p&gt;Error generarted:--&amp;gt;&lt;/p&gt;
&lt;p&gt;Msg 208, Level 16, State 1, Line 1&lt;/p&gt;
&lt;p&gt;Invalid object name 'sys.dm_exec_query_memory_grants'.&lt;/p&gt;
&lt;p&gt;please help&lt;/p&gt;
</description></item><item><title>Who is Active? v10.00: DMV Monitoring Made Easy</title><link>http://sqlblog.com/blogs/adam_machanic/archive/2009/12/03/who-is-active-v9-57-fast-comprehensive-dmv-collection.aspx#29678</link><pubDate>Thu, 21 Oct 2010 21:02:24 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:29678</guid><dc:creator>Adam Machanic</dc:creator><description>&lt;p&gt;Today I am happy to release the newest official build of my Who is Active procedure: v10.00 . For those&lt;/p&gt;
</description></item><item><title>re: Who is Active? v9.57: Fast, Comprehensive DMV Collection - What's Really Happening on Your Server?</title><link>http://sqlblog.com/blogs/adam_machanic/archive/2009/12/03/who-is-active-v9-57-fast-comprehensive-dmv-collection.aspx#29721</link><pubDate>Fri, 22 Oct 2010 06:22:06 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:29721</guid><dc:creator>Dugi</dc:creator><description>&lt;p&gt;Well done! When it will be available for download!?&lt;/p&gt;
</description></item><item><title>re: Who is Active? v9.57: Fast, Comprehensive DMV Collection - What's Really Happening on Your Server?</title><link>http://sqlblog.com/blogs/adam_machanic/archive/2009/12/03/who-is-active-v9-57-fast-comprehensive-dmv-collection.aspx#31754</link><pubDate>Sun, 19 Dec 2010 09:21:51 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:31754</guid><dc:creator>DBA Expert</dc:creator><description>&lt;p&gt;Your script is very great. I think, i can use it. thanks.&lt;/p&gt;
</description></item><item><title>re: Who is Active? v9.57: Fast, Comprehensive DMV Collection - What's Really Happening on Your Server?</title><link>http://sqlblog.com/blogs/adam_machanic/archive/2009/12/03/who-is-active-v9-57-fast-comprehensive-dmv-collection.aspx#34303</link><pubDate>Tue, 22 Mar 2011 02:33:26 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:34303</guid><dc:creator>Jay</dc:creator><description>&lt;p&gt;WOW!!! That's a very useful script.Thanks Adam&lt;/p&gt;
&lt;p&gt;Jay&lt;/p&gt;
</description></item><item><title>re: Who is Active? v9.57: Fast, Comprehensive DMV Collection - What's Really Happening on Your Server?</title><link>http://sqlblog.com/blogs/adam_machanic/archive/2009/12/03/who-is-active-v9-57-fast-comprehensive-dmv-collection.aspx#34867</link><pubDate>Wed, 13 Apr 2011 19:02:56 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:34867</guid><dc:creator>Roman</dc:creator><description>&lt;p&gt;Really really useful script !!&lt;/p&gt;
&lt;p&gt;Great !!&lt;/p&gt;
&lt;p&gt;Thank you Adam &amp;nbsp;!!!&lt;/p&gt;
</description></item></channel></rss>