<?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: Temporary Tablespace Storage Parameters &#8211; What is Wrong with this Quote</title>
	<atom:link href="http://hoopercharles.wordpress.com/2012/04/22/temporary-tablespace-storage-parameters-what-is-wrong-with-this-quote/feed/" rel="self" type="application/rss+xml" />
	<link>http://hoopercharles.wordpress.com/2012/04/22/temporary-tablespace-storage-parameters-what-is-wrong-with-this-quote/</link>
	<description>Miscellaneous Random Oracle Topics: Stop, Think, ... Understand</description>
	<lastBuildDate>Thu, 23 May 2013 04:02:42 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: mercadeo</title>
		<link>http://hoopercharles.wordpress.com/2012/04/22/temporary-tablespace-storage-parameters-what-is-wrong-with-this-quote/#comment-4678</link>
		<dc:creator><![CDATA[mercadeo]]></dc:creator>
		<pubDate>Sat, 12 May 2012 14:34:43 +0000</pubDate>
		<guid isPermaLink="false">http://hoopercharles.wordpress.com/?p=6293#comment-4678</guid>
		<description><![CDATA[The temporary LOB&#039;s seen in v$sort_usage indicate that the session is doing a disk sort and the session statistic for &#039;sorts (disk)&#039; would not be increased.]]></description>
		<content:encoded><![CDATA[<p>The temporary LOB&#8217;s seen in v$sort_usage indicate that the session is doing a disk sort and the session statistic for &#8216;sorts (disk)&#8217; would not be increased.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Charles Hooper</title>
		<link>http://hoopercharles.wordpress.com/2012/04/22/temporary-tablespace-storage-parameters-what-is-wrong-with-this-quote/#comment-4659</link>
		<dc:creator><![CDATA[Charles Hooper]]></dc:creator>
		<pubDate>Thu, 26 Apr 2012 16:16:51 +0000</pubDate>
		<guid isPermaLink="false">http://hoopercharles.wordpress.com/?p=6293#comment-4659</guid>
		<description><![CDATA[Mich,

If you purchase Jonathan Lewis&#039; &quot;Oracle Core&quot; book, you will have access to a couple of the scripts that he wrote for capturing perfomance statistic deltas.  I think that the two scripts that you are interested in are snap_myst.sql and snap_stat.sql
http://jonathanlewis.wordpress.com/oracle-core/

Tanel Poder offers a free utility called Snapper.  I personally have not used it, but I have heard many favorable comments about what it does:
http://tech.e2sn.com/oracle-scripts-and-tools/session-snapper

My Hyper-Extended Oracle Performance Monitor program will also do that, you can see the screen captures here:
http://hoopercharles.wordpress.com/2012/03/12/thoughts-on-a-hyper-extended-oracle-performance-monitor-beta/

In one of the book chapters that Randolf Geist and I co-wrote, we included a simple script that calculates the delta values of various performance views - this might be a good starting point:
http://books.google.com/books?id=tUNtyMCwDWQC&amp;pg=PA203

On page 212 in the same book, we showed how to do the same with Statspack snapshots (with a timed delay between captures):
http://books.google.com/books?id=tUNtyMCwDWQC&amp;pg=PA212

--- 

For those people who might not be aware, usage of the DBMS_WORKLOAD_REPOSITORY package requires an Enterprise Edition license and a Diagnostic Pack license, while Statspack requires neither.]]></description>
		<content:encoded><![CDATA[<p>Mich,</p>
<p>If you purchase Jonathan Lewis&#8217; &#8220;Oracle Core&#8221; book, you will have access to a couple of the scripts that he wrote for capturing perfomance statistic deltas.  I think that the two scripts that you are interested in are snap_myst.sql and snap_stat.sql<br />
<a href="http://jonathanlewis.wordpress.com/oracle-core/" rel="nofollow">http://jonathanlewis.wordpress.com/oracle-core/</a></p>
<p>Tanel Poder offers a free utility called Snapper.  I personally have not used it, but I have heard many favorable comments about what it does:<br />
<a href="http://tech.e2sn.com/oracle-scripts-and-tools/session-snapper" rel="nofollow">http://tech.e2sn.com/oracle-scripts-and-tools/session-snapper</a></p>
<p>My Hyper-Extended Oracle Performance Monitor program will also do that, you can see the screen captures here:<br />
<a href="http://hoopercharles.wordpress.com/2012/03/12/thoughts-on-a-hyper-extended-oracle-performance-monitor-beta/" rel="nofollow">http://hoopercharles.wordpress.com/2012/03/12/thoughts-on-a-hyper-extended-oracle-performance-monitor-beta/</a></p>
<p>In one of the book chapters that Randolf Geist and I co-wrote, we included a simple script that calculates the delta values of various performance views &#8211; this might be a good starting point:<br />
<a href="http://books.google.com/books?id=tUNtyMCwDWQC&#038;pg=PA203" rel="nofollow">http://books.google.com/books?id=tUNtyMCwDWQC&#038;pg=PA203</a></p>
<p>On page 212 in the same book, we showed how to do the same with Statspack snapshots (with a timed delay between captures):<br />
<a href="http://books.google.com/books?id=tUNtyMCwDWQC&#038;pg=PA212" rel="nofollow">http://books.google.com/books?id=tUNtyMCwDWQC&#038;pg=PA212</a></p>
<p>&#8212; </p>
<p>For those people who might not be aware, usage of the DBMS_WORKLOAD_REPOSITORY package requires an Enterprise Edition license and a Diagnostic Pack license, while Statspack requires neither.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mich Talebzadeh</title>
		<link>http://hoopercharles.wordpress.com/2012/04/22/temporary-tablespace-storage-parameters-what-is-wrong-with-this-quote/#comment-4657</link>
		<dc:creator><![CDATA[Mich Talebzadeh]]></dc:creator>
		<pubDate>Wed, 25 Apr 2012 12:21:38 +0000</pubDate>
		<guid isPermaLink="false">http://hoopercharles.wordpress.com/?p=6293#comment-4657</guid>
		<description><![CDATA[Charles,

Apologies for being off topic here.

I looked at the topic section but I cannot recall seeing any topic on effective measurements of writes and redo logs generated by a query. Tracing is great with tkprof for assorted reads as each process does its own reads. However, the writes and redos will be performed by DBWR and LGWR. I would like to see the volume of physical writes and wait time associated with them.

One way would be to use AWR and take snapshots

&lt;pre&gt;
EXEC DBMS_WORKLOAD_REPOSITORY.CREATE_SNAPSHOT();
INSERT INTO testwrites
SELECT * FROM tdash;
commit;
EXEC DBMS_WORKLOAD_REPOSITORY.CREATE_SNAPSHOT();
&lt;/pre&gt;

The above is a simple example of inserting 1.5 million rows from one table to another (tdash based on all_objects table + 2 varchar2(4000) columns). Then I can examine the redo size and physical writes. I realise that redo size can also be obtained from autotrace. Are there other alternatives to see the volume of writes generated?

Thanks,

Mich]]></description>
		<content:encoded><![CDATA[<p>Charles,</p>
<p>Apologies for being off topic here.</p>
<p>I looked at the topic section but I cannot recall seeing any topic on effective measurements of writes and redo logs generated by a query. Tracing is great with tkprof for assorted reads as each process does its own reads. However, the writes and redos will be performed by DBWR and LGWR. I would like to see the volume of physical writes and wait time associated with them.</p>
<p>One way would be to use AWR and take snapshots</p>
<pre>
EXEC DBMS_WORKLOAD_REPOSITORY.CREATE_SNAPSHOT();
INSERT INTO testwrites
SELECT * FROM tdash;
commit;
EXEC DBMS_WORKLOAD_REPOSITORY.CREATE_SNAPSHOT();
</pre>
<p>The above is a simple example of inserting 1.5 million rows from one table to another (tdash based on all_objects table + 2 varchar2(4000) columns). Then I can examine the redo size and physical writes. I realise that redo size can also be obtained from autotrace. Are there other alternatives to see the volume of writes generated?</p>
<p>Thanks,</p>
<p>Mich</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Charles Hooper</title>
		<link>http://hoopercharles.wordpress.com/2012/04/22/temporary-tablespace-storage-parameters-what-is-wrong-with-this-quote/#comment-4650</link>
		<dc:creator><![CDATA[Charles Hooper]]></dc:creator>
		<pubDate>Tue, 24 Apr 2012 08:58:52 +0000</pubDate>
		<guid isPermaLink="false">http://hoopercharles.wordpress.com/?p=6293#comment-4650</guid>
		<description><![CDATA[By book review notes for these four sentences (plus one bonus sentence) are now attached at the bottom of this article.]]></description>
		<content:encoded><![CDATA[<p>By book review notes for these four sentences (plus one bonus sentence) are now attached at the bottom of this article.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Charles Hooper</title>
		<link>http://hoopercharles.wordpress.com/2012/04/22/temporary-tablespace-storage-parameters-what-is-wrong-with-this-quote/#comment-4647</link>
		<dc:creator><![CDATA[Charles Hooper]]></dc:creator>
		<pubDate>Mon, 23 Apr 2012 12:49:10 +0000</pubDate>
		<guid isPermaLink="false">http://hoopercharles.wordpress.com/?p=6293#comment-4647</guid>
		<description><![CDATA[With the reviews that the book has been receiving, it most certainly will be flying off the shelf.  I found a couple of other reviews of the book:
http://mohamedazar.com/2012/02/13/book-review-oracle-database-11gr2-performance-tuning-cookbook/
http://emrebaransel.blogspot.com/2012/04/book-review-oracle-database-11gr2.html
http://www.amazon.com/Oracle-Database-Performance-Tuning-Cookbook/dp/1849682607/ref=pd_sxp_f_pt

I buy every book that I review (although in one case the selling site could not ship the book for many months, and then the selling site cancelled my second order for the book), so when first opening the book I expect it to be a book that matches the accuracy and throughness of the better technical books on the market.  If I do not see that level of accuracy and throughness, I mention that fact in detail in the review as a cautionary note to anyone else who may have the fortune of reading the same book.  On a positive note, with the help of my reviews and the reader comments found in the &lt;i&gt;public comment blog articles&lt;/i&gt; that are associated with the reviewed books, some books become much more valuable to the reader.  So, thank you to the readers of this blog for helping technical Oracle books fly off the shelves (and hopefully not into the round filing cabinet).  ;-)]]></description>
		<content:encoded><![CDATA[<p>With the reviews that the book has been receiving, it most certainly will be flying off the shelf.  I found a couple of other reviews of the book:<br />
<a href="http://mohamedazar.com/2012/02/13/book-review-oracle-database-11gr2-performance-tuning-cookbook/" rel="nofollow">http://mohamedazar.com/2012/02/13/book-review-oracle-database-11gr2-performance-tuning-cookbook/</a><br />
<a href="http://emrebaransel.blogspot.com/2012/04/book-review-oracle-database-11gr2.html" rel="nofollow">http://emrebaransel.blogspot.com/2012/04/book-review-oracle-database-11gr2.html</a>
<div style="width: 425px; text-align: center; background: #fff; border: 1px solid #aaa; margin: 3px; padding: 2px;">
<p style="margin: 10px 10px;"><a href="http://www.amazon.com/Oracle-Database-Performance-Tuning-Cookbook/dp/1849682607/ref=pd_sxp_f_pt" target="_blank"><img src="http://ecx.images-amazon.com/images/I/51FqB4XfXzL.jpg" height="500" width="405" alt="Oracle Database 11gR2 Performance Tuning Cookbook" style="padding:0;margin:0;border:none;" /></a></p>
<p style="font-size: 10px;"><a href="http://www.amazon.com/Oracle-Database-Performance-Tuning-Cookbook/dp/1849682607/ref=pd_sxp_f_pt" target="_blank">Oracle Database 11gR2 Performance Tuning Cookbook</a></p>
<p style="font-size: 10px;">
<p style="margin: 10px 167.5px;"><a href="http://www.amazon.com/Oracle-Database-Performance-Tuning-Cookbook/dp/1849682607/ref=pd_sxp_f_pt" target="_blank"><img alt="Buy from Amazon" src="http://ecx.images-amazon.com/images/G/01/buttons/buy-from-tan.gif"" style="padding:0;margin:0;border:none;" /></a></p>
</p></div>
<p>I buy every book that I review (although in one case the selling site could not ship the book for many months, and then the selling site cancelled my second order for the book), so when first opening the book I expect it to be a book that matches the accuracy and throughness of the better technical books on the market.  If I do not see that level of accuracy and throughness, I mention that fact in detail in the review as a cautionary note to anyone else who may have the fortune of reading the same book.  On a positive note, with the help of my reviews and the reader comments found in the <i>public comment blog articles</i> that are associated with the reviewed books, some books become much more valuable to the reader.  So, thank you to the readers of this blog for helping technical Oracle books fly off the shelves (and hopefully not into the round filing cabinet).  <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dom Brooks</title>
		<link>http://hoopercharles.wordpress.com/2012/04/22/temporary-tablespace-storage-parameters-what-is-wrong-with-this-quote/#comment-4645</link>
		<dc:creator><![CDATA[Dom Brooks]]></dc:creator>
		<pubDate>Mon, 23 Apr 2012 08:12:45 +0000</pubDate>
		<guid isPermaLink="false">http://hoopercharles.wordpress.com/?p=6293#comment-4645</guid>
		<description><![CDATA[It&#039;s a view that I quite often have to look at and, because I&#039;m still flitting between 9i and 11gR2 instances, the knowledge has not been flushed from my own very limited cache.]]></description>
		<content:encoded><![CDATA[<p>It&#8217;s a view that I quite often have to look at and, because I&#8217;m still flitting between 9i and 11gR2 instances, the knowledge has not been flushed from my own very limited cache.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Charles Hooper</title>
		<link>http://hoopercharles.wordpress.com/2012/04/22/temporary-tablespace-storage-parameters-what-is-wrong-with-this-quote/#comment-4643</link>
		<dc:creator><![CDATA[Charles Hooper]]></dc:creator>
		<pubDate>Mon, 23 Apr 2012 00:51:24 +0000</pubDate>
		<guid isPermaLink="false">http://hoopercharles.wordpress.com/?p=6293#comment-4643</guid>
		<description><![CDATA[Looking back at my comment above, it might not be clear that I am not disagreeing with Dom.   I was a little surprised that the suggestion of using V$TEMPSEG_USAGE rather than V$SORT_USAGE was offered so quickly (that is one of the items that I missed when reviewing the Firefighting book, but did catch in this book&#039;s review).]]></description>
		<content:encoded><![CDATA[<p>Looking back at my comment above, it might not be clear that I am not disagreeing with Dom.   I was a little surprised that the suggestion of using V$TEMPSEG_USAGE rather than V$SORT_USAGE was offered so quickly (that is one of the items that I missed when reviewing the Firefighting book, but did catch in this book&#8217;s review).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Charles Hooper</title>
		<link>http://hoopercharles.wordpress.com/2012/04/22/temporary-tablespace-storage-parameters-what-is-wrong-with-this-quote/#comment-4641</link>
		<dc:creator><![CDATA[Charles Hooper]]></dc:creator>
		<pubDate>Sun, 22 Apr 2012 20:57:34 +0000</pubDate>
		<guid isPermaLink="false">http://hoopercharles.wordpress.com/?p=6293#comment-4641</guid>
		<description><![CDATA[Dom,

&lt;blockquote&gt;
I don’t have the book but do they mentioned multiple tablespace groups?
&lt;/blockquote&gt;
No mention that I have seen in the book.  (That feature is mentioned in the documentation that is referenced above.)

Regarding the use of V$SORT_USAGE, the Oracle documentation indicates that performance view is deprecated as of Oracle Database 9.2.  Oddly, even though the documentation indicates that the V$SORT_USAGE view is deprecated, in 11.2.0.2 the V$TEMPSEG_USAGE synonym as well as the V$SORT_USAGE synonym points to the V_$SORT_USAGE view (which of course selects from the V$SORT_USAGE view which selects from the GV$SORT_USAGE view which selects from X$KTSSO).

&lt;i&gt;I think that there are more interesting items in the book&#039;s quote.  I will wait for at least 24 hours before sharing my review comments.&lt;/i&gt;]]></description>
		<content:encoded><![CDATA[<p>Dom,</p>
<blockquote><p>
I don’t have the book but do they mentioned multiple tablespace groups?
</p></blockquote>
<p>No mention that I have seen in the book.  (That feature is mentioned in the documentation that is referenced above.)</p>
<p>Regarding the use of V$SORT_USAGE, the Oracle documentation indicates that performance view is deprecated as of Oracle Database 9.2.  Oddly, even though the documentation indicates that the V$SORT_USAGE view is deprecated, in 11.2.0.2 the V$TEMPSEG_USAGE synonym as well as the V$SORT_USAGE synonym points to the V_$SORT_USAGE view (which of course selects from the V$SORT_USAGE view which selects from the GV$SORT_USAGE view which selects from X$KTSSO).</p>
<p><i>I think that there are more interesting items in the book&#8217;s quote.  I will wait for at least 24 hours before sharing my review comments.</i></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mladen Gogala</title>
		<link>http://hoopercharles.wordpress.com/2012/04/22/temporary-tablespace-storage-parameters-what-is-wrong-with-this-quote/#comment-4640</link>
		<dc:creator><![CDATA[Mladen Gogala]]></dc:creator>
		<pubDate>Sun, 22 Apr 2012 20:42:41 +0000</pubDate>
		<guid isPermaLink="false">http://hoopercharles.wordpress.com/?p=6293#comment-4640</guid>
		<description><![CDATA[Dominic, you really should hurry up and get this book quickly. I believe that the series of reviews done on this blog by Charles will undoubtedly turn the reviewed book into a wildly successful Oracle tuning book that will evaporate from the shelves of the book stores very, very quickly.  Charles is really going out of his way to advertise that book.]]></description>
		<content:encoded><![CDATA[<p>Dominic, you really should hurry up and get this book quickly. I believe that the series of reviews done on this blog by Charles will undoubtedly turn the reviewed book into a wildly successful Oracle tuning book that will evaporate from the shelves of the book stores very, very quickly.  Charles is really going out of his way to advertise that book.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dom Brooks</title>
		<link>http://hoopercharles.wordpress.com/2012/04/22/temporary-tablespace-storage-parameters-what-is-wrong-with-this-quote/#comment-4638</link>
		<dc:creator><![CDATA[Dom Brooks]]></dc:creator>
		<pubDate>Sun, 22 Apr 2012 20:28:51 +0000</pubDate>
		<guid isPermaLink="false">http://hoopercharles.wordpress.com/?p=6293#comment-4638</guid>
		<description><![CDATA[Not a comprehensive reply but my first thoughts are that in 11gR2 we should be looking at V$TEMPSEG_USAGE not V$SORT_USAGE, the name of which better reflects the nature of the data.

Secondly, we can obtain much better performance by avoiding using temp space altogether - one importance of accurate execution plan statistics - or if we have to use temp by trying to avoid multi-pass operations, a topic which might need to branch into workarea policy/sizing. 

I don&#039;t have the book but do they mentioned multiple tablespace groups?]]></description>
		<content:encoded><![CDATA[<p>Not a comprehensive reply but my first thoughts are that in 11gR2 we should be looking at V$TEMPSEG_USAGE not V$SORT_USAGE, the name of which better reflects the nature of the data.</p>
<p>Secondly, we can obtain much better performance by avoiding using temp space altogether &#8211; one importance of accurate execution plan statistics &#8211; or if we have to use temp by trying to avoid multi-pass operations, a topic which might need to branch into workarea policy/sizing. </p>
<p>I don&#8217;t have the book but do they mentioned multiple tablespace groups?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
