<?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: Collection Costs</title>
	<atom:link href="http://jonathanlewis.wordpress.com/2010/11/30/collection-costs/feed/" rel="self" type="application/rss+xml" />
	<link>http://jonathanlewis.wordpress.com/2010/11/30/collection-costs/</link>
	<description>Just another Oracle weblog</description>
	<lastBuildDate>Fri, 24 May 2013 13:27:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Jonathan Lewis</title>
		<link>http://jonathanlewis.wordpress.com/2010/11/30/collection-costs/#comment-40767</link>
		<dc:creator><![CDATA[Jonathan Lewis]]></dc:creator>
		<pubDate>Wed, 15 Jun 2011 08:22:17 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=4723#comment-40767</guid>
		<description><![CDATA[DBA,
Thanks for the correction - it&#039;s very easy to lose track of which feature appeared in which version.]]></description>
		<content:encoded><![CDATA[<p>DBA,<br />
Thanks for the correction &#8211; it&#8217;s very easy to lose track of which feature appeared in which version.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DBA</title>
		<link>http://jonathanlewis.wordpress.com/2010/11/30/collection-costs/#comment-40758</link>
		<dc:creator><![CDATA[DBA]]></dc:creator>
		<pubDate>Mon, 13 Jun 2011 14:59:49 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=4723#comment-40758</guid>
		<description><![CDATA[Cardinality Feedback was introduced in 11gR2: http://blogs.oracle.com/optimizer/entry/cardinality_feedback

So it&#039;s not available in 11.1.0.7.]]></description>
		<content:encoded><![CDATA[<p>Cardinality Feedback was introduced in 11gR2: <a href="http://blogs.oracle.com/optimizer/entry/cardinality_feedback" rel="nofollow">http://blogs.oracle.com/optimizer/entry/cardinality_feedback</a></p>
<p>So it&#8217;s not available in 11.1.0.7.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Lewis</title>
		<link>http://jonathanlewis.wordpress.com/2010/11/30/collection-costs/#comment-40538</link>
		<dc:creator><![CDATA[Jonathan Lewis]]></dc:creator>
		<pubDate>Thu, 19 May 2011 10:46:28 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=4723#comment-40538</guid>
		<description><![CDATA[I&#039;ve just been sent an email with a document ID.
MOS (Metalink) note 29236.1 reports the cardinality hint.

There are references to 7.2 and 8.1 in the note - so it has been around a long time; I think it must have been hidden for the last few years.]]></description>
		<content:encoded><![CDATA[<p>I&#8217;ve just been sent an email with a document ID.<br />
MOS (Metalink) note 29236.1 reports the cardinality hint.</p>
<p>There are references to 7.2 and 8.1 in the note &#8211; so it has been around a long time; I think it must have been hidden for the last few years.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Log Buffer #208, A Carnival of the Vanities for DBAs &#124; The Pythian Blog</title>
		<link>http://jonathanlewis.wordpress.com/2010/11/30/collection-costs/#comment-38132</link>
		<dc:creator><![CDATA[Log Buffer #208, A Carnival of the Vanities for DBAs &#124; The Pythian Blog]]></dc:creator>
		<pubDate>Mon, 06 Dec 2010 05:12:03 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=4723#comment-38132</guid>
		<description><![CDATA[[...] Jonathan Lewis, on Oracle Scratchpad, blogs about optimizer issues with collection types and suggests a work-around. [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Jonathan Lewis, on Oracle Scratchpad, blogs about optimizer issues with collection types and suggests a work-around. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Lewis</title>
		<link>http://jonathanlewis.wordpress.com/2010/11/30/collection-costs/#comment-37973</link>
		<dc:creator><![CDATA[Jonathan Lewis]]></dc:creator>
		<pubDate>Tue, 30 Nov 2010 22:49:12 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=4723#comment-37973</guid>
		<description><![CDATA[Timur,

Thanks for that link it was very helpful - I&#039;ll have to see if I can get a backport to 11.1.

I&#039;ll see  if I can check the SQL some time next week - the first thing that springs to mind with the repeated occurrence of 82 is that it is 1% of 8168, suggesting a filter predicate like &quot;function(column_value) = constant&quot;.]]></description>
		<content:encoded><![CDATA[<p>Timur,</p>
<p>Thanks for that link it was very helpful &#8211; I&#8217;ll have to see if I can get a backport to 11.1.</p>
<p>I&#8217;ll see  if I can check the SQL some time next week &#8211; the first thing that springs to mind with the repeated occurrence of 82 is that it is 1% of 8168, suggesting a filter predicate like &#8220;function(column_value) = constant&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: joel garry</title>
		<link>http://jonathanlewis.wordpress.com/2010/11/30/collection-costs/#comment-37969</link>
		<dc:creator><![CDATA[joel garry]]></dc:creator>
		<pubDate>Tue, 30 Nov 2010 19:42:52 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=4723#comment-37969</guid>
		<description><![CDATA[Maybe people are thinking of http://www.pythian.com/news/13469/oracles-opt_estimate-hint-usage-guide/ ?]]></description>
		<content:encoded><![CDATA[<p>Maybe people are thinking of <a href="http://www.pythian.com/news/13469/oracles-opt_estimate-hint-usage-guide/" rel="nofollow">http://www.pythian.com/news/13469/oracles-opt_estimate-hint-usage-guide/</a> ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Timur Akhmadeev</title>
		<link>http://jonathanlewis.wordpress.com/2010/11/30/collection-costs/#comment-37966</link>
		<dc:creator><![CDATA[Timur Akhmadeev]]></dc:creator>
		<pubDate>Tue, 30 Nov 2010 17:59:27 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=4723#comment-37966</guid>
		<description><![CDATA[Oracle versions 11gR2 and 10.2.0.5 can &lt;a href=&quot;http://timurakhmadeev.wordpress.com/2010/03/09/cardinality-of-table-collection-expression/&quot; rel=&quot;nofollow&quot;&gt;peek&lt;/a&gt; at the number of rows in collection if it is passed as a bind, so the issue could pass unnoticed in these releases.
&lt;blockquote&gt;The optimizer assumes that the number of rows produced by the table() operator will be roughly the same as the number of bytes in the default block size&lt;/blockquote&gt;
I do remember reading a note on the Metalink saying that the number is derived as the number of 100 bytes length rows in 100 blocks. Still can&#039;t find this note in MOS, so this may not be true.

BTW, the VIEW operator in the step 44 has cardinality of 82 - and IIRC this number is also kind of &quot;magic&quot; in a way that after instance restart you may see it changed to something different (I was told this by co-worker; and don&#039;t remember all the details, but I&#039;m pretty sure there&#039;s some oddity in this number too).]]></description>
		<content:encoded><![CDATA[<p>Oracle versions 11gR2 and 10.2.0.5 can <a href="http://timurakhmadeev.wordpress.com/2010/03/09/cardinality-of-table-collection-expression/" rel="nofollow">peek</a> at the number of rows in collection if it is passed as a bind, so the issue could pass unnoticed in these releases.</p>
<blockquote><p>The optimizer assumes that the number of rows produced by the table() operator will be roughly the same as the number of bytes in the default block size</p></blockquote>
<p>I do remember reading a note on the Metalink saying that the number is derived as the number of 100 bytes length rows in 100 blocks. Still can&#8217;t find this note in MOS, so this may not be true.</p>
<p>BTW, the VIEW operator in the step 44 has cardinality of 82 &#8211; and IIRC this number is also kind of &#8220;magic&#8221; in a way that after instance restart you may see it changed to something different (I was told this by co-worker; and don&#8217;t remember all the details, but I&#8217;m pretty sure there&#8217;s some oddity in this number too).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Lewis</title>
		<link>http://jonathanlewis.wordpress.com/2010/11/30/collection-costs/#comment-37959</link>
		<dc:creator><![CDATA[Jonathan Lewis]]></dc:creator>
		<pubDate>Tue, 30 Nov 2010 16:50:09 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=4723#comment-37959</guid>
		<description><![CDATA[Narenda,

Good point - I&#039;ll have to check to see why it didn&#039;t. Whether it does or not, though, there&#039;s an important principle that the optimizer seems to be doing something very strange in this particular code path. The reported paths are NL and HJ, but the arithmetic looks like Cartesian Merge Join.

Thanks for the Tom Kyte reference]]></description>
		<content:encoded><![CDATA[<p>Narenda,</p>
<p>Good point &#8211; I&#8217;ll have to check to see why it didn&#8217;t. Whether it does or not, though, there&#8217;s an important principle that the optimizer seems to be doing something very strange in this particular code path. The reported paths are NL and HJ, but the arithmetic looks like Cartesian Merge Join.</p>
<p>Thanks for the Tom Kyte reference</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Lewis</title>
		<link>http://jonathanlewis.wordpress.com/2010/11/30/collection-costs/#comment-37958</link>
		<dc:creator><![CDATA[Jonathan Lewis]]></dc:creator>
		<pubDate>Tue, 30 Nov 2010 16:47:14 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=4723#comment-37958</guid>
		<description><![CDATA[Stew,

At the moment the best I can say is that it existed once, and appeared to be a deliberate note to explain the hint and its use. 

Right now the best I can do (apart from the reference to Tom&#039;s comments supplied by Narenda) is a couple of bug reports where a user has called in a bug relating the the cardinality() hint and not been told: &quot;unsupported feature&quot;. For example, bugs: 	7758650, 9024541, 4137713 (which is a multi table example), and 9499541 (where a suggested workaround is to use the cardinality hint).

I&#039;m at the UKOUG conference right now with some of the heavy hitters from the Optimizer team, so I&#039;ll see what they say about it.]]></description>
		<content:encoded><![CDATA[<p>Stew,</p>
<p>At the moment the best I can say is that it existed once, and appeared to be a deliberate note to explain the hint and its use. </p>
<p>Right now the best I can do (apart from the reference to Tom&#8217;s comments supplied by Narenda) is a couple of bug reports where a user has called in a bug relating the the cardinality() hint and not been told: &#8220;unsupported feature&#8221;. For example, bugs: 	7758650, 9024541, 4137713 (which is a multi table example), and 9499541 (where a suggested workaround is to use the cardinality hint).</p>
<p>I&#8217;m at the UKOUG conference right now with some of the heavy hitters from the Optimizer team, so I&#8217;ll see what they say about it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Narendra</title>
		<link>http://jonathanlewis.wordpress.com/2010/11/30/collection-costs/#comment-37955</link>
		<dc:creator><![CDATA[Narendra]]></dc:creator>
		<pubDate>Tue, 30 Nov 2010 13:47:35 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=4723#comment-37955</guid>
		<description><![CDATA[&lt;a href=&quot;http://www.oracle.com/technetwork/issue-archive/2010/10-sep/o50asktom-165477.html&quot; rel=&quot;nofollow&quot;&gt;Here&lt;/a&gt; Tom actually explains the same with an example that uses collection.]]></description>
		<content:encoded><![CDATA[<p><a href="http://www.oracle.com/technetwork/issue-archive/2010/10-sep/o50asktom-165477.html" rel="nofollow">Here</a> Tom actually explains the same with an example that uses collection.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
