<?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>PASS Summit 2011 - Zen and the Art of Workspace Memory - Demos</title><link>http://sqlblog.com/blogs/adam_machanic/archive/2011/10/16/pass-summit-2011-zen-and-the-art-of-workspace-memory-demos.aspx</link><description>What a rush . Standing on the stage in an almost-full 1,000-person room, I (very) momentarily wondered what I'd been thinking when I submitted a 500-level talk for the biggest SQL Server conference in the world. But despite a rough start--my laptop crashed</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>re: PASS Summit 2011 - Zen and the Art of Workspace Memory - Demos</title><link>http://sqlblog.com/blogs/adam_machanic/archive/2011/10/16/pass-summit-2011-zen-and-the-art-of-workspace-memory-demos.aspx#39103</link><pubDate>Mon, 17 Oct 2011 16:24:50 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:39103</guid><dc:creator>Michael</dc:creator><description>&lt;p&gt;Great session by the way! One question, I didn't catch the command you were using to monitor the allocated memory for a process. i.e. In your 01_WorkspaceMemoryBasics.sql you would run a query and then monitor it. hmmm after some googling was it perhaps &lt;/p&gt;
&lt;p&gt;select * from sys.dm_exec_query_memory_grants&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;me&lt;/p&gt;
</description></item><item><title>re: PASS Summit 2011 - Zen and the Art of Workspace Memory - Demos</title><link>http://sqlblog.com/blogs/adam_machanic/archive/2011/10/16/pass-summit-2011-zen-and-the-art-of-workspace-memory-demos.aspx#39104</link><pubDate>Mon, 17 Oct 2011 16:32:54 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:39104</guid><dc:creator>Adam Machanic</dc:creator><description>&lt;p&gt;Hi Michael,&lt;/p&gt;
&lt;p&gt;Yes, I was using a combination of that and DBCC MEMORYSTATUS. Glad you enjoyed the session!&lt;/p&gt;
&lt;p&gt;--Adam&lt;/p&gt;
</description></item><item><title>re: PASS Summit 2011 - Zen and the Art of Workspace Memory - Demos</title><link>http://sqlblog.com/blogs/adam_machanic/archive/2011/10/16/pass-summit-2011-zen-and-the-art-of-workspace-memory-demos.aspx#39112</link><pubDate>Mon, 17 Oct 2011 18:48:15 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:39112</guid><dc:creator>Kendra Little</dc:creator><description>&lt;p&gt;Fantastic handling of the rough start, btw--- only the slightest of pauses as you handled the crash, and you were off to the races as if nothing had happened. Thanks very much for sharing the demos!&lt;/p&gt;
</description></item><item><title>re: PASS Summit 2011 - Zen and the Art of Workspace Memory - Demos</title><link>http://sqlblog.com/blogs/adam_machanic/archive/2011/10/16/pass-summit-2011-zen-and-the-art-of-workspace-memory-demos.aspx#39114</link><pubDate>Mon, 17 Oct 2011 18:51:12 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:39114</guid><dc:creator>TheSQLGuru</dc:creator><description>&lt;p&gt;Thanks for sharing your knowledge with the community Adam!&lt;/p&gt;
</description></item><item><title>re: PASS Summit 2011 - Zen and the Art of Workspace Memory - Demos</title><link>http://sqlblog.com/blogs/adam_machanic/archive/2011/10/16/pass-summit-2011-zen-and-the-art-of-workspace-memory-demos.aspx#39120</link><pubDate>Mon, 17 Oct 2011 20:11:07 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:39120</guid><dc:creator>Jennifer McConnell</dc:creator><description>&lt;p&gt;Loved the workspace memory session at PASS, Adam...thanks for sharing the demos with us! A lot of good information and ideas to put to work this week now that PASS is over. Hope to hear you speak again.&lt;/p&gt;
</description></item><item><title>re: PASS Summit 2011 - Zen and the Art of Workspace Memory - Demos</title><link>http://sqlblog.com/blogs/adam_machanic/archive/2011/10/16/pass-summit-2011-zen-and-the-art-of-workspace-memory-demos.aspx#39132</link><pubDate>Mon, 17 Oct 2011 23:13:50 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:39132</guid><dc:creator>Dave Lafayette</dc:creator><description>&lt;p&gt;Adam, it was a pleasure to sit in both this class as well as your pre-conference class: &amp;quot;No More Guessing! An Enlightened Approach to Performance Troubleshooting&amp;quot;.&lt;/p&gt;
&lt;p&gt;I've downloaded your queries and started pulling in baseline information on our system. &amp;nbsp;I wonder if you could answer one question regarding your baseline_queries.sql script.&lt;/p&gt;
&lt;p&gt;In the script you are returning the AVE of r.MetricValue:&lt;/p&gt;
&lt;p&gt;	SELECT TOP(2147483647)&lt;/p&gt;
&lt;p&gt;		m.MetricId,&lt;/p&gt;
&lt;p&gt;		m.MetricName,&lt;/p&gt;
&lt;p&gt;		AVG(r.MetricValue) AS AvgMetricValue,&lt;/p&gt;
&lt;p&gt;r.MetricValue appears to be the SUM of all samples over a 15 minute period (from the FifteenMinuteGroup view). &amp;nbsp;Shouldn't this be divided by r.CountOfRows? Something like:&lt;/p&gt;
&lt;p&gt;	SELECT TOP(2147483647)&lt;/p&gt;
&lt;p&gt;		m.MetricId,&lt;/p&gt;
&lt;p&gt;		m.MetricName,&lt;/p&gt;
&lt;p&gt;		AVG(r.MetricValue / r.CountOfRows) AS AvgMetricValue,&lt;/p&gt;
&lt;p&gt;The results I'm getting back are averages of the sum of the 15 minute blocks. Did you leave the results this way on purpose or am I miss interpreting something?&lt;/p&gt;
&lt;p&gt;Thanks Adam&lt;/p&gt;
</description></item><item><title>re: PASS Summit 2011 - Zen and the Art of Workspace Memory - Demos</title><link>http://sqlblog.com/blogs/adam_machanic/archive/2011/10/16/pass-summit-2011-zen-and-the-art-of-workspace-memory-demos.aspx#39136</link><pubDate>Tue, 18 Oct 2011 00:10:13 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:39136</guid><dc:creator>Angela</dc:creator><description>&lt;p&gt;I was so impressed by the fact that the content of the talk you gave was evidently 500 level and not something a person could come across everyday or in a standard class.&lt;/p&gt;
&lt;p&gt;Our server is under utilized memory-wise and now I know how to adjust it.&lt;/p&gt;
&lt;p&gt;I have been able to come back to my job and apply what you've said to the real world spikes we deal with at least once a week.&lt;/p&gt;
&lt;p&gt;My boss thanks you.&lt;/p&gt;
</description></item><item><title>re: PASS Summit 2011 - Zen and the Art of Workspace Memory - Demos</title><link>http://sqlblog.com/blogs/adam_machanic/archive/2011/10/16/pass-summit-2011-zen-and-the-art-of-workspace-memory-demos.aspx#39151</link><pubDate>Tue, 18 Oct 2011 13:00:37 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:39151</guid><dc:creator>Mladen</dc:creator><description>&lt;p&gt;It was a great session! i just wish i didn't have to go out early. :(&lt;/p&gt;
</description></item><item><title>re: PASS Summit 2011 - Zen and the Art of Workspace Memory - Demos</title><link>http://sqlblog.com/blogs/adam_machanic/archive/2011/10/16/pass-summit-2011-zen-and-the-art-of-workspace-memory-demos.aspx#39154</link><pubDate>Tue, 18 Oct 2011 13:46:47 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:39154</guid><dc:creator>Tracy Bradley</dc:creator><description>&lt;p&gt;Great session. I attended both of your sessions and, as always, I'm impressed. &lt;/p&gt;
&lt;p&gt;I'm disappointed that you decided to not share the slide deck with the attendees. I understand that you don't want to give away the deck to those who did not attend. &amp;nbsp;I'm required by my organization to write up a trip report. &amp;nbsp;If you could at least &amp;nbsp;password protect it using the same password as the PreCon materials that would be great. &lt;/p&gt;
</description></item><item><title>re: PASS Summit 2011 - Zen and the Art of Workspace Memory - Demos</title><link>http://sqlblog.com/blogs/adam_machanic/archive/2011/10/16/pass-summit-2011-zen-and-the-art-of-workspace-memory-demos.aspx#39159</link><pubDate>Tue, 18 Oct 2011 15:19:49 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:39159</guid><dc:creator>Adam Machanic</dc:creator><description>&lt;p&gt;Kendra, SQLGuru, Jennifer, Dave, Angela, Mladen, and Tracy: Thank you again for attending!&lt;/p&gt;
&lt;p&gt;Tracy: Again, I am sorry, but this is my policy with regard to new presentations that I haven't given too many times. There are a number of reasons that I don't share these decks; it's not as simple as who attended and who didn't. What kind of info do you need for your report? I'm happy to help fill in some blanks in your mind. Drop me a line privately via the "Email" link at the top of this post and let me know what you need.&lt;/p&gt;
&lt;p&gt;Dave: You're right, there probably should have been some division in there. But I'm not sure that it matters. As long as the number of collections is consistent, you're doing relative comparison across numbers on the same basis so everything should more or less tie out. But it is a great point none the less, especially if you're reporting on those numbers instead of just using them for comparison.&lt;/p&gt;</description></item><item><title>re: PASS Summit 2011 - Zen and the Art of Workspace Memory - Demos</title><link>http://sqlblog.com/blogs/adam_machanic/archive/2011/10/16/pass-summit-2011-zen-and-the-art-of-workspace-memory-demos.aspx#39166</link><pubDate>Tue, 18 Oct 2011 19:19:49 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:39166</guid><dc:creator>Chris Wood</dc:creator><description>&lt;p&gt;Greatly enjoyed your session Adam. I have attended 7 PASS Summits now and never fail to discover some very useful information that I would have never discovered.&lt;/p&gt;
&lt;p&gt;I wonder how you will be able to top the presentation next year?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Chris&lt;/p&gt;
</description></item><item><title>re: PASS Summit 2011 - Zen and the Art of Workspace Memory - Demos</title><link>http://sqlblog.com/blogs/adam_machanic/archive/2011/10/16/pass-summit-2011-zen-and-the-art-of-workspace-memory-demos.aspx#39174</link><pubDate>Tue, 18 Oct 2011 21:38:14 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:39174</guid><dc:creator>Adam Machanic</dc:creator><description>&lt;p&gt;Chris: top it next year?! Given the headache this one gave me, I'd say that topping it would require blowing myself up on stage. No thanks :-)&lt;/p&gt;
</description></item><item><title>re: PASS Summit 2011 - Zen and the Art of Workspace Memory - Demos</title><link>http://sqlblog.com/blogs/adam_machanic/archive/2011/10/16/pass-summit-2011-zen-and-the-art-of-workspace-memory-demos.aspx#39252</link><pubDate>Thu, 20 Oct 2011 16:34:07 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:39252</guid><dc:creator>Mark Holmes</dc:creator><description>&lt;p&gt;Adam, your session was amazing. &amp;nbsp;Definitely a 500 to 700 level dive into keeping query memory predictable. &amp;nbsp;Your presentation quality was excellent, and it's obvious that you understand what you're presenting. &amp;nbsp;However, there's one disappointment I will share:&lt;/p&gt;
&lt;p&gt;I was hoping to see your slides after the fact, in some form, so that I could refer to the information to help explain &amp;quot;why&amp;quot; something works a certain way. &amp;nbsp;In fact, I had assumed they would be available, so I didn't take detailed notes. &amp;nbsp;Personally, I can't keep up with the speed of a high level presentation enough to take notes with detail. &amp;nbsp;I can only hope that the slide content is present on the DVDs when they're released in a few months. &amp;nbsp;Without the slides, my personal retention of the content will be under 10% - just enough to remember keywords to Google/Bing/#sqlhelp, and not enough to ask you to fill gaps by email. &lt;/p&gt;
&lt;p&gt;Maybe my expectations are unrealistic; this was my first PASS Summit and first time seeing most of the speakers in person, so I don't have a baseline established yet.&lt;/p&gt;
</description></item><item><title>re: PASS Summit 2011 - Zen and the Art of Workspace Memory - Demos</title><link>http://sqlblog.com/blogs/adam_machanic/archive/2011/10/16/pass-summit-2011-zen-and-the-art-of-workspace-memory-demos.aspx#39258</link><pubDate>Thu, 20 Oct 2011 18:09:56 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:39258</guid><dc:creator>Adam Machanic</dc:creator><description>&lt;p&gt;Mark et al,&lt;/p&gt;
&lt;p&gt;I've had a change of heart. Slides are now posted.&lt;/p&gt;
&lt;p&gt;--Adam&lt;/p&gt;
</description></item><item><title>re: PASS Summit 2011 - Zen and the Art of Workspace Memory - Demos</title><link>http://sqlblog.com/blogs/adam_machanic/archive/2011/10/16/pass-summit-2011-zen-and-the-art-of-workspace-memory-demos.aspx#39658</link><pubDate>Sat, 05 Nov 2011 18:47:38 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:39658</guid><dc:creator>Mike</dc:creator><description>&lt;p&gt;Adam:&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; Do you have any recommendations/suggestions on autocreate statistics ON. We recently had a huge performance issue in our data transfer routine with a bad autocreate stats.Currently couple of our tables are with over 30 autocreated stats (table with 40 columns).&lt;/p&gt;
</description></item><item><title>re: PASS Summit 2011 - Zen and the Art of Workspace Memory - Demos</title><link>http://sqlblog.com/blogs/adam_machanic/archive/2011/10/16/pass-summit-2011-zen-and-the-art-of-workspace-memory-demos.aspx#39710</link><pubDate>Tue, 08 Nov 2011 18:00:12 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:39710</guid><dc:creator>Adam Machanic</dc:creator><description>&lt;p&gt;Hi Mike,&lt;/p&gt;
&lt;p&gt;I'm not entirely sure what you're asking. Did you have issues due to too many autostats getting created? Or not enough autostats? Having 30 stats on a 40 column table is neither good nor bad -- it all depends on how the data is being used.&lt;/p&gt;
</description></item><item><title>re: PASS Summit 2011 - Zen and the Art of Workspace Memory - Demos</title><link>http://sqlblog.com/blogs/adam_machanic/archive/2011/10/16/pass-summit-2011-zen-and-the-art-of-workspace-memory-demos.aspx#41061</link><pubDate>Mon, 16 Jan 2012 13:08:22 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:41061</guid><dc:creator>Fabricio Catae</dc:creator><description>&lt;p&gt;Thanks for sharing the scripts! This was the most amazing session at PASS 2011. It was above level 400. :)&lt;/p&gt;
</description></item><item><title>Query Tuning Mastery at PASS Summit 2012: The Demos</title><link>http://sqlblog.com/blogs/adam_machanic/archive/2011/10/16/pass-summit-2011-zen-and-the-art-of-workspace-memory-demos.aspx#46096</link><pubDate>Mon, 12 Nov 2012 04:13:11 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:46096</guid><dc:creator>Adam Machanic</dc:creator><description>&lt;p&gt;For the second year in a row, I was asked to deliver a 500-level "Query Tuning Mastery" talk in room&lt;/p&gt;</description></item></channel></rss>