<?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 'parallel processing', 'PASS', and 'Performance'</title><link>http://sqlblog.com/search/SearchResults.aspx?o=DateDescending&amp;tag=parallel+processing,PASS,Performance&amp;orTags=0</link><description>Search results matching tags 'parallel processing', 'PASS', and 'Performance'</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 2010 Post-Conference Seminar on Parallel Processing</title><link>http://sqlblog.com/blogs/adam_machanic/archive/2010/08/04/pass-summit-2010-post-conference-seminar-on-parallel-processing.aspx</link><pubDate>Wed, 04 Aug 2010 16:37:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:27609</guid><dc:creator>Adam Machanic</dc:creator><description>&lt;p&gt;I am honored to have been selected for a second year in a row to present a full-day seminar at the PASS Summit. This year's seminar will be a "post-con", and &lt;b&gt;will be delivered on Friday, November 12&lt;/b&gt;.&lt;/p&gt;&lt;p&gt;The title of the seminar is "&lt;b&gt;A Day of Doing Many Things at Once: Multitasking, Parallelism, and Process Distribution&lt;/b&gt;," and the focus is on maximizing performance by taking full advantage of your server's CPU infrastructure. &lt;/p&gt;&lt;p&gt;As IT professionals &lt;b&gt;we're all used to the ever-increasing nature of server resources, but things have changed&lt;/b&gt; over the past few years. Next-generation server hardware is shipping with more CPU power, but in the form of more CPUs rather than faster CPUs. This means that we can no longer expect that new hardware will automatically make all of our existing processes faster and better; we need to understand how to tune our software to properly leverage these resources.&lt;/p&gt;&lt;p&gt;&lt;a href="http://sqlpass.eventpoint.com/topic/details/AD311P"&gt;&lt;b&gt;A one-paragraph abstract and registration information is available here&lt;/b&gt;&lt;/a&gt;. &lt;/p&gt;&lt;p&gt;What follows is a basic outline of what will be covered over the course of the day. Feel free to leave me a comment below if you have any questions about the seminar and what will or will not be included. &lt;b&gt;My goal is to deliver a seminar that will give you a number of useful tools and techniques that you can take back to the office and immediately apply&lt;/b&gt;, and I think that the list below encompasses the majority of what you'll see as you work with parallel processing in currently shipping versions of SQL Server.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;b&gt;Part 1: Background&lt;/b&gt;&lt;br&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;A Brief History Lesson&lt;/li&gt;&lt;ul&gt;&lt;li&gt;CPU Evolution Over Time&lt;/li&gt;&lt;li&gt;Heat and Dissipation&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;A Brief Theory Lesson&lt;/li&gt;&lt;ul&gt;&lt;li&gt;Moore's Law&lt;/li&gt;&lt;li&gt;Amdahl's Law&lt;/li&gt;&lt;li&gt;Gustafson's Law&lt;/li&gt;&lt;li&gt;How This All Fits Together&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;Windows Process/Thread Internals&lt;/li&gt;&lt;li&gt;SQL Server Scheduler Internals&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;br&gt;&lt;b&gt;Part 2: Query Processor Parallelism&lt;/b&gt;&lt;br&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;How Queries are Processed in Parallel&lt;/li&gt;&lt;ul&gt;&lt;li&gt;Parallel Iterators&lt;/li&gt;&lt;li&gt;Non-Parallel Iterators&lt;/li&gt;&lt;li&gt;Row Distribution Strategies&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;How to Read and Mine Data From Parallel Query Plans&lt;/li&gt;&lt;li&gt;Controlling Parallelism at the Query Level&lt;/li&gt;&lt;ul&gt;&lt;li&gt;Ideal Parallel Query Patterns&lt;/li&gt;&lt;li&gt;Parallelism Inhibitors and Workarounds&lt;br&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;p&gt;&lt;b&gt;Part 3: Administration&lt;/b&gt;&lt;br&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Server Settings that Influence Parallelism&lt;/li&gt;&lt;ul&gt;&lt;li&gt;Affinity Masks&lt;/li&gt;&lt;li&gt;Worker Threads&lt;/li&gt;&lt;li&gt;MAXDOP&lt;/li&gt;&lt;li&gt;Cost Threshold&lt;/li&gt;&lt;li&gt;Resource Governor&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;How to Configure Server Settings&lt;/li&gt;&lt;ul&gt;&lt;li&gt;OLTP vs. OLAP vs. Mixed Workload Considerations&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;Monitoring Parallel Processes&lt;/li&gt;&lt;ul&gt;&lt;li&gt;Parallel Task Architecture and the Tasks DMV&lt;/li&gt;&lt;li&gt;Parallel Waits and the Waiting Tasks DMV&lt;/li&gt;&lt;ul&gt;&lt;li&gt;CXPACKET&lt;/li&gt;&lt;li&gt;LATCH_EX&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;Finding Out How Much Work is Being Done&lt;/li&gt;&lt;li&gt;Finding Parallel and Serial Plans in the Cache&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;Diagnosing Intra-Query Parallel Deadlocks&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;br&gt;&lt;b&gt;Part 4: Alternative Solutions for Parallel Data Processing&lt;/b&gt;&lt;br&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Service Broker&lt;/li&gt;&lt;li&gt;SSIS&lt;/li&gt;&lt;li&gt;SQLCLR &lt;/li&gt;&lt;/ul&gt;&lt;/blockquote&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br&gt;Looking forward to seeing many of you in Seattle!&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>PASS Performance Virtual Chapter: Parallelize Your Queries!</title><link>http://sqlblog.com/blogs/adam_machanic/archive/2010/08/02/pass-performance-virtual-chapter-parallelize-your-queries.aspx</link><pubDate>Mon, 02 Aug 2010 15:51:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:27511</guid><dc:creator>Adam Machanic</dc:creator><description>&lt;p&gt;Last month a new &lt;a href="http://performance.sqlpass.org/"&gt;PASS Virtual Chapter&lt;/a&gt;
 was introduced, one with a theme that is near and dear to much of what I
 like to work on: &lt;b&gt;performance&lt;/b&gt;. Tomorrow, &lt;b&gt;Tuesday August 3rd at noon Eastern time&lt;/b&gt;, the chapter
 will have its second meeting, and &lt;b&gt;I will be doing the presentation&lt;/b&gt;. The
 topic is Parallelism and Performance. Here's the abstract:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;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 available clock tick,
 or are they lagging behind? And if your queries are already going 
parallel, can they be rewritten for even greater speed? In this session 
you will learn the background necessary to take full advantage of 
parallelism. We'll cover what parallelism is, why it's important, and 
the basics of how to read parallel query plans. Examples will be shown 
to illustrate some of the huge performance gains that can be had when we
 learn to properly control SQL Server's parallel processing 
capabilities. This session is a small preview of some of the material 
that will be covered in Adam Machanic's full-day PASS Summit post-con, "&lt;a href="http://sqlpass.eventpoint.com/topic/details/AD311P"&gt;A Day of Doing Many Things at Once&lt;/a&gt;."&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;This is a &lt;b&gt;free&lt;/b&gt; webcast. &lt;a href="http://www.sqlpass.org/Events/ctl/ViewEvent/mid/521.aspx?ID=464"&gt;Click here for more information and to register.&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Looking forward to seeing you there (well, virtually speaking).&lt;br&gt;&lt;/p&gt;</description></item></channel></rss>