<?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: Fake Baselines</title>
	<atom:link href="http://jonathanlewis.wordpress.com/2011/01/12/fake-baselines/feed/" rel="self" type="application/rss+xml" />
	<link>http://jonathanlewis.wordpress.com/2011/01/12/fake-baselines/</link>
	<description>Just another Oracle weblog</description>
	<lastBuildDate>Wed, 22 May 2013 12:40:08 +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/2011/01/12/fake-baselines/#comment-49507</link>
		<dc:creator><![CDATA[Jonathan Lewis]]></dc:creator>
		<pubDate>Wed, 29 Aug 2012 08:56:05 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=5528#comment-49507</guid>
		<description><![CDATA[Timur,

Thanks for the question - and the comprehensive follow-up.
The tracing information is particularly useful.]]></description>
		<content:encoded><![CDATA[<p>Timur,</p>
<p>Thanks for the question &#8211; and the comprehensive follow-up.<br />
The tracing information is particularly useful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Timur Akhmadeev</title>
		<link>http://jonathanlewis.wordpress.com/2011/01/12/fake-baselines/#comment-49388</link>
		<dc:creator><![CDATA[Timur Akhmadeev]]></dc:creator>
		<pubDate>Fri, 24 Aug 2012 12:06:22 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=5528#comment-49388</guid>
		<description><![CDATA[It&#039;s &lt;a href=&quot;http://docs.oracle.com/cd/E11882_01/server.112/e26088/statements_9014.htm#i2080134&quot; rel=&quot;nofollow&quot;&gt;documented&lt;/a&gt;:
&lt;blockquote&gt;Plan stability is not supported for multitable insert statements.&lt;/blockquote&gt;
And the reason for such restriction comes from the fact such statement misses OUTLINE part in the cursor, and SPM ignores it and writes following to the trace
&lt;pre&gt;
load cc: plan outline extracted
load cc: plan has empty outline, skipping it
load cc: plans total=0plans loaded=0
&lt;/pre&gt;
SQL Patch is also not an option for the same reason.]]></description>
		<content:encoded><![CDATA[<p>It&#8217;s <a href="http://docs.oracle.com/cd/E11882_01/server.112/e26088/statements_9014.htm#i2080134" rel="nofollow">documented</a>:</p>
<blockquote><p>Plan stability is not supported for multitable insert statements.</p></blockquote>
<p>And the reason for such restriction comes from the fact such statement misses OUTLINE part in the cursor, and SPM ignores it and writes following to the trace</p>
<pre>
load cc: plan outline extracted
load cc: plan has empty outline, skipping it
load cc: plans total=0plans loaded=0
</pre>
<p>SQL Patch is also not an option for the same reason.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Timur Akhmadeev</title>
		<link>http://jonathanlewis.wordpress.com/2011/01/12/fake-baselines/#comment-49383</link>
		<dc:creator><![CDATA[Timur Akhmadeev]]></dc:creator>
		<pubDate>Fri, 24 Aug 2012 10:03:38 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=5528#comment-49383</guid>
		<description><![CDATA[I&#039;ve found how to enable tracing for SPM: &lt;a href=&quot;https://support.oracle.com/epmos/faces/ui/km/DocumentDisplay.jspx?id=789520.1&quot; rel=&quot;nofollow&quot;&gt;SQL PLAN MANAGEMENT TRACING ID 789520.1&lt;/a&gt; Looks like something is not OK with the type of this statement. I&#039;ll follow up on this if I find something interesting.]]></description>
		<content:encoded><![CDATA[<p>I&#8217;ve found how to enable tracing for SPM: <a href="https://support.oracle.com/epmos/faces/ui/km/DocumentDisplay.jspx?id=789520.1" rel="nofollow">SQL PLAN MANAGEMENT TRACING ID 789520.1</a> Looks like something is not OK with the type of this statement. I&#8217;ll follow up on this if I find something interesting.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Timur Akhmadeev</title>
		<link>http://jonathanlewis.wordpress.com/2011/01/12/fake-baselines/#comment-49382</link>
		<dc:creator><![CDATA[Timur Akhmadeev]]></dc:creator>
		<pubDate>Fri, 24 Aug 2012 09:54:45 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=5528#comment-49382</guid>
		<description><![CDATA[Hi Jonathan

do you know how to diagnose why DBMS_SPM doesn&#039;t load plans from cache? Both plans are definitely in the cursor cache, but for some reason DBMS_SPM returns zero as a result. I tried both doing it myself with your approach and with coe_load_sql_baseline.sql script from SQLTXPLAIN. This is RAC 11.2.0.3.2 on Linux, I&#039;m using same instance for sure; and problem SQL runs in the scheduler job. Thanks for any pointers.]]></description>
		<content:encoded><![CDATA[<p>Hi Jonathan</p>
<p>do you know how to diagnose why DBMS_SPM doesn&#8217;t load plans from cache? Both plans are definitely in the cursor cache, but for some reason DBMS_SPM returns zero as a result. I tried both doing it myself with your approach and with coe_load_sql_baseline.sql script from SQLTXPLAIN. This is RAC 11.2.0.3.2 on Linux, I&#8217;m using same instance for sure; and problem SQL runs in the scheduler job. Thanks for any pointers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: One simple example about Oracle SPM &#124; leborchuk</title>
		<link>http://jonathanlewis.wordpress.com/2011/01/12/fake-baselines/#comment-49135</link>
		<dc:creator><![CDATA[One simple example about Oracle SPM &#124; leborchuk]]></dc:creator>
		<pubDate>Sun, 19 Aug 2012 09:52:10 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=5528#comment-49135</guid>
		<description><![CDATA[[...] Johathan Lewis http://jonathanlewis.wordpress.com/2011/01/12/fake-baselines/ [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Johathan Lewis <a href="http://jonathanlewis.wordpress.com/2011/01/12/fake-baselines/" rel="nofollow">http://jonathanlewis.wordpress.com/2011/01/12/fake-baselines/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PK Problem &#171; Oracle Scratchpad</title>
		<link>http://jonathanlewis.wordpress.com/2011/01/12/fake-baselines/#comment-47861</link>
		<dc:creator><![CDATA[PK Problem &#171; Oracle Scratchpad]]></dc:creator>
		<pubDate>Thu, 12 Jul 2012 16:19:05 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=5528#comment-47861</guid>
		<description><![CDATA[[...] look at the option for creating an SQL Plan Baseline for a modified version of the query, and then attaching that plan to this query. Let&#8217;s work on that idea in steps &#8211; first we&#8217;ll just try aggregating the object [...]]]></description>
		<content:encoded><![CDATA[<p>[...] look at the option for creating an SQL Plan Baseline for a modified version of the query, and then attaching that plan to this query. Let&#8217;s work on that idea in steps &#8211; first we&#8217;ll just try aggregating the object [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Subquery Factoring &#171; Oracle Scratchpad</title>
		<link>http://jonathanlewis.wordpress.com/2011/01/12/fake-baselines/#comment-45030</link>
		<dc:creator><![CDATA[Subquery Factoring &#171; Oracle Scratchpad]]></dc:creator>
		<pubDate>Tue, 14 Feb 2012 18:01:23 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=5528#comment-45030</guid>
		<description><![CDATA[[...] the view and attach it to the version of the query with the inline view but without the hint. (See Fake Baselines for one possible method of doing this capture.) Share this:TwitterLike this:LikeBe the first to [...]]]></description>
		<content:encoded><![CDATA[<p>[...] the view and attach it to the version of the query with the inline view but without the hint. (See Fake Baselines for one possible method of doing this capture.) Share this:TwitterLike this:LikeBe the first to [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Enabling constraint in parallel &#171; Timur Akhmadeev&#039;s blog</title>
		<link>http://jonathanlewis.wordpress.com/2011/01/12/fake-baselines/#comment-39596</link>
		<dc:creator><![CDATA[Enabling constraint in parallel &#171; Timur Akhmadeev&#039;s blog]]></dc:creator>
		<pubDate>Wed, 16 Feb 2011 19:05:31 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=5528#comment-39596</guid>
		<description><![CDATA[[...] issued by Oracle to validate a constraint will be parallel? If you want 100% guarantee, you can use baselines. I&#8217;ve tested this approach and it worked as expected. Here is a run-time plan which used a [...]]]></description>
		<content:encoded><![CDATA[<p>[...] issued by Oracle to validate a constraint will be parallel? If you want 100% guarantee, you can use baselines. I&#8217;ve tested this approach and it worked as expected. Here is a run-time plan which used a [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aswath Rao</title>
		<link>http://jonathanlewis.wordpress.com/2011/01/12/fake-baselines/#comment-39234</link>
		<dc:creator><![CDATA[Aswath Rao]]></dc:creator>
		<pubDate>Wed, 19 Jan 2011 16:14:23 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=5528#comment-39234</guid>
		<description><![CDATA[Hi Jonathan,

Thanks for the wonderful blog on the SQL Baselines.

Thanks
Aswath Rao]]></description>
		<content:encoded><![CDATA[<p>Hi Jonathan,</p>
<p>Thanks for the wonderful blog on the SQL Baselines.</p>
<p>Thanks<br />
Aswath Rao</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Lewis</title>
		<link>http://jonathanlewis.wordpress.com/2011/01/12/fake-baselines/#comment-39194</link>
		<dc:creator><![CDATA[Jonathan Lewis]]></dc:creator>
		<pubDate>Sun, 16 Jan 2011 17:43:40 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=5528#comment-39194</guid>
		<description><![CDATA[Marcin,

Thanks for that - it&#039;s a useful point to highlight. 

Particularly relevant, probably, when trying to fake things while &lt;b&gt;cursor_sharing&lt;/b&gt; is set to &lt;b&gt;force&lt;/b&gt; or &lt;b&gt;similar&lt;/b&gt; - which can, of course, also cause confusion with &quot;explain plan&quot; and stored outlines.]]></description>
		<content:encoded><![CDATA[<p>Marcin,</p>
<p>Thanks for that &#8211; it&#8217;s a useful point to highlight. </p>
<p>Particularly relevant, probably, when trying to fake things while <b>cursor_sharing</b> is set to <b>force</b> or <b>similar</b> &#8211; which can, of course, also cause confusion with &#8220;explain plan&#8221; and stored outlines.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
