<?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/"
		>
<channel>
	<title>Comments on: Wrong Information about Temporary Space Usage in V$SQL_PLAN_STATISTICS_ALL and DBMS_XPLAN Output</title>
	<atom:link href="http://www.antognini.ch/2009/05/wrong-information-about-temporary-space-usage/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.antognini.ch/2009/05/wrong-information-about-temporary-space-usage/</link>
	<description></description>
	<lastBuildDate>Thu, 17 May 2012 06:56:24 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: PGA Memory &#8211; The Developer&#8217;s Secret Weapon for Stealing All of the Memory in the Server &#171; Charles Hooper&#039;s Oracle Notes</title>
		<link>http://www.antognini.ch/2009/05/wrong-information-about-temporary-space-usage/#comment-184</link>
		<dc:creator>PGA Memory &#8211; The Developer&#8217;s Secret Weapon for Stealing All of the Memory in the Server &#171; Charles Hooper&#039;s Oracle Notes</dc:creator>
		<pubDate>Mon, 18 Jan 2010 06:15:37 +0000</pubDate>
		<guid isPermaLink="false">http://antognini.ch/?p=271#comment-184</guid>
		<description>[...] Let&#8217;s see, almost 25 minutes to execute the SQL statement, a total of roughly 425MB of memory was used during one pass workarea executions (but from our earlier output, not all of that memory was in use at the same time) and the SORT ORDER BY operation used 11M of TEMP tablespace space&#8230; but is that 11MB, or is it 11 million KB, or is it 11,534,336 KB (2^20 * 11 KB)?  Remember earlier we found &#8220;that the temporary segment size in the TEMP tablespace is about 11.14GB&#8221;, so that 11M means 11,534,336 KB, or about 11GB.  OK, that was slightly confusing, but we are not done yet.  (Side note: the author of the book &#8220;Troubleshooting Oracle Performance&#8221; commented on the Used-Tmp column here.) [...] </description>
		<content:encoded><![CDATA[<p>[...] Let&#8217;s see, almost 25 minutes to execute the SQL statement, a total of roughly 425MB of memory was used during one pass workarea executions (but from our earlier output, not all of that memory was in use at the same time) and the SORT ORDER BY operation used 11M of TEMP tablespace space&#8230; but is that 11MB, or is it 11 million KB, or is it 11,534,336 KB (2^20 * 11 KB)?  Remember earlier we found &#8220;that the temporary segment size in the TEMP tablespace is about 11.14GB&#8221;, so that 11M means 11,534,336 KB, or about 11GB.  OK, that was slightly confusing, but we are not done yet.  (Side note: the author of the book &#8220;Troubleshooting Oracle Performance&#8221; commented on the Used-Tmp column here.) [...] </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian Antognini</title>
		<link>http://www.antognini.ch/2009/05/wrong-information-about-temporary-space-usage/#comment-183</link>
		<dc:creator>Christian Antognini</dc:creator>
		<pubDate>Fri, 29 May 2009 18:33:01 +0000</pubDate>
		<guid isPermaLink="false">http://antognini.ch/?p=271#comment-183</guid>
		<description>Rachid

Please notice that TempSpc is &quot;only&quot; the estimated amount of temporary space used by an operation. For this reason, I find it not very interesting...

Cheers,
Chris</description>
		<content:encoded><![CDATA[<p>Rachid</p>
<p>Please notice that TempSpc is &#8220;only&#8221; the estimated amount of temporary space used by an operation. For this reason, I find it not very interesting&#8230;</p>
<p>Cheers,<br />
Chris</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rachid</title>
		<link>http://www.antognini.ch/2009/05/wrong-information-about-temporary-space-usage/#comment-182</link>
		<dc:creator>Rachid</dc:creator>
		<pubDate>Thu, 28 May 2009 07:55:20 +0000</pubDate>
		<guid isPermaLink="false">http://antognini.ch/?p=271#comment-182</guid>
		<description>Good news ;-)
The autotrace command shows correct values

&lt;pre&gt;Execution Plan
----------------------------------------------------------
Plan hash value: 961378228

-----------------------------------------------------------------------------------
&#124; Id  &#124; Operation          &#124; Name &#124; Rows  &#124; Bytes &#124;TempSpc&#124; Cost (%CPU)&#124; Time     &#124;
-----------------------------------------------------------------------------------
&#124;   0 &#124; SELECT STATEMENT   &#124;      &#124;  1000 &#124;   980K&#124;       &#124;   247   (1)&#124; 00:00:03 &#124;
&#124;   1 &#124;  SORT ORDER BY     &#124;      &#124;  1000 &#124;   980K&#124;  2008K&#124;   247   (1)&#124; 00:00:03 &#124;
&#124;   2 &#124;   TABLE ACCESS FULL&#124; T    &#124;  1000 &#124;   980K&#124;       &#124;    33   (0)&#124; 00:00:01 &#124;
-----------------------------------------------------------------------------------&lt;/pre&gt;

Rachid</description>
		<content:encoded><![CDATA[<p>Good news <img src='http://www.antognini.ch/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /><br />
The autotrace command shows correct values</p>
<pre>Execution Plan
----------------------------------------------------------
Plan hash value: 961378228

-----------------------------------------------------------------------------------
| Id  | Operation          | Name | Rows  | Bytes |TempSpc| Cost (%CPU)| Time     |
-----------------------------------------------------------------------------------
|   0 | SELECT STATEMENT   |      |  1000 |   980K|       |   247   (1)| 00:00:03 |
|   1 |  SORT ORDER BY     |      |  1000 |   980K|  2008K|   247   (1)| 00:00:03 |
|   2 |   TABLE ACCESS FULL| T    |  1000 |   980K|       |    33   (0)| 00:00:01 |
-----------------------------------------------------------------------------------</pre>
<p>Rachid</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tanel Poder</title>
		<link>http://www.antognini.ch/2009/05/wrong-information-about-temporary-space-usage/#comment-181</link>
		<dc:creator>Tanel Poder</dc:creator>
		<pubDate>Sat, 09 May 2009 18:20:34 +0000</pubDate>
		<guid isPermaLink="false">http://antognini.ch/?p=271#comment-181</guid>
		<description>Well all this keeps us busy, doesn&#039;t it ;)</description>
		<content:encoded><![CDATA[<p>Well all this keeps us busy, doesn&#8217;t it <img src='http://www.antognini.ch/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian Antognini</title>
		<link>http://www.antognini.ch/2009/05/wrong-information-about-temporary-space-usage/#comment-180</link>
		<dc:creator>Christian Antognini</dc:creator>
		<pubDate>Wed, 06 May 2009 07:53:58 +0000</pubDate>
		<guid isPermaLink="false">http://antognini.ch/?p=271#comment-180</guid>
		<description>Ciao Alberto

It goes without saying that I fully agree with you. They have a problem with the quality of the support... I hope that they will adress it soon or later. In the mean time, we have to struggle with it.

Cheers
Chris</description>
		<content:encoded><![CDATA[<p>Ciao Alberto</p>
<p>It goes without saying that I fully agree with you. They have a problem with the quality of the support&#8230; I hope that they will adress it soon or later. In the mean time, we have to struggle with it.</p>
<p>Cheers<br />
Chris</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alberto Dell'Era</title>
		<link>http://www.antognini.ch/2009/05/wrong-information-about-temporary-space-usage/#comment-179</link>
		<dc:creator>Alberto Dell'Era</dc:creator>
		<pubDate>Wed, 06 May 2009 07:39:05 +0000</pubDate>
		<guid isPermaLink="false">http://antognini.ch/?p=271#comment-179</guid>
		<description>Ciao Chris,

great to know, but a sane process would not need to open a bug AND then blog about it AND then have an &quot;Oracle employee&quot; notice it ... ... it should be enough to open a bug, and frankly, I would also expect a &quot;thank you!&quot; note from Support for taking the time to log a bug &quot;for the benefit of Oracle and its community&quot;.</description>
		<content:encoded><![CDATA[<p>Ciao Chris,</p>
<p>great to know, but a sane process would not need to open a bug AND then blog about it AND then have an &#8220;Oracle employee&#8221; notice it &#8230; &#8230; it should be enough to open a bug, and frankly, I would also expect a &#8220;thank you!&#8221; note from Support for taking the time to log a bug &#8220;for the benefit of Oracle and its community&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian Antognini</title>
		<link>http://www.antognini.ch/2009/05/wrong-information-about-temporary-space-usage/#comment-178</link>
		<dc:creator>Christian Antognini</dc:creator>
		<pubDate>Tue, 05 May 2009 09:23:53 +0000</pubDate>
		<guid isPermaLink="false">http://antognini.ch/?p=271#comment-178</guid>
		<description>Ciao Alberto

I try to not give up!

An example: right now the oldest SR I have in Metalink, ups... My Oracle Support (and the name explicitly says that they provide support), is dated &quot;05-SEP-07 18:49:03&quot;. The associated bug spent the whole 2008 hibernated and, who knows why, they resumed it in 2009. Few minutes ago when I checked the date I looked at the bug and I saw &quot;*** 05/04/09 10:37 am *** (CHG: FixBy-&gt;11.2) &quot;. Yeah! I&#039;m looking forward to get the next beta release to check the fix. BTW, this is also a bug with V$SQL_PLAN_STATISTICS_ALL... the one that I mention at page 233 in TOP. So, expect a post to explain the problem and says that it has been fixed ;-)

Cheers,
Chris</description>
		<content:encoded><![CDATA[<p>Ciao Alberto</p>
<p>I try to not give up!</p>
<p>An example: right now the oldest SR I have in Metalink, ups&#8230; My Oracle Support (and the name explicitly says that they provide support), is dated &#8220;05-SEP-07 18:49:03&#8243;. The associated bug spent the whole 2008 hibernated and, who knows why, they resumed it in 2009. Few minutes ago when I checked the date I looked at the bug and I saw &#8220;*** 05/04/09 10:37 am *** (CHG: FixBy->11.2) &#8220;. Yeah! I&#8217;m looking forward to get the next beta release to check the fix. BTW, this is also a bug with V$SQL_PLAN_STATISTICS_ALL&#8230; the one that I mention at page 233 in TOP. So, expect a post to explain the problem and says that it has been fixed <img src='http://www.antognini.ch/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Cheers,<br />
Chris</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alberto Dell'Era</title>
		<link>http://www.antognini.ch/2009/05/wrong-information-about-temporary-space-usage/#comment-177</link>
		<dc:creator>Alberto Dell'Era</dc:creator>
		<pubDate>Tue, 05 May 2009 09:00:48 +0000</pubDate>
		<guid isPermaLink="false">http://antognini.ch/?p=271#comment-177</guid>
		<description>I feel your pain - I did quit submitting bug reports to Support such as the one you are describing, that I used to submit in an attempt to be &quot;nice to the Oracle ecosystem&quot;, several years ago, since I&#039;ve noticed that they are not liked by them - they are almost always closed or ignored (at least mine). It is sad since that means that a lot of inconsistencies are left in the product - this one is a good example, it would take a few minutes to be fixed, with almost zero risk, for the benefit of everyone. Amen.</description>
		<content:encoded><![CDATA[<p>I feel your pain &#8211; I did quit submitting bug reports to Support such as the one you are describing, that I used to submit in an attempt to be &#8220;nice to the Oracle ecosystem&#8221;, several years ago, since I&#8217;ve noticed that they are not liked by them &#8211; they are almost always closed or ignored (at least mine). It is sad since that means that a lot of inconsistencies are left in the product &#8211; this one is a good example, it would take a few minutes to be fixed, with almost zero risk, for the benefit of everyone. Amen.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

