<?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: Index Join &#8211; 3</title>
	<atom:link href="http://jonathanlewis.wordpress.com/2010/12/07/index-join-3/feed/" rel="self" type="application/rss+xml" />
	<link>http://jonathanlewis.wordpress.com/2010/12/07/index-join-3/</link>
	<description>Just another Oracle weblog</description>
	<lastBuildDate>Wed, 19 Jun 2013 22:21:35 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Pavol Babel</title>
		<link>http://jonathanlewis.wordpress.com/2010/12/07/index-join-3/#comment-38602</link>
		<dc:creator><![CDATA[Pavol Babel]]></dc:creator>
		<pubDate>Thu, 09 Dec 2010 00:28:28 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=4856#comment-38602</guid>
		<description><![CDATA[Scott, I think all what you need is to read previous article regarding INDEX JOINS and SWAP_JOIN_INPUTS hint. Let&#039;s try it yourself, or wait for Jonathan&#039;s &quot;Index Join -4 &quot; :-)]]></description>
		<content:encoded><![CDATA[<p>Scott, I think all what you need is to read previous article regarding INDEX JOINS and SWAP_JOIN_INPUTS hint. Let&#8217;s try it yourself, or wait for Jonathan&#8217;s &#8220;Index Join -4 &#8221; :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pavol Babel</title>
		<link>http://jonathanlewis.wordpress.com/2010/12/07/index-join-3/#comment-38601</link>
		<dc:creator><![CDATA[Pavol Babel]]></dc:creator>
		<pubDate>Thu, 09 Dec 2010 00:23:17 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=4856#comment-38601</guid>
		<description><![CDATA[So you&#039;ve just saved my time :-) I intended to make my testcase to get this very interesting execution plan. But it would be obviously a  waste of time, thank you for doing that. 

BTW I have spent quite a long time (but probably not so long as you) examining 10053 when bitmap indexes were in place and was irritated, too.]]></description>
		<content:encoded><![CDATA[<p>So you&#8217;ve just saved my time :-) I intended to make my testcase to get this very interesting execution plan. But it would be obviously a  waste of time, thank you for doing that. </p>
<p>BTW I have spent quite a long time (but probably not so long as you) examining 10053 when bitmap indexes were in place and was irritated, too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Lewis</title>
		<link>http://jonathanlewis.wordpress.com/2010/12/07/index-join-3/#comment-38599</link>
		<dc:creator><![CDATA[Jonathan Lewis]]></dc:creator>
		<pubDate>Wed, 08 Dec 2010 23:17:30 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=4856#comment-38599</guid>
		<description><![CDATA[Pavol,

That&#039;s a good question, and it would be easy to spend a few hours checking what the optimizer may have done - especially since I would have to design a data set to emulate the original query. I have a note to myself explaining the circumstances when a swap will be considered - but the plan doesn&#039;t show the information I need to decide whether any swaps were considered for this join order.]]></description>
		<content:encoded><![CDATA[<p>Pavol,</p>
<p>That&#8217;s a good question, and it would be easy to spend a few hours checking what the optimizer may have done &#8211; especially since I would have to design a data set to emulate the original query. I have a note to myself explaining the circumstances when a swap will be considered &#8211; but the plan doesn&#8217;t show the information I need to decide whether any swaps were considered for this join order.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pavol Babel</title>
		<link>http://jonathanlewis.wordpress.com/2010/12/07/index-join-3/#comment-38598</link>
		<dc:creator><![CDATA[Pavol Babel]]></dc:creator>
		<pubDate>Wed, 08 Dec 2010 22:20:25 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=4856#comment-38598</guid>
		<description><![CDATA[Jonathan, does oracle consider swapping in this particular case? I hope I&#039;ll try to find a while to check 10053.]]></description>
		<content:encoded><![CDATA[<p>Jonathan, does oracle consider swapping in this particular case? I hope I&#8217;ll try to find a while to check 10053.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Lewis</title>
		<link>http://jonathanlewis.wordpress.com/2010/12/07/index-join-3/#comment-38461</link>
		<dc:creator><![CDATA[Jonathan Lewis]]></dc:creator>
		<pubDate>Wed, 08 Dec 2010 07:46:01 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=4856#comment-38461</guid>
		<description><![CDATA[David,

I think you might get some ideas by dropping columns, and a few more by rearranging the order of the indexes (using the &quot;pseudo&quot; index join method from the previous article).

The variation in conversion cost looks like an easier one to test - my first guess would be that it depends on the average column length of the column introduced, my second on the number of distinct keys. Both ideas would be quite easy to test in isolation.

It&#039;s always possible that the 10053 trace has a number of costs in it that don&#039;t get into the plan, though (that&#039;s been an irritant with bitmap indexes for years) - so that might be the first place to look.]]></description>
		<content:encoded><![CDATA[<p>David,</p>
<p>I think you might get some ideas by dropping columns, and a few more by rearranging the order of the indexes (using the &#8220;pseudo&#8221; index join method from the previous article).</p>
<p>The variation in conversion cost looks like an easier one to test &#8211; my first guess would be that it depends on the average column length of the column introduced, my second on the number of distinct keys. Both ideas would be quite easy to test in isolation.</p>
<p>It&#8217;s always possible that the 10053 trace has a number of costs in it that don&#8217;t get into the plan, though (that&#8217;s been an irritant with bitmap indexes for years) &#8211; so that might be the first place to look.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Aldridge</title>
		<link>http://jonathanlewis.wordpress.com/2010/12/07/index-join-3/#comment-38449</link>
		<dc:creator><![CDATA[David Aldridge]]></dc:creator>
		<pubDate>Wed, 08 Dec 2010 07:02:17 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=4856#comment-38449</guid>
		<description><![CDATA[I suppose one might try infering the costs of the various hash joins from the change in cost of the view on line 2 observed when selectively dropping columns out of the query. 

What do you think accounts for the variation in cost of the BITMAP CONVERSION TO ROWIDS? Would that be based on the number of distinct values for the column, or the size of the index?]]></description>
		<content:encoded><![CDATA[<p>I suppose one might try infering the costs of the various hash joins from the change in cost of the view on line 2 observed when selectively dropping columns out of the query. </p>
<p>What do you think accounts for the variation in cost of the BITMAP CONVERSION TO ROWIDS? Would that be based on the number of distinct values for the column, or the size of the index?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Lewis</title>
		<link>http://jonathanlewis.wordpress.com/2010/12/07/index-join-3/#comment-38446</link>
		<dc:creator><![CDATA[Jonathan Lewis]]></dc:creator>
		<pubDate>Wed, 08 Dec 2010 06:51:55 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=4856#comment-38446</guid>
		<description><![CDATA[Scott,

I thought I&#039;d be able to point a link to an article I had written that would be the perfect answer to your question - but I haven&#039;t written on yet.

Give me a couple of days.]]></description>
		<content:encoded><![CDATA[<p>Scott,</p>
<p>I thought I&#8217;d be able to point a link to an article I had written that would be the perfect answer to your question &#8211; but I haven&#8217;t written on yet.</p>
<p>Give me a couple of days.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott</title>
		<link>http://jonathanlewis.wordpress.com/2010/12/07/index-join-3/#comment-38312</link>
		<dc:creator><![CDATA[Scott]]></dc:creator>
		<pubDate>Tue, 07 Dec 2010 22:40:26 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=4856#comment-38312</guid>
		<description><![CDATA[How would the plan look if it did pass the last table through the five hashes?  Do you have an example query that would do this?]]></description>
		<content:encoded><![CDATA[<p>How would the plan look if it did pass the last table through the five hashes?  Do you have an example query that would do this?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
