<?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: Left-deep trees</title>
	<atom:link href="http://jonathanlewis.wordpress.com/2007/01/24/left-deep-trees/feed/" rel="self" type="application/rss+xml" />
	<link>http://jonathanlewis.wordpress.com/2007/01/24/left-deep-trees/</link>
	<description>Just another Oracle weblog</description>
	<lastBuildDate>Tue, 18 Jun 2013 21:55:22 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Kyle Hailey</title>
		<link>http://jonathanlewis.wordpress.com/2007/01/24/left-deep-trees/#comment-36365</link>
		<dc:creator><![CDATA[Kyle Hailey]]></dc:creator>
		<pubDate>Sun, 30 May 2010 10:14:48 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/2007/01/24/left-deep-trees/#comment-36365</guid>
		<description><![CDATA[For those asking, here is an specific example I ran into that shows a bushy plan to be much less expensive than a left deep 
http://sites.google.com/site/embtdbo/sql-tuning-1#TOC-Query-3
(main point of post was showing Visual SQL Tuning but the result was rewriting the query into two subqueries with NO_MERGE hint]]></description>
		<content:encoded><![CDATA[<p>For those asking, here is an specific example I ran into that shows a bushy plan to be much less expensive than a left deep<br />
<a href="http://sites.google.com/site/embtdbo/sql-tuning-1#TOC-Query-3" rel="nofollow">http://sites.google.com/site/embtdbo/sql-tuning-1#TOC-Query-3</a><br />
(main point of post was showing Visual SQL Tuning but the result was rewriting the query into two subqueries with NO_MERGE hint</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Lewis</title>
		<link>http://jonathanlewis.wordpress.com/2007/01/24/left-deep-trees/#comment-32736</link>
		<dc:creator><![CDATA[Jonathan Lewis]]></dc:creator>
		<pubDate>Sun, 22 Mar 2009 00:59:04 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/2007/01/24/left-deep-trees/#comment-32736</guid>
		<description><![CDATA[Smitha

It is perfectly feasible to find bushy tree plans that perform (much) better than left-deep trees. This is what makes the &lt;em&gt;&lt;strong&gt;no_merge&lt;/strong&gt;&lt;/em&gt; and &lt;em&gt;&lt;strong&gt;push_pred&lt;/strong&gt;&lt;/em&gt; hints so very important.]]></description>
		<content:encoded><![CDATA[<p>Smitha</p>
<p>It is perfectly feasible to find bushy tree plans that perform (much) better than left-deep trees. This is what makes the <em><strong>no_merge</strong></em> and <em><strong>push_pred</strong></em> hints so very important.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Smitha</title>
		<link>http://jonathanlewis.wordpress.com/2007/01/24/left-deep-trees/#comment-32718</link>
		<dc:creator><![CDATA[Smitha]]></dc:creator>
		<pubDate>Wed, 18 Mar 2009 11:42:47 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/2007/01/24/left-deep-trees/#comment-32718</guid>
		<description><![CDATA[I have seen cases where in a bushy tree based query evaluation is much better than a left deep tree based one. Am I right? Please correct me if I am wrong]]></description>
		<content:encoded><![CDATA[<p>I have seen cases where in a bushy tree based query evaluation is much better than a left deep tree based one. Am I right? Please correct me if I am wrong</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Lewis</title>
		<link>http://jonathanlewis.wordpress.com/2007/01/24/left-deep-trees/#comment-3546</link>
		<dc:creator><![CDATA[Jonathan Lewis]]></dc:creator>
		<pubDate>Fri, 23 Feb 2007 07:58:36 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/2007/01/24/left-deep-trees/#comment-3546</guid>
		<description><![CDATA[Krishna, I don&#039;t think the optimizer can generate &lt;i&gt;&quot;bushy-tree&quot;&lt;/i&gt; plans. It will always try to transform to a &lt;i&gt;&quot;left-deep&quot;&lt;/i&gt;. 

The only option you have is to use hints - specifically the &lt;b&gt;/*+ no_merge */&lt;/b&gt; hint, or subquery factoring with the &lt;b&gt;/*+ materialize */&lt;/b&gt; hint. 

I will be writing about this in the future as part of my mini-series on &lt;em&gt;&lt;strong&gt;&lt;a href=&quot;http://jonathanlewis.wordpress.com/join-ordering-pt1/&quot; rel=&quot;nofollow&quot;&gt;Join Ordering&lt;/a&gt;&lt;/strong&gt;&lt;/em&gt;.]]></description>
		<content:encoded><![CDATA[<p>Krishna, I don&#8217;t think the optimizer can generate <i>&#8220;bushy-tree&#8221;</i> plans. It will always try to transform to a <i>&#8220;left-deep&#8221;</i>. </p>
<p>The only option you have is to use hints &#8211; specifically the <b>/*+ no_merge */</b> hint, or subquery factoring with the <b>/*+ materialize */</b> hint. </p>
<p>I will be writing about this in the future as part of my mini-series on <em><strong><a href="http://jonathanlewis.wordpress.com/join-ordering-pt1/" rel="nofollow">Join Ordering</a></strong></em>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Krishna R</title>
		<link>http://jonathanlewis.wordpress.com/2007/01/24/left-deep-trees/#comment-3543</link>
		<dc:creator><![CDATA[Krishna R]]></dc:creator>
		<pubDate>Fri, 23 Feb 2007 07:43:44 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/2007/01/24/left-deep-trees/#comment-3543</guid>
		<description><![CDATA[Hi, Can you please explain further how to go about improving performance of SQLs that need a bushy tree execution plan? I have been trying to tune some SQLs, and more or less all the badly performing ones needed bushy trees by nature. 

Is hints the only option? Or can CBO create nice bushy execution plans if we have corresponding composite indexes?]]></description>
		<content:encoded><![CDATA[<p>Hi, Can you please explain further how to go about improving performance of SQLs that need a bushy tree execution plan? I have been trying to tune some SQLs, and more or less all the badly performing ones needed bushy trees by nature. </p>
<p>Is hints the only option? Or can CBO create nice bushy execution plans if we have corresponding composite indexes?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Lewis</title>
		<link>http://jonathanlewis.wordpress.com/2007/01/24/left-deep-trees/#comment-2484</link>
		<dc:creator><![CDATA[Jonathan Lewis]]></dc:creator>
		<pubDate>Fri, 26 Jan 2007 03:33:44 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/2007/01/24/left-deep-trees/#comment-2484</guid>
		<description><![CDATA[Amihay, in general you will not get &quot;bushy trees&quot; unless you hint them. The optimizer always tries to transform your query to a &quot;left-deep&quot; tree. 

Interesting idea about the parallelism - but I don&#039;t think it can work like that. However, the example I ran in parallel did exhibit some interesting &quot;out of order&quot; behaviour.]]></description>
		<content:encoded><![CDATA[<p>Amihay, in general you will not get &#8220;bushy trees&#8221; unless you hint them. The optimizer always tries to transform your query to a &#8220;left-deep&#8221; tree. </p>
<p>Interesting idea about the parallelism &#8211; but I don&#8217;t think it can work like that. However, the example I ran in parallel did exhibit some interesting &#8220;out of order&#8221; behaviour.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: amihay gonen</title>
		<link>http://jonathanlewis.wordpress.com/2007/01/24/left-deep-trees/#comment-2384</link>
		<dc:creator><![CDATA[amihay gonen]]></dc:creator>
		<pubDate>Thu, 25 Jan 2007 11:23:55 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/2007/01/24/left-deep-trees/#comment-2384</guid>
		<description><![CDATA[Hi , in want cases we will have bushy tree ?  does it mean that in those cases parallel execution code help us (one for each side )  ?]]></description>
		<content:encoded><![CDATA[<p>Hi , in want cases we will have bushy tree ?  does it mean that in those cases parallel execution code help us (one for each side )  ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Graham</title>
		<link>http://jonathanlewis.wordpress.com/2007/01/24/left-deep-trees/#comment-2378</link>
		<dc:creator><![CDATA[Graham]]></dc:creator>
		<pubDate>Thu, 25 Jan 2007 10:09:32 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/2007/01/24/left-deep-trees/#comment-2378</guid>
		<description><![CDATA[Thanks for the explanation Jonathan, all has become clear.]]></description>
		<content:encoded><![CDATA[<p>Thanks for the explanation Jonathan, all has become clear.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
