<?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: Predicate Problems</title>
	<atom:link href="http://jonathanlewis.wordpress.com/2008/12/03/predicate-problems/feed/" rel="self" type="application/rss+xml" />
	<link>http://jonathanlewis.wordpress.com/2008/12/03/predicate-problems/</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: Timur Akhmadeev</title>
		<link>http://jonathanlewis.wordpress.com/2008/12/03/predicate-problems/#comment-37687</link>
		<dc:creator><![CDATA[Timur Akhmadeev]]></dc:creator>
		<pubDate>Fri, 12 Nov 2010 20:04:06 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=798#comment-37687</guid>
		<description><![CDATA[Just a heads up on a problem one might encounter while trying to get plan with predicates: if you have &quot;_cursor_plan_unparse_enable&quot; parameter set to false (for ex., Oracle Support asked you to do this to workaround a bug), you may not see predicates section. This was mentioned in &lt;a href=&quot;http://www.sql.ru/forum/actualutils.aspx?action=gotomsg&amp;tid=791380&amp;msg=9767752&quot; rel=&quot;nofollow&quot;&gt;this thread&lt;/a&gt; on SQL.ru.]]></description>
		<content:encoded><![CDATA[<p>Just a heads up on a problem one might encounter while trying to get plan with predicates: if you have &#8220;_cursor_plan_unparse_enable&#8221; parameter set to false (for ex., Oracle Support asked you to do this to workaround a bug), you may not see predicates section. This was mentioned in <a href="http://www.sql.ru/forum/actualutils.aspx?action=gotomsg&amp;tid=791380&amp;msg=9767752" rel="nofollow">this thread</a> on SQL.ru.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Filter &#8220;Bug&#8221; &#171; Oracle Scratchpad</title>
		<link>http://jonathanlewis.wordpress.com/2008/12/03/predicate-problems/#comment-37151</link>
		<dc:creator><![CDATA[Filter &#8220;Bug&#8221; &#171; Oracle Scratchpad]]></dc:creator>
		<pubDate>Tue, 31 Aug 2010 19:02:20 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=798#comment-37151</guid>
		<description><![CDATA[[...] Lewis @ 7:01 pm UTC Aug 31,2010   Here&#8217;s an example to remind you how important it is to look at the &#8220;Predicate Information&#8221; supplied with an execution plan. Here are two execution plans that look very similar in shape [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Lewis @ 7:01 pm UTC Aug 31,2010   Here&#8217;s an example to remind you how important it is to look at the &#8220;Predicate Information&#8221; supplied with an execution plan. Here are two execution plans that look very similar in shape [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Lewis</title>
		<link>http://jonathanlewis.wordpress.com/2008/12/03/predicate-problems/#comment-36731</link>
		<dc:creator><![CDATA[Jonathan Lewis]]></dc:creator>
		<pubDate>Mon, 12 Jul 2010 20:25:33 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=798#comment-36731</guid>
		<description><![CDATA[Padders,

Thanks for that note. I can&#039;t think why I didn&#039;t check the oraus.msg file myself - it&#039;s always a good place to look if you can&#039;t find anything suggestive in the full parameter list.]]></description>
		<content:encoded><![CDATA[<p>Padders,</p>
<p>Thanks for that note. I can&#8217;t think why I didn&#8217;t check the oraus.msg file myself &#8211; it&#8217;s always a good place to look if you can&#8217;t find anything suggestive in the full parameter list.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Padders</title>
		<link>http://jonathanlewis.wordpress.com/2008/12/03/predicate-problems/#comment-36726</link>
		<dc:creator><![CDATA[Padders]]></dc:creator>
		<pubDate>Mon, 12 Jul 2010 14:37:24 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=798#comment-36726</guid>
		<description><![CDATA[Just a note to say event 10195 &quot;CBO don&#039;t use check constraints for transitive predicates&quot; seems helpful in scratch tests, pending buy-in from our DBAs.]]></description>
		<content:encoded><![CDATA[<p>Just a note to say event 10195 &#8220;CBO don&#8217;t use check constraints for transitive predicates&#8221; seems helpful in scratch tests, pending buy-in from our DBAs.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Lewis</title>
		<link>http://jonathanlewis.wordpress.com/2008/12/03/predicate-problems/#comment-36710</link>
		<dc:creator><![CDATA[Jonathan Lewis]]></dc:creator>
		<pubDate>Fri, 09 Jul 2010 13:34:51 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=798#comment-36710</guid>
		<description><![CDATA[Padders,
No workaround that I know of. (Other than upgrading).

You might try adjusting the query_rewrite_enabled parameter - but that&#039;s just a shot in the dark because it has had some unexpected side-effects in the past that have nothing (apparently) to do with query rewrite.]]></description>
		<content:encoded><![CDATA[<p>Padders,<br />
No workaround that I know of. (Other than upgrading).</p>
<p>You might try adjusting the query_rewrite_enabled parameter &#8211; but that&#8217;s just a shot in the dark because it has had some unexpected side-effects in the past that have nothing (apparently) to do with query rewrite.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Padders</title>
		<link>http://jonathanlewis.wordpress.com/2008/12/03/predicate-problems/#comment-36707</link>
		<dc:creator><![CDATA[Padders]]></dc:creator>
		<pubDate>Fri, 09 Jul 2010 09:37:42 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=798#comment-36707</guid>
		<description><![CDATA[Sorry for late comment, we are hitting issues with this in 9.2.0.6, please can you confirm if any workarounds are known.]]></description>
		<content:encoded><![CDATA[<p>Sorry for late comment, we are hitting issues with this in 9.2.0.6, please can you confirm if any workarounds are known.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Old plan_table &#171; Oracle Scratchpad</title>
		<link>http://jonathanlewis.wordpress.com/2008/12/03/predicate-problems/#comment-35312</link>
		<dc:creator><![CDATA[Old plan_table &#171; Oracle Scratchpad]]></dc:creator>
		<pubDate>Mon, 25 Jan 2010 08:29:09 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=798#comment-35312</guid>
		<description><![CDATA[[...] lost count of the number of times I&#8217;ve told people that the predicate section of an execution plan is vital to understanding what&#8217;s really going on, and it&#8217;s usually the predicate section [...]]]></description>
		<content:encoded><![CDATA[<p>[...] lost count of the number of times I&#8217;ve told people that the predicate section of an execution plan is vital to understanding what&#8217;s really going on, and it&#8217;s usually the predicate section [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vivek</title>
		<link>http://jonathanlewis.wordpress.com/2008/12/03/predicate-problems/#comment-32454</link>
		<dc:creator><![CDATA[Vivek]]></dc:creator>
		<pubDate>Wed, 24 Dec 2008 13:05:02 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=798#comment-32454</guid>
		<description><![CDATA[Hi All,

For me...it worked too in 10.2.0.1 Windows Machine.

Regards
Vivek]]></description>
		<content:encoded><![CDATA[<p>Hi All,</p>
<p>For me&#8230;it worked too in 10.2.0.1 Windows Machine.</p>
<p>Regards<br />
Vivek</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dilip Patel</title>
		<link>http://jonathanlewis.wordpress.com/2008/12/03/predicate-problems/#comment-32420</link>
		<dc:creator><![CDATA[Dilip Patel]]></dc:creator>
		<pubDate>Fri, 19 Dec 2008 13:00:49 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=798#comment-32420</guid>
		<description><![CDATA[Jonathan, Richardo.

I have tested this 9.2.0.7 and 10.2.0.3. It behaves exactly as Jonathan wrote on blog.

9.2.0.7
[sourcecode]
----------------------------------------------------------------------------
&#124; Id  &#124; Operation                    &#124;  Name       &#124; Rows  &#124; Bytes &#124; Cost  &#124;
----------------------------------------------------------------------------
&#124;   0 &#124; SELECT STATEMENT             &#124;             &#124;     1 &#124;    10 &#124;    10 &#124;
&#124;   1 &#124;  SORT AGGREGATE              &#124;             &#124;     1 &#124;    10 &#124;       &#124;
&#124;*  2 &#124;   TABLE ACCESS BY INDEX ROWID&#124; T1          &#124;     5 &#124;    50 &#124;    10 &#124;
&#124;*  3 &#124;    INDEX RANGE SCAN          &#124; T1_PK       &#124;    99 &#124;       &#124;     2 &#124;
----------------------------------------------------------------------------

Predicate Information (identified by operation id):
---------------------------------------------------

   2 - filter(&quot;T1&quot;.&quot;N1&quot;+&quot;T1&quot;.&quot;N2&quot;&gt;=0)
   3 - access(&quot;T1&quot;.&quot;ID&quot;&lt;100)
[/sourcecode]
10.2.0.3
[sourcecode]
---------------------------------------------------------------------------
&#124; Id  &#124; Operation         &#124; Name  &#124; Rows  &#124; Bytes &#124; Cost (%CPU)&#124; Time     &#124;
---------------------------------------------------------------------------
&#124;   0 &#124; SELECT STATEMENT  &#124;       &#124;     1 &#124;     4 &#124;     2   (0)&#124; 00:00:01 &#124;
&#124;   1 &#124;  SORT AGGREGATE   &#124;       &#124;     1 &#124;     4 &#124;            &#124;          &#124;
&#124;*  2 &#124;   INDEX RANGE SCAN&#124; T1_PK &#124;    99 &#124;   396 &#124;     2   (0)&#124; 00:00:01 &#124;
---------------------------------------------------------------------------

Predicate Information (identified by operation id):
---------------------------------------------------

   2 - access(&quot;ID&quot;&lt;100)
[/sourcecode]]]></description>
		<content:encoded><![CDATA[<p>Jonathan, Richardo.</p>
<p>I have tested this 9.2.0.7 and 10.2.0.3. It behaves exactly as Jonathan wrote on blog.</p>
<p>9.2.0.7</p>
<pre class="brush: plain; title: ; notranslate">
----------------------------------------------------------------------------
| Id  | Operation                    |  Name       | Rows  | Bytes | Cost  |
----------------------------------------------------------------------------
|   0 | SELECT STATEMENT             |             |     1 |    10 |    10 |
|   1 |  SORT AGGREGATE              |             |     1 |    10 |       |
|*  2 |   TABLE ACCESS BY INDEX ROWID| T1          |     5 |    50 |    10 |
|*  3 |    INDEX RANGE SCAN          | T1_PK       |    99 |       |     2 |
----------------------------------------------------------------------------

Predicate Information (identified by operation id):
---------------------------------------------------

   2 - filter(&quot;T1&quot;.&quot;N1&quot;+&quot;T1&quot;.&quot;N2&quot;&gt;=0)
   3 - access(&quot;T1&quot;.&quot;ID&quot;&lt;100)
</pre>
<p>10.2.0.3</p>
<pre class="brush: plain; title: ; notranslate">
---------------------------------------------------------------------------
| Id  | Operation         | Name  | Rows  | Bytes | Cost (%CPU)| Time     |
---------------------------------------------------------------------------
|   0 | SELECT STATEMENT  |       |     1 |     4 |     2   (0)| 00:00:01 |
|   1 |  SORT AGGREGATE   |       |     1 |     4 |            |          |
|*  2 |   INDEX RANGE SCAN| T1_PK |    99 |   396 |     2   (0)| 00:00:01 |
---------------------------------------------------------------------------

Predicate Information (identified by operation id):
---------------------------------------------------

   2 - access(&quot;ID&quot;&lt;100)
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Lewis</title>
		<link>http://jonathanlewis.wordpress.com/2008/12/03/predicate-problems/#comment-32343</link>
		<dc:creator><![CDATA[Jonathan Lewis]]></dc:creator>
		<pubDate>Fri, 05 Dec 2008 10:11:52 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=798#comment-32343</guid>
		<description><![CDATA[Ricardo,
I&#039;ve just re-run this on 10.2.0.1, cutting and pasting from the blog. It behaves the way I said.

Can you check that your version really is 10.2.0.l - and if it has any patches, or any of the less common (optimizer) parameters set.]]></description>
		<content:encoded><![CDATA[<p>Ricardo,<br />
I&#8217;ve just re-run this on 10.2.0.1, cutting and pasting from the blog. It behaves the way I said.</p>
<p>Can you check that your version really is 10.2.0.l &#8211; and if it has any patches, or any of the less common (optimizer) parameters set.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
