<?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: Memory</title>
	<atom:link href="http://jonathanlewis.wordpress.com/2010/06/23/memory/feed/" rel="self" type="application/rss+xml" />
	<link>http://jonathanlewis.wordpress.com/2010/06/23/memory/</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: 犯错了 (vm_nr_hugepages) &#171; 弹冠相庆</title>
		<link>http://jonathanlewis.wordpress.com/2010/06/23/memory/#comment-37590</link>
		<dc:creator><![CDATA[犯错了 (vm_nr_hugepages) &#171; 弹冠相庆]]></dc:creator>
		<pubDate>Sat, 23 Oct 2010 05:59:01 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=3917#comment-37590</guid>
		<description><![CDATA[[...] Memory [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Memory [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Lewis</title>
		<link>http://jonathanlewis.wordpress.com/2010/06/23/memory/#comment-36621</link>
		<dc:creator><![CDATA[Jonathan Lewis]]></dc:creator>
		<pubDate>Wed, 30 Jun 2010 08:47:05 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=3917#comment-36621</guid>
		<description><![CDATA[Marcus,

Questions relating to bits around the edges (O/S, discs, networks) are where I start to pursue specialists in the technology when I see the need. In this case I can&#039;t give you answers that I am certain of, but:  

(a) I believe it will be in process memory if you&#039;re using small pages, but if you&#039;re on RHEL and switch to huge pages I think you also get a shared memory map with locked memory pages which means there is only one (much smaller) map and it&#039;s probably in system (or at least &quot;public&quot;) space.

(b) I think you&#039;re probably correct, although some people might say that this is more &quot;damage limitation&quot; than an advantage (particularly on 32-bit Windows) a shared map would be a relatively small benefit compared to the limitation that requires the sum of all process memory to be inside the 32-bit limit.]]></description>
		<content:encoded><![CDATA[<p>Marcus,</p>
<p>Questions relating to bits around the edges (O/S, discs, networks) are where I start to pursue specialists in the technology when I see the need. In this case I can&#8217;t give you answers that I am certain of, but:  </p>
<p>(a) I believe it will be in process memory if you&#8217;re using small pages, but if you&#8217;re on RHEL and switch to huge pages I think you also get a shared memory map with locked memory pages which means there is only one (much smaller) map and it&#8217;s probably in system (or at least &#8220;public&#8221;) space.</p>
<p>(b) I think you&#8217;re probably correct, although some people might say that this is more &#8220;damage limitation&#8221; than an advantage (particularly on 32-bit Windows) a shared map would be a relatively small benefit compared to the limitation that requires the sum of all process memory to be inside the 32-bit limit.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marcus Moennig</title>
		<link>http://jonathanlewis.wordpress.com/2010/06/23/memory/#comment-36578</link>
		<dc:creator><![CDATA[Marcus Moennig]]></dc:creator>
		<pubDate>Sun, 27 Jun 2010 07:40:16 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=3917#comment-36578</guid>
		<description><![CDATA[I have two questions here:

1.) Where is the page table allocated? In the system space of the process memory?

2.) Is this an advantage for the Windows OS, since on this OS there is only one Oracle process and sessions get their own thread within it, so only one page table is used for all session threads?]]></description>
		<content:encoded><![CDATA[<p>I have two questions here:</p>
<p>1.) Where is the page table allocated? In the system space of the process memory?</p>
<p>2.) Is this an advantage for the Windows OS, since on this OS there is only one Oracle process and sessions get their own thread within it, so only one page table is used for all session threads?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Log Buffer #192, A Carnival of The Vanities for DBAs &#124; The Pythian Blog</title>
		<link>http://jonathanlewis.wordpress.com/2010/06/23/memory/#comment-36567</link>
		<dc:creator><![CDATA[Log Buffer #192, A Carnival of The Vanities for DBAs &#124; The Pythian Blog]]></dc:creator>
		<pubDate>Fri, 25 Jun 2010 15:17:50 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=3917#comment-36567</guid>
		<description><![CDATA[[...] an OakTable Network member, Jonathan Lewis, posted about the experience of one client migrating to 64 bit and increasing their SGA to see performance going down. The moral [...]]]></description>
		<content:encoded><![CDATA[<p>[...] an OakTable Network member, Jonathan Lewis, posted about the experience of one client migrating to 64 bit and increasing their SGA to see performance going down. The moral [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wayne Lang</title>
		<link>http://jonathanlewis.wordpress.com/2010/06/23/memory/#comment-36561</link>
		<dc:creator><![CDATA[Wayne Lang]]></dc:creator>
		<pubDate>Thu, 24 Jun 2010 16:29:36 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=3917#comment-36561</guid>
		<description><![CDATA[On Linux, Oracle allocates all sga memory up to sga_max_size when starts an instance, even sga_target may be lower.]]></description>
		<content:encoded><![CDATA[<p>On Linux, Oracle allocates all sga memory up to sga_max_size when starts an instance, even sga_target may be lower.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Lewis</title>
		<link>http://jonathanlewis.wordpress.com/2010/06/23/memory/#comment-36560</link>
		<dc:creator><![CDATA[Jonathan Lewis]]></dc:creator>
		<pubDate>Thu, 24 Jun 2010 16:03:44 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=3917#comment-36560</guid>
		<description><![CDATA[Ken,
You&#039;re probably already familiar with the options to make use of more memory - the /3 switch to allow a larger user address space in windows, and the &quot;paging/windowing&quot; options that allow the db_block_buffers (I think you have to use the old-style parameter if you do this) to use high memory pages by creating a window in low memory that uses address switching to take advantage of high memory.

They can help in the short term - but neither is a good solution to the problems of supporting a large number of users.]]></description>
		<content:encoded><![CDATA[<p>Ken,<br />
You&#8217;re probably already familiar with the options to make use of more memory &#8211; the /3 switch to allow a larger user address space in windows, and the &#8220;paging/windowing&#8221; options that allow the db_block_buffers (I think you have to use the old-style parameter if you do this) to use high memory pages by creating a window in low memory that uses address switching to take advantage of high memory.</p>
<p>They can help in the short term &#8211; but neither is a good solution to the problems of supporting a large number of users.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Lewis</title>
		<link>http://jonathanlewis.wordpress.com/2010/06/23/memory/#comment-36559</link>
		<dc:creator><![CDATA[Jonathan Lewis]]></dc:creator>
		<pubDate>Thu, 24 Jun 2010 15:57:34 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=3917#comment-36559</guid>
		<description><![CDATA[Alex,

Excellent point about the incompatibility between HugePages and 11g&#039;s Automatic Memory Management (AMM) - thanks for highlighting it.]]></description>
		<content:encoded><![CDATA[<p>Alex,</p>
<p>Excellent point about the incompatibility between HugePages and 11g&#8217;s Automatic Memory Management (AMM) &#8211; thanks for highlighting it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Øyvind Isene</title>
		<link>http://jonathanlewis.wordpress.com/2010/06/23/memory/#comment-36553</link>
		<dc:creator><![CDATA[Øyvind Isene]]></dc:creator>
		<pubDate>Thu, 24 Jun 2010 08:22:17 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=3917#comment-36553</guid>
		<description><![CDATA[Also make sure that the memory size as specified by sga_max_size can be reserved within the memory reserved for huge pages. In tests we did (10.2.0.4 on RHEL 5) we confirmed that huge pages where hardly used (&lt;100MB) and the entire SGA being allocated outside the memory reserved for huge pages when  sga_max_size was slightly higher than size reserved for huge pages. Makes sense, however we thought that since sga_target was within the memory reserved for huge pages, Oracle would start allocating from them. But it didn&#039;t until we lowered sga_max_size.]]></description>
		<content:encoded><![CDATA[<p>Also make sure that the memory size as specified by sga_max_size can be reserved within the memory reserved for huge pages. In tests we did (10.2.0.4 on RHEL 5) we confirmed that huge pages where hardly used (&lt;100MB) and the entire SGA being allocated outside the memory reserved for huge pages when  sga_max_size was slightly higher than size reserved for huge pages. Makes sense, however we thought that since sga_target was within the memory reserved for huge pages, Oracle would start allocating from them. But it didn&#039;t until we lowered sga_max_size.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Grégory</title>
		<link>http://jonathanlewis.wordpress.com/2010/06/23/memory/#comment-36551</link>
		<dc:creator><![CDATA[Grégory]]></dc:creator>
		<pubDate>Thu, 24 Jun 2010 07:11:13 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=3917#comment-36551</guid>
		<description><![CDATA[Hi Ken,

I upgraded some of my customers from Oracle 9i or Oracle 10GR2 from 32 bits to 64 bits without problems.
Problem related to ORA-04031 disappear, performance increase due to more memory for buffer cache ....
On Windows, large pages mut not be used because OS has problem to relase correctly memory ( during shutdown db ).

I used export / import with Oracle 9i. With Oracle 10GR2, I just invalided all objects and recompiled them.
You can also use rman backup.

Regards,
Gregory]]></description>
		<content:encoded><![CDATA[<p>Hi Ken,</p>
<p>I upgraded some of my customers from Oracle 9i or Oracle 10GR2 from 32 bits to 64 bits without problems.<br />
Problem related to ORA-04031 disappear, performance increase due to more memory for buffer cache &#8230;.<br />
On Windows, large pages mut not be used because OS has problem to relase correctly memory ( during shutdown db ).</p>
<p>I used export / import with Oracle 9i. With Oracle 10GR2, I just invalided all objects and recompiled them.<br />
You can also use rman backup.</p>
<p>Regards,<br />
Gregory</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ken</title>
		<link>http://jonathanlewis.wordpress.com/2010/06/23/memory/#comment-36549</link>
		<dc:creator><![CDATA[Ken]]></dc:creator>
		<pubDate>Thu, 24 Jun 2010 05:47:29 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=3917#comment-36549</guid>
		<description><![CDATA[We are also facing the same issue here, we have Oracle 10gR2 on windows server 2003 (32 bit). At server 12 GB ram is installed but due to OS dependency only 2 Gb ram is availabe to oracle, recently we have faced lot of Ora-04031 (Unable to allocate XXX bytes of memory....) error. After setting different values of SGA from last 3 days i have&#039;t recieved this error, current value of sga is 1400 MB but still database performance is slow.

I have suggested upgradation of OS and database to 64 bit, i.e switching to Windows server 2003 (64 bit) and 10gR2 (64 bit) versions, and will share my experience when perform this activity (which is planned in couple of weeks).

Regards,
Ken]]></description>
		<content:encoded><![CDATA[<p>We are also facing the same issue here, we have Oracle 10gR2 on windows server 2003 (32 bit). At server 12 GB ram is installed but due to OS dependency only 2 Gb ram is availabe to oracle, recently we have faced lot of Ora-04031 (Unable to allocate XXX bytes of memory&#8230;.) error. After setting different values of SGA from last 3 days i have&#8217;t recieved this error, current value of sga is 1400 MB but still database performance is slow.</p>
<p>I have suggested upgradation of OS and database to 64 bit, i.e switching to Windows server 2003 (64 bit) and 10gR2 (64 bit) versions, and will share my experience when perform this activity (which is planned in couple of weeks).</p>
<p>Regards,<br />
Ken</p>
]]></content:encoded>
	</item>
</channel>
</rss>
