{"id":619,"date":"2011-01-29T08:10:00","date_gmt":"2011-01-29T08:10:00","guid":{"rendered":"\/blogs\/paul\/post\/Two-great-blog-series-on-joins-and-query-plan-operators.aspx"},"modified":"2017-04-13T09:53:39","modified_gmt":"2017-04-13T16:53:39","slug":"two-great-blog-series-on-joins-and-query-plan-operators","status":"publish","type":"post","link":"https:\/\/www.sqlskills.com\/blogs\/paul\/two-great-blog-series-on-joins-and-query-plan-operators\/","title":{"rendered":"Two great blog series on joins and query plan operators"},"content":{"rendered":"<p>\n<font face=\"verdana,geneva\" size=\"2\">I was doing some research this morning for some query tuning on a client system and I came across a couple of blog series with some excellent posts for those looking to learn more about query plans (and as a handy reference).<\/font>\n<\/p>\n<p>\n<font face=\"verdana,geneva\" size=\"2\">The first series is by Craig Freedman on the Query Processor team at Microsoft and discusses the various types of joins:<\/font>\n<\/p>\n<ul>\n<li>\n<div>\n\t<a href=\"http:\/\/blogs.msdn.com\/b\/craigfr\/archive\/2006\/07\/19\/671712.aspx\"><font face=\"verdana,geneva\" size=\"2\">Introduction to Joins<\/font><\/a>\n\t<\/div>\n<\/li>\n<li>\n<div>\n\t<a href=\"http:\/\/blogs.msdn.com\/b\/craigfr\/archive\/2006\/07\/26\/679319.aspx\"><font face=\"verdana,geneva\" size=\"2\">Nested Loops Join<\/font><\/a>\n\t<\/div>\n<\/li>\n<li>\n<div>\n\t<a href=\"http:\/\/blogs.msdn.com\/b\/craigfr\/archive\/2006\/08\/03\/687584.aspx\"><font face=\"verdana,geneva\" size=\"2\">Merge Join<\/font><\/a>\n\t<\/div>\n<\/li>\n<li>\n<div>\n\t<a href=\"http:\/\/blogs.msdn.com\/b\/craigfr\/archive\/2006\/08\/10\/687630.aspx\"><font face=\"verdana,geneva\" size=\"2\">Hash Join<\/font><\/a>\n\t<\/div>\n<\/li>\n<li>\n<div>\n\t<a href=\"http:\/\/blogs.msdn.com\/b\/craigfr\/archive\/2006\/08\/16\/702828.aspx\"><font face=\"verdana,geneva\" size=\"2\">Summary of Join Properties<\/font><\/a>\n\t<\/div>\n<\/li>\n<\/ul>\n<p>\n<font face=\"verdana,geneva\" size=\"2\">The second series is an ongoing series by Brazilian consultant Fabiano Amorim discussing all sorts (ha &#8211; no pun intended) of query plan operators &#8211; you can get the growing list of articles <\/font><a href=\"https:\/\/www.simple-talk.com\/author\/fabiano-amorim\/\"><font face=\"verdana,geneva\" size=\"2\">here<\/font><\/a><font face=\"verdana,geneva\" size=\"2\">.<\/font>\n<\/p>\n<p>\n<font face=\"verdana,geneva\" size=\"2\">Enjoy!<\/font>\n<\/p>\n<p>\n<font face=\"verdana,geneva\" size=\"2\"><\/font><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I was doing some research this morning for some query tuning on a client system and I came across a couple of blog series with some excellent posts for those looking to learn more about query plans (and as a handy reference). The first series is by Craig Freedman on the Query Processor team at [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[72,73],"tags":[],"class_list":["post-619","post","type-post","status-publish","format-standard","hentry","category-query-processor","category-query-tuning"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Two great blog series on joins and query plan operators - Paul S. Randal<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.sqlskills.com\/blogs\/paul\/two-great-blog-series-on-joins-and-query-plan-operators\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Two great blog series on joins and query plan operators - Paul S. Randal\" \/>\n<meta property=\"og:description\" content=\"I was doing some research this morning for some query tuning on a client system and I came across a couple of blog series with some excellent posts for those looking to learn more about query plans (and as a handy reference). The first series is by Craig Freedman on the Query Processor team at [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.sqlskills.com\/blogs\/paul\/two-great-blog-series-on-joins-and-query-plan-operators\/\" \/>\n<meta property=\"og:site_name\" content=\"Paul S. Randal\" \/>\n<meta property=\"article:published_time\" content=\"2011-01-29T08:10:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-04-13T16:53:39+00:00\" \/>\n<meta name=\"author\" content=\"Paul Randal\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Paul Randal\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/two-great-blog-series-on-joins-and-query-plan-operators\/\",\"url\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/two-great-blog-series-on-joins-and-query-plan-operators\/\",\"name\":\"Two great blog series on joins and query plan operators - Paul S. Randal\",\"isPartOf\":{\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/#website\"},\"datePublished\":\"2011-01-29T08:10:00+00:00\",\"dateModified\":\"2017-04-13T16:53:39+00:00\",\"author\":{\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/#\/schema\/person\/ffcec826c18782e1e0adf173826a7fce\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/two-great-blog-series-on-joins-and-query-plan-operators\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.sqlskills.com\/blogs\/paul\/two-great-blog-series-on-joins-and-query-plan-operators\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/two-great-blog-series-on-joins-and-query-plan-operators\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Two great blog series on joins and query plan operators\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/#website\",\"url\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/\",\"name\":\"Paul S. Randal\",\"description\":\"In Recovery...\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/#\/schema\/person\/ffcec826c18782e1e0adf173826a7fce\",\"name\":\"Paul Randal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0b6a266bba2f088f2551ef529293001bd73bf026bc1908b9866728c062beeeb6?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/0b6a266bba2f088f2551ef529293001bd73bf026bc1908b9866728c062beeeb6?s=96&d=mm&r=g\",\"caption\":\"Paul Randal\"},\"sameAs\":[\"http:\/\/3.209.169.194\/blogs\/paul\"],\"url\":\"https:\/\/www.sqlskills.com\/blogs\/paul\/author\/paul\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Two great blog series on joins and query plan operators - Paul S. Randal","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.sqlskills.com\/blogs\/paul\/two-great-blog-series-on-joins-and-query-plan-operators\/","og_locale":"en_US","og_type":"article","og_title":"Two great blog series on joins and query plan operators - Paul S. Randal","og_description":"I was doing some research this morning for some query tuning on a client system and I came across a couple of blog series with some excellent posts for those looking to learn more about query plans (and as a handy reference). The first series is by Craig Freedman on the Query Processor team at [&hellip;]","og_url":"https:\/\/www.sqlskills.com\/blogs\/paul\/two-great-blog-series-on-joins-and-query-plan-operators\/","og_site_name":"Paul S. Randal","article_published_time":"2011-01-29T08:10:00+00:00","article_modified_time":"2017-04-13T16:53:39+00:00","author":"Paul Randal","twitter_misc":{"Written by":"Paul Randal","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.sqlskills.com\/blogs\/paul\/two-great-blog-series-on-joins-and-query-plan-operators\/","url":"https:\/\/www.sqlskills.com\/blogs\/paul\/two-great-blog-series-on-joins-and-query-plan-operators\/","name":"Two great blog series on joins and query plan operators - Paul S. Randal","isPartOf":{"@id":"https:\/\/www.sqlskills.com\/blogs\/paul\/#website"},"datePublished":"2011-01-29T08:10:00+00:00","dateModified":"2017-04-13T16:53:39+00:00","author":{"@id":"https:\/\/www.sqlskills.com\/blogs\/paul\/#\/schema\/person\/ffcec826c18782e1e0adf173826a7fce"},"breadcrumb":{"@id":"https:\/\/www.sqlskills.com\/blogs\/paul\/two-great-blog-series-on-joins-and-query-plan-operators\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.sqlskills.com\/blogs\/paul\/two-great-blog-series-on-joins-and-query-plan-operators\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.sqlskills.com\/blogs\/paul\/two-great-blog-series-on-joins-and-query-plan-operators\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.sqlskills.com\/blogs\/paul\/"},{"@type":"ListItem","position":2,"name":"Two great blog series on joins and query plan operators"}]},{"@type":"WebSite","@id":"https:\/\/www.sqlskills.com\/blogs\/paul\/#website","url":"https:\/\/www.sqlskills.com\/blogs\/paul\/","name":"Paul S. Randal","description":"In Recovery...","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.sqlskills.com\/blogs\/paul\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.sqlskills.com\/blogs\/paul\/#\/schema\/person\/ffcec826c18782e1e0adf173826a7fce","name":"Paul Randal","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.sqlskills.com\/blogs\/paul\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/0b6a266bba2f088f2551ef529293001bd73bf026bc1908b9866728c062beeeb6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0b6a266bba2f088f2551ef529293001bd73bf026bc1908b9866728c062beeeb6?s=96&d=mm&r=g","caption":"Paul Randal"},"sameAs":["http:\/\/3.209.169.194\/blogs\/paul"],"url":"https:\/\/www.sqlskills.com\/blogs\/paul\/author\/paul\/"}]}},"_links":{"self":[{"href":"https:\/\/www.sqlskills.com\/blogs\/paul\/wp-json\/wp\/v2\/posts\/619","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sqlskills.com\/blogs\/paul\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sqlskills.com\/blogs\/paul\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sqlskills.com\/blogs\/paul\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sqlskills.com\/blogs\/paul\/wp-json\/wp\/v2\/comments?post=619"}],"version-history":[{"count":0,"href":"https:\/\/www.sqlskills.com\/blogs\/paul\/wp-json\/wp\/v2\/posts\/619\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sqlskills.com\/blogs\/paul\/wp-json\/wp\/v2\/media?parent=619"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sqlskills.com\/blogs\/paul\/wp-json\/wp\/v2\/categories?post=619"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sqlskills.com\/blogs\/paul\/wp-json\/wp\/v2\/tags?post=619"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}