<?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: Resizing the SGA</title>
	<atom:link href="http://jonathanlewis.wordpress.com/2006/12/04/resizing-the-sga/feed/" rel="self" type="application/rss+xml" />
	<link>http://jonathanlewis.wordpress.com/2006/12/04/resizing-the-sga/</link>
	<description>Just another Oracle weblog</description>
	<lastBuildDate>Sat, 18 May 2013 11:04:10 +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/2006/12/04/resizing-the-sga/#comment-46597</link>
		<dc:creator><![CDATA[Jonathan Lewis]]></dc:creator>
		<pubDate>Thu, 24 May 2012 10:31:58 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/2006/12/04/resizing-the-sga/#comment-46597</guid>
		<description><![CDATA[Gilles,

I don&#039;t like the expression &quot;best practice&quot; - a better term would probably be &quot;commonly used defense mechanism&quot;. 

It&#039;s been 6 years since I wrote the note, so things have moved on and the threat is diminished - but I would still be inclined to include some minimum figures for the shared_pool_size and db_cache_size if using the sga_target.

11gR2 has introduced the memory_target, of course - and my reluctance to use that matches my previous reluctance to use the sga_target.]]></description>
		<content:encoded><![CDATA[<p>Gilles,</p>
<p>I don&#8217;t like the expression &#8220;best practice&#8221; &#8211; a better term would probably be &#8220;commonly used defense mechanism&#8221;. </p>
<p>It&#8217;s been 6 years since I wrote the note, so things have moved on and the threat is diminished &#8211; but I would still be inclined to include some minimum figures for the shared_pool_size and db_cache_size if using the sga_target.</p>
<p>11gR2 has introduced the memory_target, of course &#8211; and my reluctance to use that matches my previous reluctance to use the sga_target.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gilles</title>
		<link>http://jonathanlewis.wordpress.com/2006/12/04/resizing-the-sga/#comment-46379</link>
		<dc:creator><![CDATA[gilles]]></dc:creator>
		<pubDate>Thu, 10 May 2012 13:09:22 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/2006/12/04/resizing-the-sga/#comment-46379</guid>
		<description><![CDATA[Is it still the same in 11gR2 ?
Do you suggest as a &quot;best practice&quot; to set minimum values for the different pools ?]]></description>
		<content:encoded><![CDATA[<p>Is it still the same in 11gR2 ?<br />
Do you suggest as a &#8220;best practice&#8221; to set minimum values for the different pools ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave McKinney</title>
		<link>http://jonathanlewis.wordpress.com/2006/12/04/resizing-the-sga/#comment-20299</link>
		<dc:creator><![CDATA[Dave McKinney]]></dc:creator>
		<pubDate>Thu, 06 Sep 2007 17:44:17 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/2006/12/04/resizing-the-sga/#comment-20299</guid>
		<description><![CDATA[We suspect issues in our heavy OLTP application with AMM in regards to dynamic shared pool shrinks particularly. When AMM was turned on we had nearly constant adjustments and under heavy load we were getting lots of shared pool contention in the form of &quot;Cursor: Pin S wait on X&quot; waits. These waits would eventually render our DB unoperable due to excessive CPU utilization. We found flushing shared pool alleviated the issue temporarily. Worked a tickey with Oracle for a few months and started monitoring sql area, shared_pool free and dynamic shrinks. Turns out that our debilitating events were corresponding to successive shared pool shrinks. We&#039;ve fixed the shared_pool and db_cache_size by setting sga_target = 0 and our issues seem to have disappeared.]]></description>
		<content:encoded><![CDATA[<p>We suspect issues in our heavy OLTP application with AMM in regards to dynamic shared pool shrinks particularly. When AMM was turned on we had nearly constant adjustments and under heavy load we were getting lots of shared pool contention in the form of &#8220;Cursor: Pin S wait on X&#8221; waits. These waits would eventually render our DB unoperable due to excessive CPU utilization. We found flushing shared pool alleviated the issue temporarily. Worked a tickey with Oracle for a few months and started monitoring sql area, shared_pool free and dynamic shrinks. Turns out that our debilitating events were corresponding to successive shared pool shrinks. We&#8217;ve fixed the shared_pool and db_cache_size by setting sga_target = 0 and our issues seem to have disappeared.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Remigiusz Sokolowski</title>
		<link>http://jonathanlewis.wordpress.com/2006/12/04/resizing-the-sga/#comment-14812</link>
		<dc:creator><![CDATA[Remigiusz Sokolowski]]></dc:creator>
		<pubDate>Tue, 10 Jul 2007 09:02:43 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/2006/12/04/resizing-the-sga/#comment-14812</guid>
		<description><![CDATA[I have to confirm that in highly turbulent db environments (highly concurrent, many transactions, many sessions, so quite typical OLTP) ASMM is unstable. 
We set it after moving to 10gR2, but had to return back to &quot;static&quot; memory settings. There were quite critical problems (few times some of databases crash - traces rather laconic, sometimes one or more ORA-04031 errors, actually there was nothing to send to Oracle Support) - after change of parameters we enjoy stable work (no mysterious crashes no more)]]></description>
		<content:encoded><![CDATA[<p>I have to confirm that in highly turbulent db environments (highly concurrent, many transactions, many sessions, so quite typical OLTP) ASMM is unstable.<br />
We set it after moving to 10gR2, but had to return back to &#8220;static&#8221; memory settings. There were quite critical problems (few times some of databases crash &#8211; traces rather laconic, sometimes one or more ORA-04031 errors, actually there was nothing to send to Oracle Support) &#8211; after change of parameters we enjoy stable work (no mysterious crashes no more)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guy Lambregts</title>
		<link>http://jonathanlewis.wordpress.com/2006/12/04/resizing-the-sga/#comment-10447</link>
		<dc:creator><![CDATA[Guy Lambregts]]></dc:creator>
		<pubDate>Thu, 31 May 2007 18:50:53 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/2006/12/04/resizing-the-sga/#comment-10447</guid>
		<description><![CDATA[Metalink Note:396940.1 mentions Bug 5045507 related to &quot;KGH : NO ACCESS&quot; increase in v$sgastat.
The only possible workaround is to disable ASMM, what I will do.
Personally I think there could be an interference between the likelyhood of occurence and a non zero value for  session_cached_cursors combined with a huge amount of sessions. ASMM has never been my favourite 10G feature, this experience moves ASMM to my least appreciated features of 10G  
Regards
Guy]]></description>
		<content:encoded><![CDATA[<p>Metalink Note:396940.1 mentions Bug 5045507 related to &#8220;KGH : NO ACCESS&#8221; increase in v$sgastat.<br />
The only possible workaround is to disable ASMM, what I will do.<br />
Personally I think there could be an interference between the likelyhood of occurence and a non zero value for  session_cached_cursors combined with a huge amount of sessions. ASMM has never been my favourite 10G feature, this experience moves ASMM to my least appreciated features of 10G<br />
Regards<br />
Guy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guy Lambregts</title>
		<link>http://jonathanlewis.wordpress.com/2006/12/04/resizing-the-sga/#comment-10398</link>
		<dc:creator><![CDATA[Guy Lambregts]]></dc:creator>
		<pubDate>Thu, 31 May 2007 14:02:39 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/2006/12/04/resizing-the-sga/#comment-10398</guid>
		<description><![CDATA[We are running 10.2.0.3 HP Itanium and will have to support a few thousands sessions in production. Since 2 years we are using automatic memory management. I did not have SGA issues with a limited amount of sessions and a limted SGA of let&#039; s say in the 500Mb - 800Mb range. We scaled up our development SGA to support thousands of connections by configuring shared server. Since we are running  shared server mode I configured a SGA of 2Gb with threshold values for both shared pool, large pool and buffer cache. Today I faced an ORA 4031 at the shared pool level at that moment my shared pool was about 900Mb however trace files shows me the &quot;KGH: NO ACCESS&quot; component of the shared pool was about 600 Mb. If the above assumption &quot;this is a case of shared pool granules partially freed for use by the db cache and waiting for the rest of the granule content to be unpinned so that the entire granule can become a cache granule&quot; is true - what I would like to believe - I conclude there was a lack of free contiguous memory in my shared pool because of part of it was not -yet- available for it. More and more I &#039;ve been thinking of turning the automatic SGA (re)sizing off and to move back to the old fashionned manual sizing of the various components. I wonder where I can get some info of the various shared and library cache components to get some in dept knowledge of it.
Regards
Guy]]></description>
		<content:encoded><![CDATA[<p>We are running 10.2.0.3 HP Itanium and will have to support a few thousands sessions in production. Since 2 years we are using automatic memory management. I did not have SGA issues with a limited amount of sessions and a limted SGA of let&#8217; s say in the 500Mb &#8211; 800Mb range. We scaled up our development SGA to support thousands of connections by configuring shared server. Since we are running  shared server mode I configured a SGA of 2Gb with threshold values for both shared pool, large pool and buffer cache. Today I faced an ORA 4031 at the shared pool level at that moment my shared pool was about 900Mb however trace files shows me the &#8220;KGH: NO ACCESS&#8221; component of the shared pool was about 600 Mb. If the above assumption &#8220;this is a case of shared pool granules partially freed for use by the db cache and waiting for the rest of the granule content to be unpinned so that the entire granule can become a cache granule&#8221; is true &#8211; what I would like to believe &#8211; I conclude there was a lack of free contiguous memory in my shared pool because of part of it was not -yet- available for it. More and more I &#8216;ve been thinking of turning the automatic SGA (re)sizing off and to move back to the old fashionned manual sizing of the various components. I wonder where I can get some info of the various shared and library cache components to get some in dept knowledge of it.<br />
Regards<br />
Guy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy Catchpole</title>
		<link>http://jonathanlewis.wordpress.com/2006/12/04/resizing-the-sga/#comment-8599</link>
		<dc:creator><![CDATA[Andy Catchpole]]></dc:creator>
		<pubDate>Wed, 16 May 2007 13:06:13 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/2006/12/04/resizing-the-sga/#comment-8599</guid>
		<description><![CDATA[Just found this post and thought I&#039;d let you know that we are getting intermittent ORA-04031 errors using ASMM on 10.1.0.3 on Solaris. This always coincides with memory being moved from the buffer cache to the large pool (we&#039;re using shared server too). I&#039;m intending to turn off ASMM to resolve this.]]></description>
		<content:encoded><![CDATA[<p>Just found this post and thought I&#8217;d let you know that we are getting intermittent ORA-04031 errors using ASMM on 10.1.0.3 on Solaris. This always coincides with memory being moved from the buffer cache to the large pool (we&#8217;re using shared server too). I&#8217;m intending to turn off ASMM to resolve this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SGA Resizing &#171; Oracle Scratchpad</title>
		<link>http://jonathanlewis.wordpress.com/2006/12/04/resizing-the-sga/#comment-5850</link>
		<dc:creator><![CDATA[SGA Resizing &#171; Oracle Scratchpad]]></dc:creator>
		<pubDate>Mon, 16 Apr 2007 20:30:49 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/2006/12/04/resizing-the-sga/#comment-5850</guid>
		<description><![CDATA[[...] Infrastructure &#8212; Jonathan Lewis @ 8:29 pm UTC Apr 16,2007   Some time ago, I wrote about resizing the SGA and the problems of automatic SGA management. In the follow-up, one of of the suggestions was to [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Infrastructure &#8212; Jonathan Lewis @ 8:29 pm UTC Apr 16,2007   Some time ago, I wrote about resizing the SGA and the problems of automatic SGA management. In the follow-up, one of of the suggestions was to [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Lewis</title>
		<link>http://jonathanlewis.wordpress.com/2006/12/04/resizing-the-sga/#comment-3890</link>
		<dc:creator><![CDATA[Jonathan Lewis]]></dc:creator>
		<pubDate>Fri, 09 Mar 2007 13:28:08 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/2006/12/04/resizing-the-sga/#comment-3890</guid>
		<description><![CDATA[Albert-Frank, I would raise an SR with Oracle about this and give them a few days to diagnose the problem - especially since you seem to have avoided the critical issue. But if you get any clue that this constant fluctuation is causing a performance problem, I would turn the feature off to see if it made any noticeable difference.]]></description>
		<content:encoded><![CDATA[<p>Albert-Frank, I would raise an SR with Oracle about this and give them a few days to diagnose the problem &#8211; especially since you seem to have avoided the critical issue. But if you get any clue that this constant fluctuation is causing a performance problem, I would turn the feature off to see if it made any noticeable difference.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Albert-Frank Drenth</title>
		<link>http://jonathanlewis.wordpress.com/2006/12/04/resizing-the-sga/#comment-3884</link>
		<dc:creator><![CDATA[Albert-Frank Drenth]]></dc:creator>
		<pubDate>Fri, 09 Mar 2007 12:26:04 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/2006/12/04/resizing-the-sga/#comment-3884</guid>
		<description><![CDATA[We have ha d problems with ASMM. We had over 900 grows and shrinks per day, leaving effectively the pools the same. But there were many ora-4031. We have set the shared_pool manually. Increase of 20% The ora-4031 seem to have disappeared.
The grows and shrinks are persistent (600) per day. I can&#039;t see the benefit of constantly exchanging 16M of memory. In other databases I see similar behouviour. Should you advice to turn ASMM off?]]></description>
		<content:encoded><![CDATA[<p>We have ha d problems with ASMM. We had over 900 grows and shrinks per day, leaving effectively the pools the same. But there were many ora-4031. We have set the shared_pool manually. Increase of 20% The ora-4031 seem to have disappeared.<br />
The grows and shrinks are persistent (600) per day. I can&#8217;t see the benefit of constantly exchanging 16M of memory. In other databases I see similar behouviour. Should you advice to turn ASMM off?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
