<?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: Swap Space in Linux and Unix</title>
	<atom:link href="http://dbakerber.wordpress.com/2008/04/18/swap-space-in-linux-and-unix/feed/" rel="self" type="application/rss+xml" />
	<link>http://dbakerber.wordpress.com/2008/04/18/swap-space-in-linux-and-unix/</link>
	<description>The World of the Oracle DBA</description>
	<lastBuildDate>Sat, 28 Mar 2009 00:43:02 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: dbakerber</title>
		<link>http://dbakerber.wordpress.com/2008/04/18/swap-space-in-linux-and-unix/#comment-19</link>
		<dc:creator>dbakerber</dc:creator>
		<pubDate>Tue, 12 Aug 2008 23:19:05 +0000</pubDate>
		<guid isPermaLink="false">http://dbakerber.wordpress.com/?p=10#comment-19</guid>
		<description>Excellent, glad to hear that your problem has been resolved.</description>
		<content:encoded><![CDATA[<p>Excellent, glad to hear that your problem has been resolved.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kuldeep Singh</title>
		<link>http://dbakerber.wordpress.com/2008/04/18/swap-space-in-linux-and-unix/#comment-18</link>
		<dc:creator>Kuldeep Singh</dc:creator>
		<pubDate>Tue, 12 Aug 2008 23:01:39 +0000</pubDate>
		<guid isPermaLink="false">http://dbakerber.wordpress.com/?p=10#comment-18</guid>
		<description>Andrew - As promised here is the update - 

1. Our Senior DBA has implemented MTS after careful consideration and we are seeing major improvement in memory/session management. The system is still under observation.</description>
		<content:encoded><![CDATA[<p>Andrew &#8211; As promised here is the update &#8211; </p>
<p>1. Our Senior DBA has implemented MTS after careful consideration and we are seeing major improvement in memory/session management. The system is still under observation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kuldeep Singh</title>
		<link>http://dbakerber.wordpress.com/2008/04/18/swap-space-in-linux-and-unix/#comment-16</link>
		<dc:creator>Kuldeep Singh</dc:creator>
		<pubDate>Thu, 31 Jul 2008 12:54:32 +0000</pubDate>
		<guid isPermaLink="false">http://dbakerber.wordpress.com/?p=10#comment-16</guid>
		<description>Andrew/Mark - Thank you for helping out here. The information above might be relevant to our current problem. We will work with the DBA staff and the system administrators. I will post what we found or otherwise...
Thanks,
Kuldeep</description>
		<content:encoded><![CDATA[<p>Andrew/Mark &#8211; Thank you for helping out here. The information above might be relevant to our current problem. We will work with the DBA staff and the system administrators. I will post what we found or otherwise&#8230;<br />
Thanks,<br />
Kuldeep</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dbakerber</title>
		<link>http://dbakerber.wordpress.com/2008/04/18/swap-space-in-linux-and-unix/#comment-15</link>
		<dc:creator>dbakerber</dc:creator>
		<pubDate>Thu, 31 Jul 2008 12:33:48 +0000</pubDate>
		<guid isPermaLink="false">http://dbakerber.wordpress.com/?p=10#comment-15</guid>
		<description>In my experience, no there is no message about swap being full.  Possibly because the space is actually getting marked as used, not being physically used for swapping?  You would need to talk to a Unix System administrator on that one.

The memory issue is really just an experienced guess.  A 900 user system would not typically perform well in the amount memory that they have allocated.  32G is a good place to start on tuning the instance memory.  However, they are on 32 bit Oracle, so they would also have to switch to 64 bit to do a lot of good.</description>
		<content:encoded><![CDATA[<p>In my experience, no there is no message about swap being full.  Possibly because the space is actually getting marked as used, not being physically used for swapping?  You would need to talk to a Unix System administrator on that one.</p>
<p>The memory issue is really just an experienced guess.  A 900 user system would not typically perform well in the amount memory that they have allocated.  32G is a good place to start on tuning the instance memory.  However, they are on 32 bit Oracle, so they would also have to switch to 64 bit to do a lot of good.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark A. Williams</title>
		<link>http://dbakerber.wordpress.com/2008/04/18/swap-space-in-linux-and-unix/#comment-14</link>
		<dc:creator>Mark A. Williams</dc:creator>
		<pubDate>Thu, 31 Jul 2008 04:18:26 +0000</pubDate>
		<guid isPermaLink="false">http://dbakerber.wordpress.com/?p=10#comment-14</guid>
		<description>&gt; What is the Oracle version?

It looks like it is 8.1.7.4 based on the original posting.

&gt; Do you understand that there is a lot more to Oracle memory usage than PGA Memory?

Yes. My question was why the recommendation to up the server memory to 32GB based upon the provided information? What in the provided information indicates that such action is necessary?

Also, if there was insufficient swap space (i.e. the swap was exhausted/filled) would there not be a message in the system logs to indicate that event?

Thanks,

Mark</description>
		<content:encoded><![CDATA[<p>&gt; What is the Oracle version?</p>
<p>It looks like it is 8.1.7.4 based on the original posting.</p>
<p>&gt; Do you understand that there is a lot more to Oracle memory usage than PGA Memory?</p>
<p>Yes. My question was why the recommendation to up the server memory to 32GB based upon the provided information? What in the provided information indicates that such action is necessary?</p>
<p>Also, if there was insufficient swap space (i.e. the swap was exhausted/filled) would there not be a message in the system logs to indicate that event?</p>
<p>Thanks,</p>
<p>Mark</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dbakerber</title>
		<link>http://dbakerber.wordpress.com/2008/04/18/swap-space-in-linux-and-unix/#comment-13</link>
		<dc:creator>dbakerber</dc:creator>
		<pubDate>Thu, 31 Jul 2008 03:08:10 +0000</pubDate>
		<guid isPermaLink="false">http://dbakerber.wordpress.com/?p=10#comment-13</guid>
		<description>What is the Oracle version?  Do you understand that there is a lot more to Oracle memory usage than PGA Memory?  PGA is only the memory that the individual user processes need to run.  The remainder of the memory on the server is used in the Oracle server processes and memory segments.  For a 900 user system, it would not be at all unusual to have 100+G RAM devoted to the Oracle instance.  It might be a good idea to take a class on Oracle concepts, or hire a consultant to run a tuning exercise on your Oracle instance.  

Oracle will not run in much less than 256M (that is, SGA_TARGET=256M).  Oracle will not use more memory than it is granted by the PGA_TARGET and the SGA_MAX_SIZE or SGA_TARGET, the starting point for determining the appropriate amount of memory for your instance is the awr or statspack report.</description>
		<content:encoded><![CDATA[<p>What is the Oracle version?  Do you understand that there is a lot more to Oracle memory usage than PGA Memory?  PGA is only the memory that the individual user processes need to run.  The remainder of the memory on the server is used in the Oracle server processes and memory segments.  For a 900 user system, it would not be at all unusual to have 100+G RAM devoted to the Oracle instance.  It might be a good idea to take a class on Oracle concepts, or hire a consultant to run a tuning exercise on your Oracle instance.  </p>
<p>Oracle will not run in much less than 256M (that is, SGA_TARGET=256M).  Oracle will not use more memory than it is granted by the PGA_TARGET and the SGA_MAX_SIZE or SGA_TARGET, the starting point for determining the appropriate amount of memory for your instance is the awr or statspack report.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark A. Williams</title>
		<link>http://dbakerber.wordpress.com/2008/04/18/swap-space-in-linux-and-unix/#comment-11</link>
		<dc:creator>Mark A. Williams</dc:creator>
		<pubDate>Thu, 31 Jul 2008 01:20:30 +0000</pubDate>
		<guid isPermaLink="false">http://dbakerber.wordpress.com/?p=10#comment-11</guid>
		<description>&gt; it would be a good idea to go to a 64 bit OS, and use about 32G RAM

Why do you suggest that? The SGA is reported to be 900MB and the &quot;session pga memory max&quot; is reported to be 175MB making for just over 1GB of memory usage as I see it here. Why the need to jump from 6GB of RAM on the system to 32GB RAM when Oracle looks to be using about 1GB of the existing RAM?

Thanks,

Mark</description>
		<content:encoded><![CDATA[<p>&gt; it would be a good idea to go to a 64 bit OS, and use about 32G RAM</p>
<p>Why do you suggest that? The SGA is reported to be 900MB and the &#8220;session pga memory max&#8221; is reported to be 175MB making for just over 1GB of memory usage as I see it here. Why the need to jump from 6GB of RAM on the system to 32GB RAM when Oracle looks to be using about 1GB of the existing RAM?</p>
<p>Thanks,</p>
<p>Mark</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dbakerber</title>
		<link>http://dbakerber.wordpress.com/2008/04/18/swap-space-in-linux-and-unix/#comment-10</link>
		<dc:creator>dbakerber</dc:creator>
		<pubDate>Wed, 30 Jul 2008 22:56:40 +0000</pubDate>
		<guid isPermaLink="false">http://dbakerber.wordpress.com/?p=10#comment-10</guid>
		<description>Realistically, to be able to handle the number of connections you are talking about, it would be a good idea to go to a 64 bit OS, and use about 32G RAM.</description>
		<content:encoded><![CDATA[<p>Realistically, to be able to handle the number of connections you are talking about, it would be a good idea to go to a 64 bit OS, and use about 32G RAM.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dbakerber</title>
		<link>http://dbakerber.wordpress.com/2008/04/18/swap-space-in-linux-and-unix/#comment-9</link>
		<dc:creator>dbakerber</dc:creator>
		<pubDate>Wed, 30 Jul 2008 21:17:32 +0000</pubDate>
		<guid isPermaLink="false">http://dbakerber.wordpress.com/?p=10#comment-9</guid>
		<description>What is your Oracle version?  If it is the 8.1.7.4, then you should have 12G Swap (twice RAM).  If it is Oracle 10, then you need 6G swap, in either case it looks like you have insufficient allocated.  I dont know how to tell which type you are using, but the simplest thing to do is to create the appropriate amount of swap space and run from there.  If the problem does not happen, you are done, if it does happen again, look at the MTS settings.</description>
		<content:encoded><![CDATA[<p>What is your Oracle version?  If it is the 8.1.7.4, then you should have 12G Swap (twice RAM).  If it is Oracle 10, then you need 6G swap, in either case it looks like you have insufficient allocated.  I dont know how to tell which type you are using, but the simplest thing to do is to create the appropriate amount of swap space and run from there.  If the problem does not happen, you are done, if it does happen again, look at the MTS settings.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kuldeep Singh</title>
		<link>http://dbakerber.wordpress.com/2008/04/18/swap-space-in-linux-and-unix/#comment-8</link>
		<dc:creator>Kuldeep Singh</dc:creator>
		<pubDate>Wed, 30 Jul 2008 21:06:36 +0000</pubDate>
		<guid isPermaLink="false">http://dbakerber.wordpress.com/?p=10#comment-8</guid>
		<description>[oracle@xxxxxxx$ swapon -s
Filename                        Type            Size    Used    Priority
/dev/xxxxxx/xxxxxx              partition       2097096 53204   -1

That is what it is configured to. We have 6GB RAM on a 32 bit OS. The SGA is at 900MB [approx.]. We did some analysis on user memory.

SQL&gt; set heading off
SQL&gt; set echo off
SQL&gt; set feedback  off
SQL&gt; select &#039;Total current memory for all sessions:  &#039; &#124;&#124; sum(value) &#124;&#124; &#039; bytes&#039;
  2  from v$sesstat a, v$statname b
  3  where name = &#039;session uga memory&#039;
  4  and a.statistic# = b.statistic#
  5  /

Total current memory for all sessions:  92265108 bytes
SQL&gt; select &#039;Total maximam memory for all sessions:  &#039; &#124;&#124; sum(value) &#124;&#124; &#039; bytes&#039;
  2  from v$sesstat a, v$statname b
  3  where name = &#039;session uga memory max&#039;
  4  and a.statistic# = b.statistic#
  5  /

Total maximam memory for all sessions:  127797696 bytes




SQL&gt; select &#039;Total current memory for all sessions:  &#039; &#124;&#124; sum(value) &#124;&#124; &#039; bytes&#039;
  2  from v$sesstat a, v$statname b
  3  where name = &#039;session pga memory&#039;
  4  and a.statistic# = b.statistic#
  5  /

Total current memory for all sessions:  183325780 bytes
SQL&gt; select &#039;Total maximam memory for all sessions:  &#039; &#124;&#124; sum(value) &#124;&#124; &#039; bytes&#039;
  2  from v$sesstat a, v$statname b
  3  where name = &#039;session pga memory max&#039;
  4  and a.statistic# = b.statistic#
  5  /

Total maximam memory for all sessions:  183782376 bytes


Thanks,

Kuldeep</description>
		<content:encoded><![CDATA[<p>[oracle@xxxxxxx$ swapon -s<br />
Filename                        Type            Size    Used    Priority<br />
/dev/xxxxxx/xxxxxx              partition       2097096 53204   -1</p>
<p>That is what it is configured to. We have 6GB RAM on a 32 bit OS. The SGA is at 900MB [approx.]. We did some analysis on user memory.</p>
<p>SQL&gt; set heading off<br />
SQL&gt; set echo off<br />
SQL&gt; set feedback  off<br />
SQL&gt; select &#8216;Total current memory for all sessions:  &#8216; || sum(value) || &#8216; bytes&#8217;<br />
  2  from v$sesstat a, v$statname b<br />
  3  where name = &#8217;session uga memory&#8217;<br />
  4  and a.statistic# = b.statistic#<br />
  5  /</p>
<p>Total current memory for all sessions:  92265108 bytes<br />
SQL&gt; select &#8216;Total maximam memory for all sessions:  &#8216; || sum(value) || &#8216; bytes&#8217;<br />
  2  from v$sesstat a, v$statname b<br />
  3  where name = &#8217;session uga memory max&#8217;<br />
  4  and a.statistic# = b.statistic#<br />
  5  /</p>
<p>Total maximam memory for all sessions:  127797696 bytes</p>
<p>SQL&gt; select &#8216;Total current memory for all sessions:  &#8216; || sum(value) || &#8216; bytes&#8217;<br />
  2  from v$sesstat a, v$statname b<br />
  3  where name = &#8217;session pga memory&#8217;<br />
  4  and a.statistic# = b.statistic#<br />
  5  /</p>
<p>Total current memory for all sessions:  183325780 bytes<br />
SQL&gt; select &#8216;Total maximam memory for all sessions:  &#8216; || sum(value) || &#8216; bytes&#8217;<br />
  2  from v$sesstat a, v$statname b<br />
  3  where name = &#8217;session pga memory max&#8217;<br />
  4  and a.statistic# = b.statistic#<br />
  5  /</p>
<p>Total maximam memory for all sessions:  183782376 bytes</p>
<p>Thanks,</p>
<p>Kuldeep</p>
]]></content:encoded>
	</item>
</channel>
</rss>
