<?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: SAS Bug</title>
	<atom:link href="http://jonathanlewis.wordpress.com/2008/11/25/sas-bug/feed/" rel="self" type="application/rss+xml" />
	<link>http://jonathanlewis.wordpress.com/2008/11/25/sas-bug/</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: Log Buffer #125: a Carnival of the Vanities for DBAs</title>
		<link>http://jonathanlewis.wordpress.com/2008/11/25/sas-bug/#comment-32316</link>
		<dc:creator><![CDATA[Log Buffer #125: a Carnival of the Vanities for DBAs]]></dc:creator>
		<pubDate>Fri, 28 Nov 2008 17:46:39 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=763#comment-32316</guid>
		<description><![CDATA[[...] &#8220;I see that Tom Kyte has found a nasty little bug waiting to trap a few unlucky people as they patch to 10.2.0.4, or upgrade to 11g.&#8221; So writes Jonathan Lewis in his item on the SAS bug. [...]]]></description>
		<content:encoded><![CDATA[<p>[...] &#8220;I see that Tom Kyte has found a nasty little bug waiting to trap a few unlucky people as they patch to 10.2.0.4, or upgrade to 11g.&#8221; So writes Jonathan Lewis in his item on the SAS bug. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Lewis</title>
		<link>http://jonathanlewis.wordpress.com/2008/11/25/sas-bug/#comment-32311</link>
		<dc:creator><![CDATA[Jonathan Lewis]]></dc:creator>
		<pubDate>Thu, 27 Nov 2008 21:54:17 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=763#comment-32311</guid>
		<description><![CDATA[Randolf,

Thanks for the link and the references to Metalink. I&#039;ve just run my test case against 10.2.0.3 - and it does, indeed, display the same problem, with the same workaround.

I guess your article and the bug notes also explain the anomaly that Scott reported.]]></description>
		<content:encoded><![CDATA[<p>Randolf,</p>
<p>Thanks for the link and the references to Metalink. I&#8217;ve just run my test case against 10.2.0.3 &#8211; and it does, indeed, display the same problem, with the same workaround.</p>
<p>I guess your article and the bug notes also explain the anomaly that Scott reported.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Randolf Geist</title>
		<link>http://jonathanlewis.wordpress.com/2008/11/25/sas-bug/#comment-32310</link>
		<dc:creator><![CDATA[Randolf Geist]]></dc:creator>
		<pubDate>Thu, 27 Nov 2008 20:58:26 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=763#comment-32310</guid>
		<description><![CDATA[Jonathan,

this nasty bug actually already appeared in the 10.2.0.3 patch set and was meant as a &quot;bug fix&quot;, see Metalink note 452466.1 and corresponding bug 6113096. I&#039;ve written a blog note about this issue a couple of months ago: 

http://oracle-randolf.blogspot.com/2008/02/nasty-bug-introduced-with-patch-set.html

Repeating your test case in the 11.1.0.7 patch set (32bit-Windows) it&#039;s looks like the bug has been fixed although I cannot find it in the &quot;list of bug fixes&quot;.

Regards,
Randolf]]></description>
		<content:encoded><![CDATA[<p>Jonathan,</p>
<p>this nasty bug actually already appeared in the 10.2.0.3 patch set and was meant as a &#8220;bug fix&#8221;, see Metalink note 452466.1 and corresponding bug 6113096. I&#8217;ve written a blog note about this issue a couple of months ago: </p>
<p><a href="http://oracle-randolf.blogspot.com/2008/02/nasty-bug-introduced-with-patch-set.html" rel="nofollow">http://oracle-randolf.blogspot.com/2008/02/nasty-bug-introduced-with-patch-set.html</a></p>
<p>Repeating your test case in the 11.1.0.7 patch set (32bit-Windows) it&#8217;s looks like the bug has been fixed although I cannot find it in the &#8220;list of bug fixes&#8221;.</p>
<p>Regards,<br />
Randolf</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Lewis</title>
		<link>http://jonathanlewis.wordpress.com/2008/11/25/sas-bug/#comment-32309</link>
		<dc:creator><![CDATA[Jonathan Lewis]]></dc:creator>
		<pubDate>Thu, 27 Nov 2008 20:30:12 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=763#comment-32309</guid>
		<description><![CDATA[Jeff,
It&#039;s always good to think of different ways of extending the test.  That was one I tried, and I also tried running a couple of queries before the one I printed in case this made the optimizer &quot;notice&quot; that the parameter had changed.

lascoltodelvenerdi,
I find that I discover all sorts of extra things by accident when designing a test for a specific problem.  In this case (in 11g), I found that my usual trick of using the /*+ gather_plan_statistics */ hint followed by the extended call to &lt;b&gt;&lt;a href=&quot;http://jonathanlewis.wordpress.com/2006/11/09/dbms_xplan-in-10g/&quot; rel=&quot;nofollow&quot;&gt;dbms_xplan.display_cursor()&lt;/a&gt;&lt;/b&gt; randomly failed to find the cursor. (Cause and workaround still to be determined).


Scott, 
Thanks for the note. I&#039;ll have to look into that when I get a bit of time.]]></description>
		<content:encoded><![CDATA[<p>Jeff,<br />
It&#8217;s always good to think of different ways of extending the test.  That was one I tried, and I also tried running a couple of queries before the one I printed in case this made the optimizer &#8220;notice&#8221; that the parameter had changed.</p>
<p>lascoltodelvenerdi,<br />
I find that I discover all sorts of extra things by accident when designing a test for a specific problem.  In this case (in 11g), I found that my usual trick of using the /*+ gather_plan_statistics */ hint followed by the extended call to <b><a href="http://jonathanlewis.wordpress.com/2006/11/09/dbms_xplan-in-10g/" rel="nofollow">dbms_xplan.display_cursor()</a></b> randomly failed to find the cursor. (Cause and workaround still to be determined).</p>
<p>Scott,<br />
Thanks for the note. I&#8217;ll have to look into that when I get a bit of time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott</title>
		<link>http://jonathanlewis.wordpress.com/2008/11/25/sas-bug/#comment-32302</link>
		<dc:creator><![CDATA[Scott]]></dc:creator>
		<pubDate>Wed, 26 Nov 2008 17:13:18 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=763#comment-32302</guid>
		<description><![CDATA[Setting the sort_area_size twice only seems to work when the sort is done serially.  It is still ignored when the sort is done in parallel.

Also if I &quot;alter session force parallel dml&quot;  and set the 10032 trace on an insert as select then the both the query and the index maintenance become serial.]]></description>
		<content:encoded><![CDATA[<p>Setting the sort_area_size twice only seems to work when the sort is done serially.  It is still ignored when the sort is done in parallel.</p>
<p>Also if I &#8220;alter session force parallel dml&#8221;  and set the 10032 trace on an insert as select then the both the query and the index maintenance become serial.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lascoltodelvenerdi</title>
		<link>http://jonathanlewis.wordpress.com/2008/11/25/sas-bug/#comment-32301</link>
		<dc:creator><![CDATA[lascoltodelvenerdi]]></dc:creator>
		<pubDate>Wed, 26 Nov 2008 13:36:44 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=763#comment-32301</guid>
		<description><![CDATA[This &quot;bug&quot; remember me a similar case with External tables.

Sometime if you issue an &quot;alter table&quot; because you want to add a file, you must do it twice, or the file will not be added.

Rather strange...no?

(Must say, that the set up that shows this particular thing, shows others, like you do a concatenation in a string to build a big dinamic-sql and you find that the end of the query is cut away. You rewrite the concatenation, something like a&#124;&#124;b&#124;&#124;c become ab&#124;&#124;c, and everything works well.)]]></description>
		<content:encoded><![CDATA[<p>This &#8220;bug&#8221; remember me a similar case with External tables.</p>
<p>Sometime if you issue an &#8220;alter table&#8221; because you want to add a file, you must do it twice, or the file will not be added.</p>
<p>Rather strange&#8230;no?</p>
<p>(Must say, that the set up that shows this particular thing, shows others, like you do a concatenation in a string to build a big dinamic-sql and you find that the end of the query is cut away. You rewrite the concatenation, something like a||b||c become ab||c, and everything works well.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Moss</title>
		<link>http://jonathanlewis.wordpress.com/2008/11/25/sas-bug/#comment-32298</link>
		<dc:creator><![CDATA[Jeff Moss]]></dc:creator>
		<pubDate>Wed, 26 Nov 2008 09:02:11 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=763#comment-32298</guid>
		<description><![CDATA[Is it possible that it&#039;s not that you need to run the statement twice to work around it...but just wait long enough...i.e. is the first ALTER SESSION statement taking effect after a period of time or after you issue it for the second time? 

...I know, I should test that...but no free time currently.]]></description>
		<content:encoded><![CDATA[<p>Is it possible that it&#8217;s not that you need to run the statement twice to work around it&#8230;but just wait long enough&#8230;i.e. is the first ALTER SESSION statement taking effect after a period of time or after you issue it for the second time? </p>
<p>&#8230;I know, I should test that&#8230;but no free time currently.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
