<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Recommendations for tunable shmmax in preparation for Oracle10g in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/recommendations-for-tunable-shmmax-in-preparation-for-oracle10g/m-p/3963616#M757652</link>
    <description>Login to sqlplus and;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;show sga&lt;BR /&gt;&lt;BR /&gt;That will show the sga size.</description>
    <pubDate>Fri, 16 Mar 2007 11:57:13 GMT</pubDate>
    <dc:creator>Court Campbell</dc:creator>
    <dc:date>2007-03-16T11:57:13Z</dc:date>
    <item>
      <title>Recommendations for tunable shmmax in preparation for Oracle10g</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recommendations-for-tunable-shmmax-in-preparation-for-oracle10g/m-p/3963604#M757640</link>
      <description>Hi,&lt;BR /&gt; &lt;BR /&gt;I was given a list of prerequisite kernel tunables for an Oracle10g installation/upgrade that I am supposed to deploy tomorrow night.&lt;BR /&gt;I've been putting up a Perl script to do this because this needs to be done on a bunch of hosts where SAM wouldn't be a sensible tool,&lt;BR /&gt;when I tripped over shmmax.&lt;BR /&gt;In the list I was given, it laconically reads, "AvailMem".&lt;BR /&gt;As I haven't got a clue about Oracle system tuning I wonder what "Available Memory" compares to in my case?&lt;BR /&gt;The boxes where I am supposed to set this are for instance furnished with abt. 32 GB of RAM.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Ralph</description>
      <pubDate>Fri, 16 Mar 2007 10:48:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recommendations-for-tunable-shmmax-in-preparation-for-oracle10g/m-p/3963604#M757640</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2007-03-16T10:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: Recommendations for tunable shmmax in preparation for Oracle10g</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recommendations-for-tunable-shmmax-in-preparation-for-oracle10g/m-p/3963605#M757641</link>
      <description>Set to physical memory.  shmmax is only a top end limit.  If you wish, set to 2GB or so less to reserver some for system processes to stop oracle admins from taking all the memory.</description>
      <pubDate>Fri, 16 Mar 2007 11:00:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recommendations-for-tunable-shmmax-in-preparation-for-oracle10g/m-p/3963605#M757641</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2007-03-16T11:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: Recommendations for tunable shmmax in preparation for Oracle10g</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recommendations-for-tunable-shmmax-in-preparation-for-oracle10g/m-p/3963606#M757642</link>
      <description>Here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1109448" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1109448&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 16 Mar 2007 11:02:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recommendations-for-tunable-shmmax-in-preparation-for-oracle10g/m-p/3963606#M757642</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2007-03-16T11:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: Recommendations for tunable shmmax in preparation for Oracle10g</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recommendations-for-tunable-shmmax-in-preparation-for-oracle10g/m-p/3963607#M757643</link>
      <description>P.S. Don't set it equal to available physical memory. It's a waste. Not unless you are planning on having a 32Gb SGA.</description>
      <pubDate>Fri, 16 Mar 2007 11:04:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recommendations-for-tunable-shmmax-in-preparation-for-oracle10g/m-p/3963607#M757643</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2007-03-16T11:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: Recommendations for tunable shmmax in preparation for Oracle10g</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recommendations-for-tunable-shmmax-in-preparation-for-oracle10g/m-p/3963608#M757644</link>
      <description>&lt;!--!*#--&gt;Hi Tim,&lt;BR /&gt;&lt;BR /&gt;I've just had a talk to one of my colleagues who is an Informix admin.&lt;BR /&gt;His advice was exactly the same as yours,&lt;BR /&gt;viz. to set it to the whole of physical RAM minus an allowance of abt. 2GB for the system itself.&lt;BR /&gt;He also showed me a terse explenation of this tunable from his docs, where it says:&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;    - The value of the kernel parameter "shmmax" should be set to the&lt;BR /&gt;      maximum allowable on the system.  Setting "shmmax" to a high value&lt;BR /&gt;      will prevent the OS from creating multiple shared memory segments&lt;BR /&gt;      which can degrade performance.&lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Fri, 16 Mar 2007 11:06:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recommendations-for-tunable-shmmax-in-preparation-for-oracle10g/m-p/3963608#M757644</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2007-03-16T11:06:42Z</dc:date>
    </item>
    <item>
      <title>Re: Recommendations for tunable shmmax in preparation for Oracle10g</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recommendations-for-tunable-shmmax-in-preparation-for-oracle10g/m-p/3963609#M757645</link>
      <description>Look if your SGA is 4GB then make shmmax equal to 5Gb in size. This will allow for some growth of the SGA. shmmax can always be changed to be larger later if necessary. Then when oracle requests a shared memory segment for the SGA it will only choose one. Why is this so hard to understand. Oracle recommendation to set shmmax to the size of available physical memory is just hogwash in my opinion.</description>
      <pubDate>Fri, 16 Mar 2007 11:12:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recommendations-for-tunable-shmmax-in-preparation-for-oracle10g/m-p/3963609#M757645</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2007-03-16T11:12:29Z</dc:date>
    </item>
    <item>
      <title>Re: Recommendations for tunable shmmax in preparation for Oracle10g</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recommendations-for-tunable-shmmax-in-preparation-for-oracle10g/m-p/3963610#M757646</link>
      <description>Also if you are planning on having multiple instances on the same box, set shmmax to something a little larger than the largest SGA. This will allow any instance to pull only one shared memory segment for each instances SGA.</description>
      <pubDate>Fri, 16 Mar 2007 11:14:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recommendations-for-tunable-shmmax-in-preparation-for-oracle10g/m-p/3963610#M757646</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2007-03-16T11:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: Recommendations for tunable shmmax in preparation for Oracle10g</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recommendations-for-tunable-shmmax-in-preparation-for-oracle10g/m-p/3963611#M757647</link>
      <description>FYI,&lt;BR /&gt;&lt;BR /&gt;There is no preallocation with shmmax, it is only a limit, not like static tables.&lt;BR /&gt;&lt;BR /&gt;Yes, if oracle attempts to create an SGA that is larger than shmmax it will fragment and create multiples, in turn creating a performance problem.  Other applications will error out.</description>
      <pubDate>Fri, 16 Mar 2007 11:14:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recommendations-for-tunable-shmmax-in-preparation-for-oracle10g/m-p/3963611#M757647</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2007-03-16T11:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: Recommendations for tunable shmmax in preparation for Oracle10g</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recommendations-for-tunable-shmmax-in-preparation-for-oracle10g/m-p/3963612#M757648</link>
      <description>While it is true that setting shmmax to a very large value does not consume resources, it also sets the stage for abuse. Ask your DBA's what their largest anticipated SGA size is and set it to that (if reasonable). One thing to keep in mind iis that this is a per-segment limit and a process can have many shared memory segments. Even with a small value of shmmax, it is possible to allocate enormous amounts of shared memory but setting shmmax to a large value makes this much easier to abuse. Also note that you aren't limited by physical memory but rather virtual memory. The downside to having a smaller shmmax (e.g 1GiB) is that oracle will have to make multiple segments so that the SGA is less efficient. It's better if everything in the SGA will fit in one segment. So again, the correct approach, is too ask what their largest anticapted needs are and set it accordingly. In any event, with 32GiB of physical memory, I would think that an SGA of 16GiB would be more than adequate and I would set shmmax very near to that value.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 16 Mar 2007 11:15:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recommendations-for-tunable-shmmax-in-preparation-for-oracle10g/m-p/3963612#M757648</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-03-16T11:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: Recommendations for tunable shmmax in preparation for Oracle10g</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recommendations-for-tunable-shmmax-in-preparation-for-oracle10g/m-p/3963613#M757649</link>
      <description>Tim do you really believe that he is going to be running other apps/services on his oracle database server that are going to require a shared memory segment larger than what the size of his largest SGA is going to be. Come on, be realistic. Let's say his SGA is going to be 5Gb and he sets shmmax to be 6Gb, I highly doubt that if he runs ipcs -mb that he will see another process that is going to need a shared mem segment larger than 6Gb.</description>
      <pubDate>Fri, 16 Mar 2007 11:23:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recommendations-for-tunable-shmmax-in-preparation-for-oracle10g/m-p/3963613#M757649</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2007-03-16T11:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: Recommendations for tunable shmmax in preparation for Oracle10g</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recommendations-for-tunable-shmmax-in-preparation-for-oracle10g/m-p/3963614#M757650</link>
      <description>Hi Court,&lt;BR /&gt;&lt;BR /&gt;at the moment the value is set to abt. 22 GB (of 32 GB RAM), so I would think I could well leave it at that.&lt;BR /&gt;&lt;BR /&gt;# kmtune -q shmmax|perl -alne 'print hex($F[1])/2**30 if $F[0] eq "shmmax"'&lt;BR /&gt;22&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;How can I find out how much memory was assigned to the old 9i DB?&lt;BR /&gt;In the pfile init&lt;SID&gt;.ora I couldn't find some sga param.&lt;BR /&gt;There must exist a view in the data dictionary that one can query by a simple SQL statement?&lt;/SID&gt;</description>
      <pubDate>Fri, 16 Mar 2007 11:36:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recommendations-for-tunable-shmmax-in-preparation-for-oracle10g/m-p/3963614#M757650</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2007-03-16T11:36:07Z</dc:date>
    </item>
    <item>
      <title>Re: Recommendations for tunable shmmax in preparation for Oracle10g</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recommendations-for-tunable-shmmax-in-preparation-for-oracle10g/m-p/3963615#M757651</link>
      <description>Wait, I think this should suffice as a clue&lt;BR /&gt;&lt;BR /&gt;# ipcs -mob|grep oracle&lt;BR /&gt;m     368649 0xe0377310 --rw-rw----    oracle       dba     13   98275328&lt;BR /&gt;m       3082 0xe71d289c --rw-r-----    oracle       dba    797 13826273280&lt;BR /&gt;</description>
      <pubDate>Fri, 16 Mar 2007 11:43:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recommendations-for-tunable-shmmax-in-preparation-for-oracle10g/m-p/3963615#M757651</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2007-03-16T11:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: Recommendations for tunable shmmax in preparation for Oracle10g</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recommendations-for-tunable-shmmax-in-preparation-for-oracle10g/m-p/3963616#M757652</link>
      <description>Login to sqlplus and;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;show sga&lt;BR /&gt;&lt;BR /&gt;That will show the sga size.</description>
      <pubDate>Fri, 16 Mar 2007 11:57:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recommendations-for-tunable-shmmax-in-preparation-for-oracle10g/m-p/3963616#M757652</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2007-03-16T11:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: Recommendations for tunable shmmax in preparation for Oracle10g</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recommendations-for-tunable-shmmax-in-preparation-for-oracle10g/m-p/3963617#M757653</link>
      <description>I truly recommend that you read this:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://orafaq.com/node/8" target="_blank"&gt;http://orafaq.com/node/8&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I believe that it will answer a lot of your questions.</description>
      <pubDate>Fri, 16 Mar 2007 11:59:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recommendations-for-tunable-shmmax-in-preparation-for-oracle10g/m-p/3963617#M757653</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2007-03-16T11:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: Recommendations for tunable shmmax in preparation for Oracle10g</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recommendations-for-tunable-shmmax-in-preparation-for-oracle10g/m-p/3963618#M757654</link>
      <description>Small point - but , set it just a bit bigger than db_cache_size - because this most likely is your largest piece of the SGA.  The other parts of the SGA will be perfectly happy living in their own segment(s) after the buffer cache gets its own big space.</description>
      <pubDate>Fri, 16 Mar 2007 12:32:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recommendations-for-tunable-shmmax-in-preparation-for-oracle10g/m-p/3963618#M757654</guid>
      <dc:creator>TwoProc</dc:creator>
      <dc:date>2007-03-16T12:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: Recommendations for tunable shmmax in preparation for Oracle10g</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recommendations-for-tunable-shmmax-in-preparation-for-oracle10g/m-p/3963619#M757655</link>
      <description>Duely noted Court,&lt;BR /&gt;&lt;BR /&gt;I think all responses are valid and helpfull enough to help Ralph make his decision.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 16 Mar 2007 13:01:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recommendations-for-tunable-shmmax-in-preparation-for-oracle10g/m-p/3963619#M757655</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2007-03-16T13:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: Recommendations for tunable shmmax in preparation for Oracle10g</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recommendations-for-tunable-shmmax-in-preparation-for-oracle10g/m-p/3963620#M757656</link>
      <description>&lt;!--!*#--&gt;show sga:&lt;BR /&gt;&lt;BR /&gt;SQL&amp;gt; &lt;BR /&gt;Total System Global Area 1.3809E+10 bytes&lt;BR /&gt;Fixed Size                   756808 bytes&lt;BR /&gt;Variable Size            1795162112 bytes&lt;BR /&gt;Database Buffers         1.2012E+10 bytes&lt;BR /&gt;Redo Buffers                1060864 bytes&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;which indeed is the shm seg @ ID 522 as I already have assumed:&lt;BR /&gt;&lt;BR /&gt;# ipcs -mob|grep ora        &lt;BR /&gt;m     167945 0xe0377310 --rw-rw----    oracle       dba     12   98275328&lt;BR /&gt;m        522 0xe71d289c --rw-rw----    oracle       dba   1165 13826273280&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Mar 2007 07:41:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recommendations-for-tunable-shmmax-in-preparation-for-oracle10g/m-p/3963620#M757656</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2007-03-21T07:41:41Z</dc:date>
    </item>
  </channel>
</rss>

