<?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: Oracle 11g internals part 1: Automatic Memory Management</title>
	<atom:link href="http://blog.tanelpoder.com/2007/08/21/oracle-11g-internals-part-1-automatic-memory-management/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.tanelpoder.com/2007/08/21/oracle-11g-internals-part-1-automatic-memory-management/</link>
	<description>Oracle troubleshooting, internals and performance tuning</description>
	<lastBuildDate>Mon, 15 Mar 2010 01:50:11 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Tanel Poder</title>
		<link>http://blog.tanelpoder.com/2007/08/21/oracle-11g-internals-part-1-automatic-memory-management/comment-page-1/#comment-3882</link>
		<dc:creator>Tanel Poder</dc:creator>
		<pubDate>Thu, 18 Feb 2010 16:17:37 +0000</pubDate>
		<guid isPermaLink="false">http://tanelpoder.wordpress.com/2007/08/21/oracle-11g-internals-part-1-automatic-memory-management/#comment-3882</guid>
		<description>&lt;a href=&quot;#comment-3881&quot; rel=&quot;nofollow&quot;&gt;@Sherrie Kubis&lt;/a&gt; 
Hi Sherrie,

Replying here what I also said in ORACLE-L list:

The memory which is reserved for PGA_AGGREGATE_TARGET will not show up in /dev/shm as it&#039;s not shared (PGAs are still allocated using process-private memory).

You can query V$MEMORY_DYNAMIC_COMPONENTS to see how Oracle is currently using the memory:

SQL&gt; select component, current_size from v$memory_dynamic_components where component like &#039;%Target%&#039;;

COMPONENT                      CURRENT_SIZE
------------------------------ ------------
SGA Target                        545259520
PGA Target                        293601280


