<?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: ORA-04031 errors and monitoring shared pool subpool memory utilization with sgastatx.sql</title>
	<atom:link href="http://blog.tanelpoder.com/2009/06/04/ora-04031-errors-and-monitoring-shared-pool-subpool-memory-utilization-with-sgastatxsql/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.tanelpoder.com/2009/06/04/ora-04031-errors-and-monitoring-shared-pool-subpool-memory-utilization-with-sgastatxsql/</link>
	<description>Oracle troubleshooting, internals and performance tuning</description>
	<lastBuildDate>Sat, 13 Mar 2010 15:03:23 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: santosh</title>
		<link>http://blog.tanelpoder.com/2009/06/04/ora-04031-errors-and-monitoring-shared-pool-subpool-memory-utilization-with-sgastatxsql/comment-page-1/#comment-2401</link>
		<dc:creator>santosh</dc:creator>
		<pubDate>Tue, 01 Sep 2009 09:05:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tanelpoder.com/2009/06/04/ora-04031-errors-and-monitoring-shared-pool-subpool-memory-utilization-with-sgastatxsql/#comment-2401</guid>
		<description>Hi Paresh,

I was busy with something else, so couldn&#039;t reply ...

The issues was avg -10 4031 per day and all the errors were only in subpool 1 only.We configured 4 subpools in shared pool.

