<?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: Analysing Statspack (6)</title>
	<atom:link href="http://jonathanlewis.wordpress.com/2007/07/14/analysing-statspack-6/feed/" rel="self" type="application/rss+xml" />
	<link>http://jonathanlewis.wordpress.com/2007/07/14/analysing-statspack-6/</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: Abhay</title>
		<link>http://jonathanlewis.wordpress.com/2007/07/14/analysing-statspack-6/#comment-54105</link>
		<dc:creator><![CDATA[Abhay]]></dc:creator>
		<pubDate>Wed, 13 Mar 2013 20:13:07 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/2007/07/14/analysing-statspack-6/#comment-54105</guid>
		<description><![CDATA[Hi Jonathan, 

Thanks for your reply. Indeed the transactions parameter is high due to derived value from session which is set to 5000, &amp; cpu is 64. On the public and private strands, public strands equals 16MB (which i set for log_buffer) spread across 4 threads and there are quite a few (about 500+) private strands with nearly 130KB. COMMIT doesn&#039;t need to wait for private strands to be flushed? atleast the ones in use?

I will also actively update on OTN, we can discuss there if you prefer.

Rgds
Abhay]]></description>
		<content:encoded><![CDATA[<p>Hi Jonathan, </p>
<p>Thanks for your reply. Indeed the transactions parameter is high due to derived value from session which is set to 5000, &amp; cpu is 64. On the public and private strands, public strands equals 16MB (which i set for log_buffer) spread across 4 threads and there are quite a few (about 500+) private strands with nearly 130KB. COMMIT doesn&#8217;t need to wait for private strands to be flushed? atleast the ones in use?</p>
<p>I will also actively update on OTN, we can discuss there if you prefer.</p>
<p>Rgds<br />
Abhay</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Lewis</title>
		<link>http://jonathanlewis.wordpress.com/2007/07/14/analysing-statspack-6/#comment-54075</link>
		<dc:creator><![CDATA[Jonathan Lewis]]></dc:creator>
		<pubDate>Tue, 12 Mar 2013 12:46:49 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/2007/07/14/analysing-statspack-6/#comment-54075</guid>
		<description><![CDATA[Abhay,

The difference between your setting for the log buffer and the usage you report is a little surprising. Based on the numbers I would guess that you have a machine with quite a lot of CPUs and an instance with a large value for parameter &quot;transactions&quot;.

Rather than guess, though, I would prefer to check the cpu_count and value of the parameter, and I would like to see the number of log buffer strands (public and private) that you have - and there is a query on my blog that SYS can run to report the last one:
http://jonathanlewis.wordpress.com/2012/09/17/private-redo-2/

I see that you&#039;ve also taken this to OTN, and it&#039;s best to continue it there. However, it&#039;s worth pointing out that essentially your comments about big buffers and the mix of long and short transactions resulting in &quot;unreasonable&quot; log file sync waits for the short transactions are correct. When a session issues a commit it has to wait for ALL the public log buffers to be written to disc up to their high water marks, and if you have several buffers which have been filled very rapidly by multiple concurrent batch processes then a session that does one little update and commits may have to wait for several megabytes of redo to be written.

I think Tony Hasler ( http://tonyhasler.wordpress.com/ ) has written a blog note about this; and because LGWR was writing the separate log buffers one after the other (rather than try to write them all asynchronously) his workaround was to disable the multiple log buffer feature.]]></description>
		<content:encoded><![CDATA[<p>Abhay,</p>
<p>The difference between your setting for the log buffer and the usage you report is a little surprising. Based on the numbers I would guess that you have a machine with quite a lot of CPUs and an instance with a large value for parameter &#8220;transactions&#8221;.</p>
<p>Rather than guess, though, I would prefer to check the cpu_count and value of the parameter, and I would like to see the number of log buffer strands (public and private) that you have &#8211; and there is a query on my blog that SYS can run to report the last one:<br />
<a href="http://jonathanlewis.wordpress.com/2012/09/17/private-redo-2/" rel="nofollow">http://jonathanlewis.wordpress.com/2012/09/17/private-redo-2/</a></p>
<p>I see that you&#8217;ve also taken this to OTN, and it&#8217;s best to continue it there. However, it&#8217;s worth pointing out that essentially your comments about big buffers and the mix of long and short transactions resulting in &#8220;unreasonable&#8221; log file sync waits for the short transactions are correct. When a session issues a commit it has to wait for ALL the public log buffers to be written to disc up to their high water marks, and if you have several buffers which have been filled very rapidly by multiple concurrent batch processes then a session that does one little update and commits may have to wait for several megabytes of redo to be written.</p>
<p>I think Tony Hasler ( <a href="http://tonyhasler.wordpress.com/" rel="nofollow">http://tonyhasler.wordpress.com/</a> ) has written a blog note about this; and because LGWR was writing the separate log buffers one after the other (rather than try to write them all asynchronously) his workaround was to disable the multiple log buffer feature.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abhay</title>
		<link>http://jonathanlewis.wordpress.com/2007/07/14/analysing-statspack-6/#comment-54059</link>
		<dc:creator><![CDATA[Abhay]]></dc:creator>
		<pubDate>Mon, 11 Mar 2013 17:16:13 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/2007/07/14/analysing-statspack-6/#comment-54059</guid>
		<description><![CDATA[Hi Jonathan,

I note that log_buffer even if set, is going to be different {more} post 10.2.x - however if it (oracle internal algorithm) sets a very high value we can see side effects of too long &quot;LOG FILE SYNC&quot;? In one of our PRD instance, we have a SGA granule size of 64MB and when we set LOG_BUFFER to 16MB, i see redo buffers of more than 78MB. Since we have a mixed workload (short transactions + batch jobs) - short transactions are seeing some waits on log file sync. Earlier log_buffer was set to 150MB and oracle took nearly 210MB the waits seen on short UI house keeping transactions were waiting quite long and after reducing - we are now in a &quot;thin acceptable limit&quot;. Is there any other way to reduce redo buffers? anything less than 32MB not only may be enough it will bring down my log file sync even further (which is very much needed for UI house keeping transactions). Even if i unset, i think its still going to allocate 64MB? BTW, we are on 11.2.0.3.

Rgds
Abhay]]></description>
		<content:encoded><![CDATA[<p>Hi Jonathan,</p>
<p>I note that log_buffer even if set, is going to be different {more} post 10.2.x &#8211; however if it (oracle internal algorithm) sets a very high value we can see side effects of too long &#8220;LOG FILE SYNC&#8221;? In one of our PRD instance, we have a SGA granule size of 64MB and when we set LOG_BUFFER to 16MB, i see redo buffers of more than 78MB. Since we have a mixed workload (short transactions + batch jobs) &#8211; short transactions are seeing some waits on log file sync. Earlier log_buffer was set to 150MB and oracle took nearly 210MB the waits seen on short UI house keeping transactions were waiting quite long and after reducing &#8211; we are now in a &#8220;thin acceptable limit&#8221;. Is there any other way to reduce redo buffers? anything less than 32MB not only may be enough it will bring down my log file sync even further (which is very much needed for UI house keeping transactions). Even if i unset, i think its still going to allocate 64MB? BTW, we are on 11.2.0.3.</p>
<p>Rgds<br />
Abhay</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: xpchild &#187; Analysing Statspack 6</title>
		<link>http://jonathanlewis.wordpress.com/2007/07/14/analysing-statspack-6/#comment-40968</link>
		<dc:creator><![CDATA[xpchild &#187; Analysing Statspack 6]]></dc:creator>
		<pubDate>Sun, 10 Jul 2011 06:21:31 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/2007/07/14/analysing-statspack-6/#comment-40968</guid>
		<description><![CDATA[[...] 原文：http://jonathanlewis.wordpress.com/2007/07/14/analysing-statspack-6/ [...]]]></description>
		<content:encoded><![CDATA[<p>[...] 原文：http://jonathanlewis.wordpress.com/2007/07/14/analysing-statspack-6/ [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Waiting for a Long Time &#8211; What is Going On? &#171; Charles Hooper&#039;s Oracle Notes</title>
		<link>http://jonathanlewis.wordpress.com/2007/07/14/analysing-statspack-6/#comment-38209</link>
		<dc:creator><![CDATA[Waiting for a Long Time &#8211; What is Going On? &#171; Charles Hooper&#039;s Oracle Notes]]></dc:creator>
		<pubDate>Tue, 07 Dec 2010 15:27:23 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/2007/07/14/analysing-statspack-6/#comment-38209</guid>
		<description><![CDATA[[...] with that of the book author?  For an example of what I am trying to uncover, take a look at this blog article.  The last four &#8220;Top 5&#8243; sections are from the AskTom website &#8211; any opinions on [...]]]></description>
		<content:encoded><![CDATA[<p>[...] with that of the book author?  For an example of what I am trying to uncover, take a look at this blog article.  The last four &#8220;Top 5&#8243; sections are from the AskTom website &#8211; any opinions on [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Book Review: Oracle Tuning: The Definitive Reference Second Edition &#171; Charles Hooper&#039;s Oracle Notes</title>
		<link>http://jonathanlewis.wordpress.com/2007/07/14/analysing-statspack-6/#comment-37676</link>
		<dc:creator><![CDATA[Book Review: Oracle Tuning: The Definitive Reference Second Edition &#171; Charles Hooper&#039;s Oracle Notes]]></dc:creator>
		<pubDate>Wed, 10 Nov 2010 02:41:44 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/2007/07/14/analysing-statspack-6/#comment-37676</guid>
		<description><![CDATA[[...] with 10.2.  Page 158 has been addressed by other contributors on the Oracle OTN forums (reference reference2) [...]]]></description>
		<content:encoded><![CDATA[<p>[...] with 10.2.  Page 158 has been addressed by other contributors on the Oracle OTN forums (reference reference2) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Analysing Statspack(8) &#171; Oracle Scratchpad</title>
		<link>http://jonathanlewis.wordpress.com/2007/07/14/analysing-statspack-6/#comment-24221</link>
		<dc:creator><![CDATA[Analysing Statspack(8) &#171; Oracle Scratchpad]]></dc:creator>
		<pubDate>Sat, 10 Nov 2007 02:38:08 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/2007/07/14/analysing-statspack-6/#comment-24221</guid>
		<description><![CDATA[[...] an earlier article on Statpack I quoted some figures taken from an article by Don Burleson: Here is an an example of an Oracle 10g [...]]]></description>
		<content:encoded><![CDATA[<p>[...] an earlier article on Statpack I quoted some figures taken from an article by Don Burleson: Here is an an example of an Oracle 10g [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alberto Dell'Era</title>
		<link>http://jonathanlewis.wordpress.com/2007/07/14/analysing-statspack-6/#comment-17602</link>
		<dc:creator><![CDATA[Alberto Dell'Era]]></dc:creator>
		<pubDate>Wed, 08 Aug 2007 10:18:54 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/2007/07/14/analysing-statspack-6/#comment-17602</guid>
		<description><![CDATA[Kevin Closson has answered my question above in his blog entry - I was wrong, it is possible to have multiple asynch I/O operations in-flight on the same redo log file, not only on different redo log members belonging to the same redo log group. Thanks Kevin!]]></description>
		<content:encoded><![CDATA[<p>Kevin Closson has answered my question above in his blog entry &#8211; I was wrong, it is possible to have multiple asynch I/O operations in-flight on the same redo log file, not only on different redo log members belonging to the same redo log group. Thanks Kevin!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Lewis</title>
		<link>http://jonathanlewis.wordpress.com/2007/07/14/analysing-statspack-6/#comment-17218</link>
		<dc:creator><![CDATA[Jonathan Lewis]]></dc:creator>
		<pubDate>Sun, 05 Aug 2007 20:42:33 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/2007/07/14/analysing-statspack-6/#comment-17218</guid>
		<description><![CDATA[Kevin Closson has followed up his notes in comment #9 with a most informative blog entry about &lt;a href=&quot;http://kevinclosson.wordpress.com/2007/07/21/manly-men-only-use-solid-state-disk-for-redo-logging-lgwr-io-is-simple-but-not-lgwr-processing/&quot; rel=&quot;nofollow&quot;&gt;LGWR processing&lt;/a&gt;.]]></description>
		<content:encoded><![CDATA[<p>Kevin Closson has followed up his notes in comment #9 with a most informative blog entry about <a href="http://kevinclosson.wordpress.com/2007/07/21/manly-men-only-use-solid-state-disk-for-redo-logging-lgwr-io-is-simple-but-not-lgwr-processing/" rel="nofollow">LGWR processing</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Lewis</title>
		<link>http://jonathanlewis.wordpress.com/2007/07/14/analysing-statspack-6/#comment-17216</link>
		<dc:creator><![CDATA[Jonathan Lewis]]></dc:creator>
		<pubDate>Sun, 05 Aug 2007 20:40:04 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/2007/07/14/analysing-statspack-6/#comment-17216</guid>
		<description><![CDATA[5th August 2007

I have deleted several comments relating to a non-technical posting by Don Burleson that has since been removed from his website. I have also edited several posts to make them consistent with the other deletions.

If you are the author of a post that I have modified and object to the change I have made, please let me know, and I will either delete the entire post (or apply any alteration that you think fit).]]></description>
		<content:encoded><![CDATA[<p>5th August 2007</p>
<p>I have deleted several comments relating to a non-technical posting by Don Burleson that has since been removed from his website. I have also edited several posts to make them consistent with the other deletions.</p>
<p>If you are the author of a post that I have modified and object to the change I have made, please let me know, and I will either delete the entire post (or apply any alteration that you think fit).</p>
]]></content:encoded>
	</item>
</channel>
</rss>
