<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Joins &#8211; NLJ</title>
	<atom:link href="http://jonathanlewis.wordpress.com/2010/08/09/joins-nlj/feed/" rel="self" type="application/rss+xml" />
	<link>http://jonathanlewis.wordpress.com/2010/08/09/joins-nlj/</link>
	<description>Just another Oracle weblog</description>
	<lastBuildDate>Mon, 20 May 2013 17:10:14 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Log Buffer #199, A Carnival of the Vanities for DBAs &#124; The Pythian Blog</title>
		<link>http://jonathanlewis.wordpress.com/2010/08/09/joins-nlj/#comment-36978</link>
		<dc:creator><![CDATA[Log Buffer #199, A Carnival of the Vanities for DBAs &#124; The Pythian Blog]]></dc:creator>
		<pubDate>Sat, 14 Aug 2010 20:53:18 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=4235#comment-36978</guid>
		<description><![CDATA[[...] Lewis started a series about joins. Jonathan is the master of building clear and excellent test cases, and this post is a good example [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Lewis started a series about joins. Jonathan is the master of building clear and excellent test cases, and this post is a good example [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joins &#8211; HJ &#171; Oracle Scratchpad</title>
		<link>http://jonathanlewis.wordpress.com/2010/08/09/joins-nlj/#comment-36954</link>
		<dc:creator><![CDATA[Joins &#8211; HJ &#171; Oracle Scratchpad]]></dc:creator>
		<pubDate>Tue, 10 Aug 2010 18:46:28 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=4235#comment-36954</guid>
		<description><![CDATA[[...] Joins &#8211;&#160;HJ Filed under: CBO,Execution plans,Performance &#8212; Jonathan Lewis @ 6:43 pm UTC Aug 10,2010   In the second note on my thesis that &#8220;all joins are nested loop joins with different startup costs&#8221; I want to look at hash joins, and I&#8217;ll start by going back to the execution plan I posted on &#8220;Joins &#8211; NLJ&#8221;. [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Joins &#8211;&nbsp;HJ Filed under: CBO,Execution plans,Performance &#8212; Jonathan Lewis @ 6:43 pm UTC Aug 10,2010   In the second note on my thesis that &#8220;all joins are nested loop joins with different startup costs&#8221; I want to look at hash joins, and I&#8217;ll start by going back to the execution plan I posted on &#8220;Joins &#8211; NLJ&#8221;. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Manish</title>
		<link>http://jonathanlewis.wordpress.com/2010/08/09/joins-nlj/#comment-36953</link>
		<dc:creator><![CDATA[Manish]]></dc:creator>
		<pubDate>Tue, 10 Aug 2010 12:42:44 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=4235#comment-36953</guid>
		<description><![CDATA[Thanks Jonathan.

BTW the db was 10.2.0.4.]]></description>
		<content:encoded><![CDATA[<p>Thanks Jonathan.</p>
<p>BTW the db was 10.2.0.4.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Timur Akhmadeev</title>
		<link>http://jonathanlewis.wordpress.com/2010/08/09/joins-nlj/#comment-36952</link>
		<dc:creator><![CDATA[Timur Akhmadeev]]></dc:creator>
		<pubDate>Tue, 10 Aug 2010 12:04:24 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=4235#comment-36952</guid>
		<description><![CDATA[&gt;seems to be fixed in 11.2
and in 10.2.0.5 too]]></description>
		<content:encoded><![CDATA[<p>&gt;seems to be fixed in 11.2<br />
and in 10.2.0.5 too</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Lewis</title>
		<link>http://jonathanlewis.wordpress.com/2010/08/09/joins-nlj/#comment-36950</link>
		<dc:creator><![CDATA[Jonathan Lewis]]></dc:creator>
		<pubDate>Tue, 10 Aug 2010 09:44:49 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=4235#comment-36950</guid>
		<description><![CDATA[Narenda,

True, I just tried it myself. Even a full google search shows little more than a couple of passing references I&#039;ve made to the feature and lists of hints from 11g.  It&#039;s possible that I&#039;m remembering a discussion from Christian&#039;s book. (Troubleshooting Oracle Performance).]]></description>
		<content:encoded><![CDATA[<p>Narenda,</p>
<p>True, I just tried it myself. Even a full google search shows little more than a couple of passing references I&#8217;ve made to the feature and lists of hints from 11g.  It&#8217;s possible that I&#8217;m remembering a discussion from Christian&#8217;s book. (Troubleshooting Oracle Performance).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Narendra</title>
		<link>http://jonathanlewis.wordpress.com/2010/08/09/joins-nlj/#comment-36949</link>
		<dc:creator><![CDATA[Narendra]]></dc:creator>
		<pubDate>Tue, 10 Aug 2010 09:40:00 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=4235#comment-36949</guid>
		<description><![CDATA[Well, Oak Table did not find any entries.
http://www.oaktable.net/search/node/nlj%20batching]]></description>
		<content:encoded><![CDATA[<p>Well, Oak Table did not find any entries.<br />
<a href="http://www.oaktable.net/search/node/nlj%20batching" rel="nofollow">http://www.oaktable.net/search/node/nlj%20batching</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Lewis</title>
		<link>http://jonathanlewis.wordpress.com/2010/08/09/joins-nlj/#comment-36948</link>
		<dc:creator><![CDATA[Jonathan Lewis]]></dc:creator>
		<pubDate>Tue, 10 Aug 2010 09:19:42 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=4235#comment-36948</guid>
		<description><![CDATA[Narenda,

I may find some time to comment on this one day. In the meantime, I thought &lt;a href=&quot;http://antognini.ch/&quot; rel=&quot;nofollow&quot;&gt;&lt;em&gt;&lt;strong&gt;Christian Antognini&lt;/strong&gt;&lt;/em&gt;&lt;/a&gt; and &lt;a href=&quot;http://blog.tanelpoder.com/&quot; rel=&quot;nofollow&quot;&gt;&lt;em&gt;&lt;strong&gt;Tanel Poder&lt;/strong&gt;&lt;/em&gt;&lt;/a&gt; had made various comments on the changes. Search for &quot;nlj_batching&quot; on their web sites, or on the &lt;a href=&quot;http://www.oaktable.net/search&quot; rel=&quot;nofollow&quot;&gt;&lt;em&gt;&lt;strong&gt;&quot;Oak Table Safe Search&quot;&lt;/strong&gt;&lt;/em&gt;&lt;/a&gt;.]]></description>
		<content:encoded><![CDATA[<p>Narenda,</p>
<p>I may find some time to comment on this one day. In the meantime, I thought <a href="http://antognini.ch/" rel="nofollow"><em><strong>Christian Antognini</strong></em></a> and <a href="http://blog.tanelpoder.com/" rel="nofollow"><em><strong>Tanel Poder</strong></em></a> had made various comments on the changes. Search for &#8220;nlj_batching&#8221; on their web sites, or on the <a href="http://www.oaktable.net/search" rel="nofollow"><em><strong>&#8220;Oak Table Safe Search&#8221;</strong></em></a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Lewis</title>
		<link>http://jonathanlewis.wordpress.com/2010/08/09/joins-nlj/#comment-36947</link>
		<dc:creator><![CDATA[Jonathan Lewis]]></dc:creator>
		<pubDate>Tue, 10 Aug 2010 08:52:48 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=4235#comment-36947</guid>
		<description><![CDATA[Manish,

This isn&#039;t the right place, and you haven&#039;t given a version number.
I&#039;ve reproduced this on 11.1.0.6 - the first query erroneously returns two rows, the second correctly returns none - it&#039;s a bug, raise an SR.

Looking at the 10053, Oracle seems to have &quot;lost&quot; the &lt;code&gt;sal &gt; null&lt;/code&gt; predicate in part of the logic for calculating single table cardinalities in the case where that predicate is the last for the table. The error doesn&#039;t occur if the null is supplied as a bind variable.

]]></description>
		<content:encoded><![CDATA[<p>Manish,</p>
<p>This isn&#8217;t the right place, and you haven&#8217;t given a version number.<br />
I&#8217;ve reproduced this on 11.1.0.6 &#8211; the first query erroneously returns two rows, the second correctly returns none &#8211; it&#8217;s a bug, raise an SR.</p>
<p>Looking at the 10053, Oracle seems to have &#8220;lost&#8221; the <code>sal &gt; null</code> predicate in part of the logic for calculating single table cardinalities in the case where that predicate is the last for the table. The error doesn&#8217;t occur if the null is supplied as a bind variable.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sokrates</title>
		<link>http://jonathanlewis.wordpress.com/2010/08/09/joins-nlj/#comment-36946</link>
		<dc:creator><![CDATA[Sokrates]]></dc:creator>
		<pubDate>Tue, 10 Aug 2010 08:41:27 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=4235#comment-36946</guid>
		<description><![CDATA[Manish,

this is a bug (I can reproduce it in 10.2, seems to be fixed in 11.2)
TRUE and UNKNOWN : UNKNOWN
UNKNOWN and TRUE : UNKNOWN

see 
http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/conditions004.htm#i1052219
http://download.oracle.com/docs/cd/E11882_01/server.112/e10592/conditions004.htm#i1052219]]></description>
		<content:encoded><![CDATA[<p>Manish,</p>
<p>this is a bug (I can reproduce it in 10.2, seems to be fixed in 11.2)<br />
TRUE and UNKNOWN : UNKNOWN<br />
UNKNOWN and TRUE : UNKNOWN</p>
<p>see<br />
<a href="http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/conditions004.htm#i1052219" rel="nofollow">http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/conditions004.htm#i1052219</a><br />
<a href="http://download.oracle.com/docs/cd/E11882_01/server.112/e10592/conditions004.htm#i1052219" rel="nofollow">http://download.oracle.com/docs/cd/E11882_01/server.112/e10592/conditions004.htm#i1052219</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Narendra</title>
		<link>http://jonathanlewis.wordpress.com/2010/08/09/joins-nlj/#comment-36945</link>
		<dc:creator><![CDATA[Narendra]]></dc:creator>
		<pubDate>Tue, 10 Aug 2010 08:25:40 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=4235#comment-36945</guid>
		<description><![CDATA[Jonathan,

As you have written specifically about Nested Loop Joins, would it be possible for you to mention how oracle processes NL join, especially in following releases?
a) 8i (plan as mentioned above)
b) 9i and 10g (introduced table prefetch)
c) 11g (don&#039;t know what it is called but plan changes a bit)
I have not managed to find these details in a single document/post anywhere else.]]></description>
		<content:encoded><![CDATA[<p>Jonathan,</p>
<p>As you have written specifically about Nested Loop Joins, would it be possible for you to mention how oracle processes NL join, especially in following releases?<br />
a) 8i (plan as mentioned above)<br />
b) 9i and 10g (introduced table prefetch)<br />
c) 11g (don&#8217;t know what it is called but plan changes a bit)<br />
I have not managed to find these details in a single document/post anywhere else.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