while checking the memory consumption in shared pool , came across this fixed component &quot;db block buffers headers&quot; consuming significant amount of memory almost 20%, in shared pool.This component got initiated because of db_block_buffers setting, so after few tests , observed that if we replace db_block_buffers with db_cache_Size , we can get rid of this component , allowing that memory for user programs.</description>
		<content:encoded><![CDATA[<p>Hi Paresh,</p>
<p>I was busy with something else, so couldn&#8217;t reply &#8230;</p>
<p>The issues was avg -10 4031 per day and all the errors were only in subpool 1 only.We configured 4 subpools in shared pool.</p>
<p>while checking the memory consumption in shared pool , came across this fixed component &#8220;db block buffers headers&#8221; consuming significant amount of memory almost 20%, in shared pool.This component got initiated because of db_block_buffers setting, so after few tests , observed that if we replace db_block_buffers with db_cache_Size , we can get rid of this component , allowing that memory for user programs.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tanel Poder</title>
		<link>http://blog.tanelpoder.com/2009/06/04/ora-04031-errors-and-monitoring-shared-pool-subpool-memory-utilization-with-sgastatxsql/comment-page-1/#comment-2282</link>
		<dc:creator>Tanel Poder</dc:creator>
		<pubDate>Wed, 12 Aug 2009 01:19:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tanelpoder.com/2009/06/04/ora-04031-errors-and-monitoring-shared-pool-subpool-memory-utilization-with-sgastatxsql/#comment-2282</guid>
		<description>When you flush shared pool, only the currently unpinned recreatable chunks of memory are flushed out directly.

Permanent allocations and chunks which happen to be in use (pinned) at the flush time, are not flushed out.

So its ok to see some components still take as much memory as they were taking...</description>
		<content:encoded><![CDATA[<p>When you flush shared pool, only the currently unpinned recreatable chunks of memory are flushed out directly.</p>
<p>Permanent allocations and chunks which happen to be in use (pinned) at the flush time, are not flushed out.</p>
<p>So its ok to see some components still take as much memory as they were taking&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paresh</title>
		<link>http://blog.tanelpoder.com/2009/06/04/ora-04031-errors-and-monitoring-shared-pool-subpool-memory-utilization-with-sgastatxsql/comment-page-1/#comment-2280</link>
		<dc:creator>Paresh</dc:creator>
		<pubDate>Tue, 11 Aug 2009 18:38:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tanelpoder.com/2009/06/04/ora-04031-errors-and-monitoring-shared-pool-subpool-memory-utilization-with-sgastatxsql/#comment-2280</guid>
		<description>Thanks Tanel.

I just came across another question while doing some research related to flushing shared pool. I did flush the shared pool and after a while I executed below query,

select inst_id,&#039;shared pool&#039;,ksmssnam, sum(ksmsslen) from x$ksmss
 where ksmsslen&gt;1 
group by inst_id, &#039;shared pool&#039;, ksmssnam;

I thought flushing out the shared pool will reset all the statistics but it didn&#039;t so is it normal behavior or should it flush out?

Thanks!</description>
		<content:encoded><![CDATA[<p>Thanks Tanel.</p>
<p>I just came across another question while doing some research related to flushing shared pool. I did flush the shared pool and after a while I executed below query,</p>
<p>select inst_id,&#8217;shared pool&#8217;,ksmssnam, sum(ksmsslen) from x$ksmss<br />
 where ksmsslen&gt;1<br />
group by inst_id, &#8217;shared pool&#8217;, ksmssnam;</p>
<p>I thought flushing out the shared pool will reset all the statistics but it didn&#8217;t so is it normal behavior or should it flush out?</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tanel Poder</title>
		<link>http://blog.tanelpoder.com/2009/06/04/ora-04031-errors-and-monitoring-shared-pool-subpool-memory-utilization-with-sgastatxsql/comment-page-1/#comment-2274</link>
		<dc:creator>Tanel Poder</dc:creator>
		<pubDate>Tue, 11 Aug 2009 01:22:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tanelpoder.com/2009/06/04/ora-04031-errors-and-monitoring-shared-pool-subpool-memory-utilization-with-sgastatxsql/#comment-2274</guid>
		<description>Paresh, no problems!

Both v$sgastat (or my sgastatx script which uses x$ksmss) and also shared pool heapdumps/x$ksmsp should show &quot;db_block_buffers&quot; - a component *held in shared pool* if old fashioned memory management is used (9i only I think).

But I&#039;d be interested in hearing your approach, Santosh.</description>
		<content:encoded><![CDATA[<p>Paresh, no problems!</p>
<p>Both v$sgastat (or my sgastatx script which uses x$ksmss) and also shared pool heapdumps/x$ksmsp should show &#8220;db_block_buffers&#8221; &#8211; a component *held in shared pool* if old fashioned memory management is used (9i only I think).</p>
<p>But I&#8217;d be interested in hearing your approach, Santosh.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paresh</title>
		<link>http://blog.tanelpoder.com/2009/06/04/ora-04031-errors-and-monitoring-shared-pool-subpool-memory-utilization-with-sgastatxsql/comment-page-1/#comment-2273</link>
		<dc:creator>Paresh</dc:creator>
		<pubDate>Mon, 10 Aug 2009 18:47:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tanelpoder.com/2009/06/04/ora-04031-errors-and-monitoring-shared-pool-subpool-memory-utilization-with-sgastatxsql/#comment-2273</guid>
		<description>Santosh, 
If you don&#039;t mind, could you please share your research to investigate the issue and how you concluded that this issue is related to db block buffers headers&#039; space consumption in shared pool?  

Tanel, 
Sorry for putting a question for someone else on your Blog.</description>
		<content:encoded><![CDATA[<p>Santosh,<br />
If you don&#8217;t mind, could you please share your research to investigate the issue and how you concluded that this issue is related to db block buffers headers&#8217; space consumption in shared pool?  </p>
<p>Tanel,<br />
Sorry for putting a question for someone else on your Blog.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Santosh</title>
		<link>http://blog.tanelpoder.com/2009/06/04/ora-04031-errors-and-monitoring-shared-pool-subpool-memory-utilization-with-sgastatxsql/comment-page-1/#comment-2262</link>
		<dc:creator>Santosh</dc:creator>
		<pubDate>Thu, 06 Aug 2009 08:44:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tanelpoder.com/2009/06/04/ora-04031-errors-and-monitoring-shared-pool-subpool-memory-utilization-with-sgastatxsql/#comment-2262</guid>
		<description>Hi Tanel,

If you remember I was trying to resolve the shared pool fragmentation problem by reducing the number of subpools from 4 to 2.But then I found a few weired thing in shared pool i.e. db block buffers headers consuming lot of space so I replaced it with db_cache_size and this component got removed from the shared pool and I also reduced the shared pool min size alloc to solve this issue.

thanks,
Santosh</description>
		<content:encoded><![CDATA[<p>Hi Tanel,</p>
<p>If you remember I was trying to resolve the shared pool fragmentation problem by reducing the number of subpools from 4 to 2.But then I found a few weired thing in shared pool i.e. db block buffers headers consuming lot of space so I replaced it with db_cache_size and this component got removed from the shared pool and I also reduced the shared pool min size alloc to solve this issue.</p>
<p>thanks,<br />
Santosh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Md. Zafar Ahsan</title>
		<link>http://blog.tanelpoder.com/2009/06/04/ora-04031-errors-and-monitoring-shared-pool-subpool-memory-utilization-with-sgastatxsql/comment-page-1/#comment-2245</link>
		<dc:creator>Md. Zafar Ahsan</dc:creator>
		<pubDate>Fri, 31 Jul 2009 14:49:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tanelpoder.com/2009/06/04/ora-04031-errors-and-monitoring-shared-pool-subpool-memory-utilization-with-sgastatxsql/#comment-2245</guid>
		<description>Yeah.. 
I can just say great article.. I have become a very  fan of yr analysis and research and feel blessed to search out this site.Keep it up..

With Regards.
Zafar</description>
		<content:encoded><![CDATA[<p>Yeah..<br />
I can just say great article.. I have become a very  fan of yr analysis and research and feel blessed to search out this site.Keep it up..</p>
<p>With Regards.<br />
Zafar</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: amalendu</title>
		<link>http://blog.tanelpoder.com/2009/06/04/ora-04031-errors-and-monitoring-shared-pool-subpool-memory-utilization-with-sgastatxsql/comment-page-1/#comment-2156</link>
		<dc:creator>amalendu</dc:creator>
		<pubDate>Tue, 21 Jul 2009 23:06:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tanelpoder.com/2009/06/04/ora-04031-errors-and-monitoring-shared-pool-subpool-memory-utilization-with-sgastatxsql/#comment-2156</guid>
		<description>Hi Tanel,

Excellent note.

Thanks a lot , again for sharing this wonderful research to the Oracle community of the world.

You are doing a great service to all of us.

Personally, also as a part of Oracle users of the world, I am feeling indebted to you .

Best regards,

amalendu.</description>
		<content:encoded><![CDATA[<p>Hi Tanel,</p>
<p>Excellent note.</p>
<p>Thanks a lot , again for sharing this wonderful research to the Oracle community of the world.</p>
<p>You are doing a great service to all of us.</p>
<p>Personally, also as a part of Oracle users of the world, I am feeling indebted to you .</p>
<p>Best regards,</p>
<p>amalendu.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oracle memory troubleshooting, Part 3: Automatic top subheap dumping with heapdump &#124; Tanel Poder's blog: Core IT for Geeks and Pros</title>
		<link>http://blog.tanelpoder.com/2009/06/04/ora-04031-errors-and-monitoring-shared-pool-subpool-memory-utilization-with-sgastatxsql/comment-page-1/#comment-1854</link>
		<dc:creator>Oracle memory troubleshooting, Part 3: Automatic top subheap dumping with heapdump &#124; Tanel Poder's blog: Core IT for Geeks and Pros</dc:creator>
		<pubDate>Wed, 24 Jun 2009 12:33:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tanelpoder.com/2009/06/04/ora-04031-errors-and-monitoring-shared-pool-subpool-memory-utilization-with-sgastatxsql/#comment-1854</guid>
		<description>[...] If you haven&#8217;t read them &#8211; here are the previous articles in Oracle memory troubleshooting series: Part 1, Part 2 [...]</description>
		<content:encoded><![CDATA[<p>[...] If you haven&#8217;t read them &#8211; here are the previous articles in Oracle memory troubleshooting series: Part 1, Part 2 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: oracle: Mas del 4031 sub-pools &#124; Digilux</title>
		<link>http://blog.tanelpoder.com/2009/06/04/ora-04031-errors-and-monitoring-shared-pool-subpool-memory-utilization-with-sgastatxsql/comment-page-1/#comment-1825</link>
		<dc:creator>oracle: Mas del 4031 sub-pools &#124; Digilux</dc:creator>
		<pubDate>Fri, 19 Jun 2009 10:42:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tanelpoder.com/2009/06/04/ora-04031-errors-and-monitoring-shared-pool-subpool-memory-utilization-with-sgastatxsql/#comment-1825</guid>
		<description>[...] ORA-04031 errors and monitoring shared pool subpool memory utilization with sgastatx.sql [...]</description>
		<content:encoded><![CDATA[<p>[...] ORA-04031 errors and monitoring shared pool subpool memory utilization with sgastatx.sql [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
