<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Execution plan operations &#8211; joins</title>
	<atom:link href="http://sqlinthewild.co.za/index.php/2007/12/30/execution-plan-operations-joins/feed/" rel="self" type="application/rss+xml" />
	<link>http://sqlinthewild.co.za/index.php/2007/12/30/execution-plan-operations-joins/</link>
	<description>A discussion on SQL Server</description>
	<lastBuildDate>Mon, 14 May 2012 23:51:41 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Merge join Vs Hash join Vs Nested loop join &#171; SqlserverBlogForum</title>
		<link>http://sqlinthewild.co.za/index.php/2007/12/30/execution-plan-operations-joins/comment-page-1/#comment-1857</link>
		<dc:creator>Merge join Vs Hash join Vs Nested loop join &#171; SqlserverBlogForum</dc:creator>
		<pubDate>Tue, 04 Oct 2011 20:10:48 +0000</pubDate>
		<guid isPermaLink="false">http://sqlinthewild.co.za/index.php/2007/12/30/execution-plan-operations-joins/#comment-1857</guid>
		<description>[...] more: Read Gail Shaw’s blog. It has Craig Freedman’s link too. Why I gave Gail’s link instead of directly give [...]</description>
		<content:encoded><![CDATA[<p>[...] more: Read Gail Shaw’s blog. It has Craig Freedman’s link too. Why I gave Gail’s link instead of directly give [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gail</title>
		<link>http://sqlinthewild.co.za/index.php/2007/12/30/execution-plan-operations-joins/comment-page-1/#comment-1749</link>
		<dc:creator>Gail</dc:creator>
		<pubDate>Thu, 28 Jul 2011 11:21:53 +0000</pubDate>
		<guid isPermaLink="false">http://sqlinthewild.co.za/index.php/2007/12/30/execution-plan-operations-joins/#comment-1749</guid>
		<description>If you hover the mouse over, the tooltip will tell you what the problem is.</description>
		<content:encoded><![CDATA[<p>If you hover the mouse over, the tooltip will tell you what the problem is.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: behnaz</title>
		<link>http://sqlinthewild.co.za/index.php/2007/12/30/execution-plan-operations-joins/comment-page-1/#comment-1748</link>
		<dc:creator>behnaz</dc:creator>
		<pubDate>Thu, 28 Jul 2011 07:41:14 +0000</pubDate>
		<guid isPermaLink="false">http://sqlinthewild.co.za/index.php/2007/12/30/execution-plan-operations-joins/#comment-1748</guid>
		<description>would you tell me what is the exclamation mark some times is seen in nested loops inner join pls?</description>
		<content:encoded><![CDATA[<p>would you tell me what is the exclamation mark some times is seen in nested loops inner join pls?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://sqlinthewild.co.za/index.php/2007/12/30/execution-plan-operations-joins/comment-page-1/#comment-1668</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Fri, 27 May 2011 17:43:00 +0000</pubDate>
		<guid isPermaLink="false">http://sqlinthewild.co.za/index.php/2007/12/30/execution-plan-operations-joins/#comment-1668</guid>
		<description>Great intro - just what I needed.</description>
		<content:encoded><![CDATA[<p>Great intro &#8211; just what I needed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gail</title>
		<link>http://sqlinthewild.co.za/index.php/2007/12/30/execution-plan-operations-joins/comment-page-1/#comment-1660</link>
		<dc:creator>Gail</dc:creator>
		<pubDate>Fri, 20 May 2011 19:31:03 +0000</pubDate>
		<guid isPermaLink="false">http://sqlinthewild.co.za/index.php/2007/12/30/execution-plan-operations-joins/#comment-1660</guid>
		<description>Not quite

The one resultset is used to form a hash table (wikipedia should have a good coverage of how a hash table works), then the second resultset is hashed to figure out which bucket the value belongs in. It&#039;s a single pass over each resultset.

Nested loop is an O(n^2) algorithm, hash search is much lower than that.</description>
		<content:encoded><![CDATA[<p>Not quite</p>
<p>The one resultset is used to form a hash table (wikipedia should have a good coverage of how a hash table works), then the second resultset is hashed to figure out which bucket the value belongs in. It&#8217;s a single pass over each resultset.</p>
<p>Nested loop is an O(n^2) algorithm, hash search is much lower than that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Garry</title>
		<link>http://sqlinthewild.co.za/index.php/2007/12/30/execution-plan-operations-joins/comment-page-1/#comment-1659</link>
		<dc:creator>Garry</dc:creator>
		<pubDate>Fri, 20 May 2011 16:18:08 +0000</pubDate>
		<guid isPermaLink="false">http://sqlinthewild.co.za/index.php/2007/12/30/execution-plan-operations-joins/#comment-1659</guid>
		<description>Is the hash join not similar to the nested loop in that it compares each hashed value to each row in the hash table ? ie does it not have to loop to do this ?  Trying to understand the difference besides the fact that one hashes the values whereas the other compares the actual values.</description>
		<content:encoded><![CDATA[<p>Is the hash join not similar to the nested loop in that it compares each hashed value to each row in the hash table ? ie does it not have to loop to do this ?  Trying to understand the difference besides the fact that one hashes the values whereas the other compares the actual values.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Some interesting articles.. &#171; QuantuMatrix&#8217;s Weblog</title>
		<link>http://sqlinthewild.co.za/index.php/2007/12/30/execution-plan-operations-joins/comment-page-1/#comment-35</link>
		<dc:creator>Some interesting articles.. &#171; QuantuMatrix&#8217;s Weblog</dc:creator>
		<pubDate>Wed, 25 Nov 2009 21:39:44 +0000</pubDate>
		<guid isPermaLink="false">http://sqlinthewild.co.za/index.php/2007/12/30/execution-plan-operations-joins/#comment-35</guid>
		<description>[...] Execution plan operations &#8211; joins [...]</description>
		<content:encoded><![CDATA[<p>[...] Execution plan operations &#8211; joins [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

