<?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: Philosophy – 13</title>
	<atom:link href="http://jonathanlewis.wordpress.com/2011/02/09/philosophy-%E2%80%93%C2%A013/feed/" rel="self" type="application/rss+xml" />
	<link>http://jonathanlewis.wordpress.com/2011/02/09/philosophy-%e2%80%93%c2%a013/</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: Uwe Hesse</title>
		<link>http://jonathanlewis.wordpress.com/2011/02/09/philosophy-%e2%80%93%c2%a013/#comment-39548</link>
		<dc:creator><![CDATA[Uwe Hesse]]></dc:creator>
		<pubDate>Fri, 11 Feb 2011 10:36:45 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=4660#comment-39548</guid>
		<description><![CDATA[Let me just add to the phenomenon &quot;Optimizer of new version picks worse plan for the right reason&quot; that we introduced SQL Plan Baselines in 11g to prevent this - similar as Stored Outlines could in previous versions but with the chance that better plans can be evolved and used.]]></description>
		<content:encoded><![CDATA[<p>Let me just add to the phenomenon &#8220;Optimizer of new version picks worse plan for the right reason&#8221; that we introduced SQL Plan Baselines in 11g to prevent this &#8211; similar as Stored Outlines could in previous versions but with the chance that better plans can be evolved and used.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sokrates</title>
		<link>http://jonathanlewis.wordpress.com/2011/02/09/philosophy-%e2%80%93%c2%a013/#comment-39526</link>
		<dc:creator><![CDATA[Sokrates]]></dc:creator>
		<pubDate>Thu, 10 Feb 2011 09:23:19 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=4660#comment-39526</guid>
		<description><![CDATA[that reminds me of a discussion I had with my wife a few days ago:
She said, when she drinks more than 32 cups of coffee a day, she will not be able to sleep at night.
For me, the opposite is true: when I sleep at night, I am not able to drink any coffee.
Funny, isn&#039;t it ?]]></description>
		<content:encoded><![CDATA[<p>that reminds me of a discussion I had with my wife a few days ago:<br />
She said, when she drinks more than 32 cups of coffee a day, she will not be able to sleep at night.<br />
For me, the opposite is true: when I sleep at night, I am not able to drink any coffee.<br />
Funny, isn&#8217;t it ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Timur Akhmadeev</title>
		<link>http://jonathanlewis.wordpress.com/2011/02/09/philosophy-%e2%80%93%c2%a013/#comment-39525</link>
		<dc:creator><![CDATA[Timur Akhmadeev]]></dc:creator>
		<pubDate>Thu, 10 Feb 2011 08:54:10 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=4660#comment-39525</guid>
		<description><![CDATA[&lt;blockquote&gt;I’ve always found it tricky to explain to a victim that actually the plan that used to work so well was picked for the wrong reasons and it’s now picking a much worse plan but for the right reasons.&lt;/blockquote&gt;
A recent example for this: a query which run perfectly well in 9iR2 started to run very slow in 11gR2. It is a simple join with couple of filter conditions on both tables. Due to the fact that CBO in 9i had no idea that data in two columns is correlated, it considered two plans, both low cost but picked the first it considered. CBO was blind in 9i and cardinality estimates were way off for both tables, but it was the right plan. In 11g, however, it was able to calculate selectivity for a condition on two columns of the table based on an index&#039;s distinct_keys. That implied change in the order of plans. Both are the same low cost, but the first is totally wrong, because, well, there are several conditions (including like &#039;X%&#039;) and all of them are not selective at all, which is enough to screw things up.]]></description>
		<content:encoded><![CDATA[<blockquote><p>I’ve always found it tricky to explain to a victim that actually the plan that used to work so well was picked for the wrong reasons and it’s now picking a much worse plan but for the right reasons.</p></blockquote>
<p>A recent example for this: a query which run perfectly well in 9iR2 started to run very slow in 11gR2. It is a simple join with couple of filter conditions on both tables. Due to the fact that CBO in 9i had no idea that data in two columns is correlated, it considered two plans, both low cost but picked the first it considered. CBO was blind in 9i and cardinality estimates were way off for both tables, but it was the right plan. In 11g, however, it was able to calculate selectivity for a condition on two columns of the table based on an index&#8217;s distinct_keys. That implied change in the order of plans. Both are the same low cost, but the first is totally wrong, because, well, there are several conditions (including like &#8216;X%&#8217;) and all of them are not selective at all, which is enough to screw things up.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gary</title>
		<link>http://jonathanlewis.wordpress.com/2011/02/09/philosophy-%e2%80%93%c2%a013/#comment-39514</link>
		<dc:creator><![CDATA[Gary]]></dc:creator>
		<pubDate>Wed, 09 Feb 2011 20:39:10 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=4660#comment-39514</guid>
		<description><![CDATA[I&#039;ve always found it tricky to explain to a victim that actually the plan that used to work so well was picked for the wrong reasons and it&#039;s now picking a much worse plan but for the right reasons.
Often that&#039;s because you&#039;ve had to do a fix to improve things elsewhere.]]></description>
		<content:encoded><![CDATA[<p>I&#8217;ve always found it tricky to explain to a victim that actually the plan that used to work so well was picked for the wrong reasons and it&#8217;s now picking a much worse plan but for the right reasons.<br />
Often that&#8217;s because you&#8217;ve had to do a fix to improve things elsewhere.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Toon Koppelaars</title>
		<link>http://jonathanlewis.wordpress.com/2011/02/09/philosophy-%e2%80%93%c2%a013/#comment-39513</link>
		<dc:creator><![CDATA[Toon Koppelaars]]></dc:creator>
		<pubDate>Wed, 09 Feb 2011 19:34:31 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=4660#comment-39513</guid>
		<description><![CDATA[Brilliant!
:-)]]></description>
		<content:encoded><![CDATA[<p>Brilliant!<br />
:-)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