Note that hugepages are not used with AMM on Linux so you may be not getting all the performance out of your hardware...</description>
		<content:encoded><![CDATA[<p><a href="#comment-3881" rel="nofollow">@Sherrie Kubis</a><br />
Hi Sherrie,</p>
<p>Replying here what I also said in ORACLE-L list:</p>
<p>The memory which is reserved for PGA_AGGREGATE_TARGET will not show up in /dev/shm as it&#8217;s not shared (PGAs are still allocated using process-private memory).</p>
<p>You can query V$MEMORY_DYNAMIC_COMPONENTS to see how Oracle is currently using the memory:</p>
<p>SQL> select component, current_size from v$memory_dynamic_components where component like &#8216;%Target%&#8217;;</p>
<p>COMPONENT                      CURRENT_SIZE<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212;<br />
SGA Target                        545259520<br />
PGA Target                        293601280</p>
<p>Note that hugepages are not used with AMM on Linux so you may be not getting all the performance out of your hardware&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sherrie Kubis</title>
		<link>http://blog.tanelpoder.com/2007/08/21/oracle-11g-internals-part-1-automatic-memory-management/comment-page-1/#comment-3881</link>
		<dc:creator>Sherrie Kubis</dc:creator>
		<pubDate>Thu, 18 Feb 2010 13:49:27 +0000</pubDate>
		<guid isPermaLink="false">http://tanelpoder.wordpress.com/2007/08/21/oracle-11g-internals-part-1-automatic-memory-management/#comment-3881</guid>
		<description>Tanel, thanks for publishing this, you are shedding light on how our Linux RAC Clusters are working.  Question:  We have a 3-node (each 32gb ram) Linux RAC cluster running Oracle 11.1.0.7, housing 4 instances with a total memory_target of 8.75 gb.  OEM shows 29% ram is used. We are using AMM. The free -mt command shows
             total       used       free     shared    buffers     cached
Mem:         32189      31519        669          0       1250      25168
-/+ buffers/cache:       5101      27088
Swap:        32767         39      32728
Total:       64957      31559      33397

It looks like tmpfs is 16gb:
 df -k /dev/shm
Filesystem           1K-blocks      Used Available Use% Mounted on
tmpfs                 16481056   5604532  10876524  35% /dev/shm

It looks like we are seeing 5.6gb of memory used, so I&#039;m confused about why our sgas are defined to consume 8.75gb, but we only see 5.6gb used.   read that the sga by default takes 60% of memory_target and pga gets the rest. Because there are not many connections, is this why we see a lower value?

Does the tmpfs at 16gb mean we can only use 16gb of ram for our databases?

We are just getting up and running, so there are not yet many connections.  I
Any insights would be appreciated.</description>
		<content:encoded><![CDATA[<p>Tanel, thanks for publishing this, you are shedding light on how our Linux RAC Clusters are working.  Question:  We have a 3-node (each 32gb ram) Linux RAC cluster running Oracle 11.1.0.7, housing 4 instances with a total memory_target of 8.75 gb.  OEM shows 29% ram is used. We are using AMM. The free -mt command shows<br />
             total       used       free     shared    buffers     cached<br />
Mem:         32189      31519        669          0       1250      25168<br />
-/+ buffers/cache:       5101      27088<br />
Swap:        32767         39      32728<br />
Total:       64957      31559      33397</p>
<p>It looks like tmpfs is 16gb:<br />
 df -k /dev/shm<br />
Filesystem           1K-blocks      Used Available Use% Mounted on<br />
tmpfs                 16481056   5604532  10876524  35% /dev/shm</p>
<p>It looks like we are seeing 5.6gb of memory used, so I&#8217;m confused about why our sgas are defined to consume 8.75gb, but we only see 5.6gb used.   read that the sga by default takes 60% of memory_target and pga gets the rest. Because there are not many connections, is this why we see a lower value?</p>
<p>Does the tmpfs at 16gb mean we can only use 16gb of ram for our databases?</p>
<p>We are just getting up and running, so there are not yet many connections.  I<br />
Any insights would be appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Don Woods</title>
		<link>http://blog.tanelpoder.com/2007/08/21/oracle-11g-internals-part-1-automatic-memory-management/comment-page-1/#comment-3664</link>
		<dc:creator>Don Woods</dc:creator>
		<pubDate>Wed, 20 Jan 2010 04:52:17 +0000</pubDate>
		<guid isPermaLink="false">http://tanelpoder.wordpress.com/2007/08/21/oracle-11g-internals-part-1-automatic-memory-management/#comment-3664</guid>
		<description>Tanel, Thank you for your excellent analysis and summary of Oracle 11g memory management.  I am installing 11g on a new Sun server and could not figure out why I received memory allocation errors when the SGA was increased to more than 4GB.

Your experience has saved me countless hours of work.

--Don</description>
		<content:encoded><![CDATA[<p>Tanel, Thank you for your excellent analysis and summary of Oracle 11g memory management.  I am installing 11g on a new Sun server and could not figure out why I received memory allocation errors when the SGA was increased to more than 4GB.</p>
<p>Your experience has saved me countless hours of work.</p>
<p>&#8211;Don</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tanel Poder</title>
		<link>http://blog.tanelpoder.com/2007/08/21/oracle-11g-internals-part-1-automatic-memory-management/comment-page-1/#comment-2879</link>
		<dc:creator>Tanel Poder</dc:creator>
		<pubDate>Sun, 01 Nov 2009 16:39:53 +0000</pubDate>
		<guid isPermaLink="false">http://tanelpoder.wordpress.com/2007/08/21/oracle-11g-internals-part-1-automatic-memory-management/#comment-2879</guid>
		<description>Glad to be useful!</description>
		<content:encoded><![CDATA[<p>Glad to be useful!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jni</title>
		<link>http://blog.tanelpoder.com/2007/08/21/oracle-11g-internals-part-1-automatic-memory-management/comment-page-1/#comment-2878</link>
		<dc:creator>jni</dc:creator>
		<pubDate>Sun, 01 Nov 2009 16:34:18 +0000</pubDate>
		<guid isPermaLink="false">http://tanelpoder.wordpress.com/2007/08/21/oracle-11g-internals-part-1-automatic-memory-management/#comment-2878</guid>
		<description>Well mate, that blog just saved me hours of researching. Thanks alot for sharing! Awesome blog!</description>
		<content:encoded><![CDATA[<p>Well mate, that blog just saved me hours of researching. Thanks alot for sharing! Awesome blog!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hind</title>
		<link>http://blog.tanelpoder.com/2007/08/21/oracle-11g-internals-part-1-automatic-memory-management/comment-page-1/#comment-1625</link>
		<dc:creator>Hind</dc:creator>
		<pubDate>Sun, 24 May 2009 07:51:43 +0000</pubDate>
		<guid isPermaLink="false">http://tanelpoder.wordpress.com/2007/08/21/oracle-11g-internals-part-1-automatic-memory-management/#comment-1625</guid>
		<description>thanks, a note to say:
add this entry to /etc/fstab to mount shm every boot tmpfs :
/dev/shm tmpfs size=2500m  0  0</description>
		<content:encoded><![CDATA[<p>thanks, a note to say:<br />
add this entry to /etc/fstab to mount shm every boot tmpfs :<br />
/dev/shm tmpfs size=2500m  0  0</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Uma</title>
		<link>http://blog.tanelpoder.com/2007/08/21/oracle-11g-internals-part-1-automatic-memory-management/comment-page-1/#comment-1242</link>
		<dc:creator>Uma</dc:creator>
		<pubDate>Sat, 21 Mar 2009 01:48:43 +0000</pubDate>
		<guid isPermaLink="false">http://tanelpoder.wordpress.com/2007/08/21/oracle-11g-internals-part-1-automatic-memory-management/#comment-1242</guid>
		<description>Hello there,
Thank you for all the info.
I am very new to oracle 11g install on linux, tried to recover a db (created using dbca) using rman, ran into error,when tried to do startup mount, got the error described here, I am trying to implement the solution given by you,
tried to umount /dev/shm- got the error device is too busy, 
does this mean I have to shut down the db and then try to unmount?
Can you please help? Many thanks in anticipation.</description>
		<content:encoded><![CDATA[<p>Hello there,<br />
Thank you for all the info.<br />
I am very new to oracle 11g install on linux, tried to recover a db (created using dbca) using rman, ran into error,when tried to do startup mount, got the error described here, I am trying to implement the solution given by you,<br />
tried to umount /dev/shm- got the error device is too busy,<br />
does this mean I have to shut down the db and then try to unmount?<br />
Can you please help? Many thanks in anticipation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Blaine Simpson</title>
		<link>http://blog.tanelpoder.com/2007/08/21/oracle-11g-internals-part-1-automatic-memory-management/comment-page-1/#comment-1111</link>
		<dc:creator>Blaine Simpson</dc:creator>
		<pubDate>Wed, 04 Mar 2009 15:36:51 +0000</pubDate>
		<guid isPermaLink="false">http://tanelpoder.wordpress.com/2007/08/21/oracle-11g-internals-part-1-automatic-memory-management/#comment-1111</guid>
		<description>Most users probably want the shm size adjustment to persist across reboots.  So, here&#039;s the /etc/fstab entry corresponding to Tanel&#039;s mount command above:

none  /dev/shm  tmpfs  size=1300M  0 0

(My very healthy OpenSUSE 11.1 system has no /dev/shm fs set up at all by default).  Run &quot;mount /dev/shm&quot; to mount it on-demand.</description>
		<content:encoded><![CDATA[<p>Most users probably want the shm size adjustment to persist across reboots.  So, here&#8217;s the /etc/fstab entry corresponding to Tanel&#8217;s mount command above:</p>
<p>none  /dev/shm  tmpfs  size=1300M  0 0</p>
<p>(My very healthy OpenSUSE 11.1 system has no /dev/shm fs set up at all by default).  Run &#8220;mount /dev/shm&#8221; to mount it on-demand.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tanel Poder</title>
		<link>http://blog.tanelpoder.com/2007/08/21/oracle-11g-internals-part-1-automatic-memory-management/comment-page-1/#comment-1057</link>
		<dc:creator>Tanel Poder</dc:creator>
		<pubDate>Thu, 26 Feb 2009 05:59:36 +0000</pubDate>
		<guid isPermaLink="false">http://tanelpoder.wordpress.com/2007/08/21/oracle-11g-internals-part-1-automatic-memory-management/#comment-1057</guid>
		<description>Hi Kirk, no official part-2 yet, here are the posts which I&#039;ve tagged as related to 11g:

http://blog.tanelpoder.com/category/oracle-11g/</description>
		<content:encoded><![CDATA[<p>Hi Kirk, no official part-2 yet, here are the posts which I&#8217;ve tagged as related to 11g:</p>
<p><a href="http://blog.tanelpoder.com/category/oracle-11g/" rel="nofollow">http://blog.tanelpoder.com/category/oracle-11g/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kirk Brocas</title>
		<link>http://blog.tanelpoder.com/2007/08/21/oracle-11g-internals-part-1-automatic-memory-management/comment-page-1/#comment-1055</link>
		<dc:creator>Kirk Brocas</dc:creator>
		<pubDate>Thu, 26 Feb 2009 00:40:03 +0000</pubDate>
		<guid isPermaLink="false">http://tanelpoder.wordpress.com/2007/08/21/oracle-11g-internals-part-1-automatic-memory-management/#comment-1055</guid>
		<description>Is there a part 2?</description>
		<content:encoded><![CDATA[<p>Is there a part 2?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
