<?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>Search results matching tags 'PASS' and 'Query Tuning'</title><link>http://sqlblog.com/search/SearchResults.aspx?o=DateDescending&amp;tag=PASS,Query+Tuning&amp;orTags=0</link><description>Search results matching tags 'PASS' and 'Query Tuning'</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>Query Tuning Mastery at PASS Summit 2012: The Video</title><link>http://sqlblog.com/blogs/adam_machanic/archive/2012/11/13/query-tuning-mastery-at-pass-summit-2012-the-video.aspx</link><pubDate>Tue, 13 Nov 2012 14:49:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:46135</guid><dc:creator>Adam Machanic</dc:creator><description>&lt;p&gt;An especially clever community member was kind enough to reverse-engineer the video stream for me, and came up with a &lt;b&gt;direct link to the PASS TV video stream&lt;/b&gt; for my &lt;a href="http://sqlblog.com/blogs/adam_machanic/archive/2012/11/12/query-tuning-mastery-at-pass-summit-2012-the-demos.aspx"&gt;Query Tuning Mastery: The Art and Science of Manhandling Parallelism&lt;/a&gt; talk, delivered at the PASS Summit last Thursday. I'm &lt;b&gt;not sure how long this link will work&lt;/b&gt;, but I'd like to share it for my readers who were unable to see it in person or live on the stream.&lt;br&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;a href="http://pass.bethereglobal.com/demand/day2p1.mp4"&gt;Start here.&lt;/a&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;Skip past the keynote, to the 149 minute mark.&lt;/b&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;Enjoy!&lt;br&gt;&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/2012/11/11/query-tuning-mastery-at-pass-summit-2012-the-demos.aspx</link><pubDate>Mon, 12 Nov 2012 04:00:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:46095</guid><dc:creator>Adam Machanic</dc:creator><description>&lt;p&gt;For the second year in a row, I was asked to deliver a &lt;b&gt;500-level "Query Tuning Mastery"&lt;/b&gt; talk in room 6E of the Washington State Convention Center, for the PASS Summit. (&lt;a href="http://sqlblog.com/blogs/adam_machanic/archive/2011/10/16/pass-summit-2011-zen-and-the-art-of-workspace-memory-demos.aspx"&gt;Here's some information about last year's talk, on workspace memory.&lt;/a&gt;) And for the second year in a row, I had to deliver said talk at 10:15 in the morning, in a room used as overflow for the keynote, following a keynote speaker that didn't stop speaking on time. Frustrating!&lt;/p&gt;&lt;p&gt;Last Thursday, after very, very quickly setting up and getting sound and video checks, the rest of the talk went surprisingly smoothly. My deck--a brand new version created specifically for PASS--helped me get across the message I wanted to communicate, my demos ran without any failure, and my jokes didn't drive too many people out of the room before the end of the talk. &lt;b&gt;I even received a round of applause when I managed to take a 26 minute query plan and, using a few query rewrites, deliver the same exact data in 9 seconds&lt;/b&gt;. That, I have to say, was pretty cool.&lt;/p&gt;&lt;p&gt;Here's the abstract for the session:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;b&gt;Query Tuning Mastery: The Art and Science of Manhandling Parallelism&lt;/b&gt; &lt;br&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;As a database developer, your job boils down to one word: 
performance. In today's multi-core-driven world, query performance is 
very much determined by how well you're taking advantage of the 
processing power at your disposal. Are your big queries using every 
clock tick, or are they lagging behind? And if your queries are already 
parallel, can they be rewritten for even greater speed?
&lt;br&gt;
&lt;br&gt;In this session, you'll learn to take full advantage of SQL Server 
query parallelism. After a terminology review and technology refresher, 
the session will go deep, covering T-SQL patterns that allow certain 
queries to scale almost linearly across your multi-core CPUs. You'll see
 when and why the optimizer makes a parallel plan choice and how to 
impact the decision. Along the way, you’ll manipulate costs and row 
goals, challenge generally accepted tuning practices, and take complete 
control of your parallel queries.&lt;/span&gt; &lt;br&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Since the talk was being broadcast live on "PASS TV," I had &lt;a href="http://sqlblog.com/blogs/paul_white/"&gt;Paul White&lt;/a&gt; join me at the front of the room to moderate questions delivered via Twitter. This worked out reasonably well and I hope to do something similar in the future. &lt;b&gt;Huge thanks to Paul for helping out -- and for giving me a really ugly scowl when one of my jokes fell totally flat&lt;/b&gt;.&lt;br&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;Demos for the talk are attached.&lt;/b&gt; Let me know if you have any questions.&lt;/p&gt;&lt;p&gt;&lt;b&gt;Thanks again to everyone who watched, either in person or at home. I had a blast. Hope you enjoyed it even half as much as I did!&lt;/b&gt; &lt;br&gt;&lt;/p&gt;</description></item><item><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><pubDate>Mon, 17 Oct 2011 00:23:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:39085</guid><dc:creator>Adam Machanic</dc:creator><description>&lt;p&gt;&lt;b&gt;What a rush&lt;/b&gt;. 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 and I had to reboot it two minutes into the talk--I found my rhythm and the entire 90 minutes went by in a flash. I wish I'd been able to take 90 more!&lt;/p&gt;&lt;p&gt;The scene? &lt;span style="font-weight:bold;"&gt;PASS Summit 2011&lt;/span&gt;. Friday, October 14, 10:15 a.m. (Room 6E, to be exact.) The last day of one of the best PASS Summits I've had the pleasure of attending.&lt;/p&gt;&lt;p&gt;The topic? A fairly obscure area of SQL Server, called &lt;b&gt;workspace memory&lt;/b&gt;. Here's the abstract for the talk:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;b&gt;Query Tuning Mastery: Zen and the Art of Workspace Memory&lt;/b&gt;&lt;/p&gt;&lt;p&gt;As SQL Server professionals, we often think of memory in vague, instance-level terms: buffer pool, procedure cache, Virtual Address Space, and so on. But certain tasks require a more in-depth focus, and query tuning is one of them. Large, complex queries need memory in which to work--workspace memory--and understanding the how's, when's, and why's of this memory can help you create queries that run in seconds rather than minutes. This session will teach you how to guide the query processor to grant enough memory for top performance, while also keeping things balanced for the sake of concurrency. You will learn advanced monitoring techniques, expert-level application of specialized query hints, and the memory internals needed to put it all together. If you work with large queries and are serious about achieving scalability and consistently great performance, you owe it to yourself to attend this session. &lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;If you were in the audience,&lt;b&gt; I thank you for choosing my session &lt;/b&gt;over the many others that were running concurrently. I had a great time, and I hope you did too.&lt;/p&gt;&lt;p&gt;The &lt;b&gt;demos &lt;/b&gt;for the talk are attached to this post. Apologies, but I am not sharing the deck at this time as I'm going to be integrating it into a larger course that I hope to start delivering next year. (Through &lt;a href="http://dataeducation.com/"&gt;Data Education&lt;/a&gt;, naturally!)&lt;br&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;Enjoy!&lt;/b&gt; And as always, let me know in the comments if you have any questions.&lt;br&gt;&lt;/p&gt;</description></item></channel></rss>