<?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 Oracle 9 memory usage in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-9-memory-usage/m-p/3151629#M901166</link>
    <description>Hi guys &lt;BR /&gt;I have a n4000 6way with 4gb memory and 10gb swap assigned.&lt;BR /&gt;i have 4 8.1.7 databases and 4 9i the server has alway run ok with 817 and only recently have we put 9i on there. &lt;BR /&gt;but i seem now to have little free memory 50mb and wondered if for 91 weather there where any kernal parameteres i should pay special attention to( i used to have about 2 gb free memory).&lt;BR /&gt;what can i do to improve performance.&lt;BR /&gt;are there any problems with memory usage on 9i, the server was recently installed with 11i version 1 64bit.&lt;BR /&gt;what about maxtsiz and maxdsiz are there any accurate measurements to determine what these need to be set to.&lt;BR /&gt;regards&lt;BR /&gt;andrew</description>
    <pubDate>Tue, 23 Dec 2003 08:17:07 GMT</pubDate>
    <dc:creator>system administrator_15</dc:creator>
    <dc:date>2003-12-23T08:17:07Z</dc:date>
    <item>
      <title>Oracle 9 memory usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-9-memory-usage/m-p/3151629#M901166</link>
      <description>Hi guys &lt;BR /&gt;I have a n4000 6way with 4gb memory and 10gb swap assigned.&lt;BR /&gt;i have 4 8.1.7 databases and 4 9i the server has alway run ok with 817 and only recently have we put 9i on there. &lt;BR /&gt;but i seem now to have little free memory 50mb and wondered if for 91 weather there where any kernal parameteres i should pay special attention to( i used to have about 2 gb free memory).&lt;BR /&gt;what can i do to improve performance.&lt;BR /&gt;are there any problems with memory usage on 9i, the server was recently installed with 11i version 1 64bit.&lt;BR /&gt;what about maxtsiz and maxdsiz are there any accurate measurements to determine what these need to be set to.&lt;BR /&gt;regards&lt;BR /&gt;andrew</description>
      <pubDate>Tue, 23 Dec 2003 08:17:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-9-memory-usage/m-p/3151629#M901166</guid>
      <dc:creator>system administrator_15</dc:creator>
      <dc:date>2003-12-23T08:17:07Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle 9 memory usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-9-memory-usage/m-p/3151630#M901167</link>
      <description>Andrew,&lt;BR /&gt;&lt;BR /&gt;For that kind of load, the best thing you can do is add at least another 4GB of memory.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Tue, 23 Dec 2003 08:19:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-9-memory-usage/m-p/3151630#M901167</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-12-23T08:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle 9 memory usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-9-memory-usage/m-p/3151631#M901168</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;for a rough memory consumption look at, how much shared memory the oracle instances use and run show sga on each instance.&lt;BR /&gt;&lt;BR /&gt;greetings,&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;</description>
      <pubDate>Tue, 23 Dec 2003 08:19:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-9-memory-usage/m-p/3151631#M901168</guid>
      <dc:creator>Michael Schulte zur Sur</dc:creator>
      <dc:date>2003-12-23T08:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle 9 memory usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-9-memory-usage/m-p/3151632#M901169</link>
      <description>shared memory reads as per attachment &lt;BR /&gt;</description>
      <pubDate>Tue, 23 Dec 2003 08:27:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-9-memory-usage/m-p/3151632#M901169</guid>
      <dc:creator>system administrator_15</dc:creator>
      <dc:date>2003-12-23T08:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle 9 memory usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-9-memory-usage/m-p/3151633#M901170</link>
      <description>Unless you have a lot of activity, your swap settings are on the high side and likely to make your system look a little sluggish.&lt;BR /&gt;&lt;BR /&gt;Before tuning the kernel, you might want to take a look at some performance data. I'm attaching the prior version of my script that does this. I just modified it at work yesterday and I'm not there right now.&lt;BR /&gt;&lt;BR /&gt;I would pay attention to the settings for sga and such in the oracle databases.  These can be tuned to reduce memory usage.&lt;BR /&gt;&lt;BR /&gt;The fact that a system uses its memory is not in itself a problem. It doesn't do you much good if its just sitting there.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 23 Dec 2003 08:28:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-9-memory-usage/m-p/3151633#M901170</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-12-23T08:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle 9 memory usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-9-memory-usage/m-p/3151634#M901171</link>
      <description>Hi andrew,&lt;BR /&gt;&lt;BR /&gt;Oracle memory usage is entirely dependent on the SGA size the DBAs set up for EACH DB instance.&lt;BR /&gt;&lt;BR /&gt;You have two options:&lt;BR /&gt;&lt;BR /&gt;1) Explain to the DBAs that they need to lower the SGA sizes for these *eight* DB instances. &lt;BR /&gt;&lt;BR /&gt;2) Add more RAM. Right now you have less than 512MB avg for each DB. 1GB for each would be better.&lt;BR /&gt;&lt;BR /&gt;And I'd check your dbc_max_pct kernel parm &amp;amp; if it's still at the default of 50 - LOWER it.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Tue, 23 Dec 2003 08:54:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-9-memory-usage/m-p/3151634#M901171</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2003-12-23T08:54:19Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle 9 memory usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-9-memory-usage/m-p/3151635#M901172</link>
      <description>Andrew,&lt;BR /&gt;&lt;BR /&gt;I suppose you should start with Oracle resource usage.&lt;BR /&gt;Use statspack reports to analyze your hit ratio.&lt;BR /&gt;For the shared pool you can use the attached SQL script.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Jean-Luc</description>
      <pubDate>Tue, 23 Dec 2003 08:55:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-9-memory-usage/m-p/3151635#M901172</guid>
      <dc:creator>Jean-Luc Oudart</dc:creator>
      <dc:date>2003-12-23T08:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle 9 memory usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-9-memory-usage/m-p/3151636#M901173</link>
      <description>jeff &lt;BR /&gt;dbc_max at 20 and dbc_min at 5&lt;BR /&gt;regards</description>
      <pubDate>Tue, 23 Dec 2003 09:33:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-9-memory-usage/m-p/3151636#M901173</guid>
      <dc:creator>system administrator_15</dc:creator>
      <dc:date>2003-12-23T09:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle 9 memory usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-9-memory-usage/m-p/3151637#M901174</link>
      <description>1.  Check dbc_min_pct and dbc_max_pct set to 5% and 10% respectively.&lt;BR /&gt;&lt;BR /&gt;2.  I have n4000 with 8 GB RAM and 8 cpus, running 5 x 8.1.7 SIDs, in 32-bit mode.  &lt;BR /&gt;&lt;BR /&gt;3.  Run this command to see how big kernel is:&lt;BR /&gt;&lt;BR /&gt;# /usr/contrib/Q4/bin/kmeminfo     &lt;BR /&gt;kmeminfo (3.11)&lt;BR /&gt;libp4 (5.17): Opening /stand/vmunix /dev/kmem&lt;BR /&gt;&lt;BR /&gt;Loading symbols from /stand/vmunix&lt;BR /&gt;&lt;BR /&gt;======================================================================&lt;BR /&gt;Date: Tue Dec 23 09:26:56 2003&lt;BR /&gt;&lt;BR /&gt;Processing pfdat table (2042785 entries)...&lt;BR /&gt;&lt;BR /&gt;----------------------------------------------------------------------&lt;BR /&gt;Physical memory usage summary (in pages):&lt;BR /&gt;&lt;BR /&gt;Physmem        = 2097152  Available physical memory:&lt;BR /&gt;  Freemem      = 1237900    Free physical memory&lt;BR /&gt;  Used         =  859252    Used physical memory:&lt;BR /&gt;    System     =  353451      by kernel:&lt;BR /&gt;      Static   =   54367        for text and static data&lt;BR /&gt;      Dynamic  =   85226        for dynamic data&lt;BR /&gt;      Bufcache =  209715        for file-system buffer cache&lt;BR /&gt;      Eqmem    =      47        for equiv. mapped page pool&lt;BR /&gt;      SCmem    =    4096        for system critical page pool&lt;BR /&gt;    User       =  459056      by user processes&lt;BR /&gt;      Uarea    =    3856        for thread uareas&lt;BR /&gt;    Disowned   =   50864      disowned pages&lt;BR /&gt;&lt;BR /&gt;------------------------------------------------------------&lt;BR /&gt;&lt;BR /&gt;  A page is 4096 bytes.  My kernel is 353451 pages = 1.2 GB.  I have then 8 - 1.2 GB = 6.8 GB free memory.&lt;BR /&gt;&lt;BR /&gt;  You probably only have 4 - 1.2 GB = 2.8 GB free memory (assuming your kernel is similar tto mine.)  &lt;BR /&gt;&lt;BR /&gt;  If you divide 2.8 GB / 8 SIDs you get 350 MB SGA for each SID.  &lt;BR /&gt;&lt;BR /&gt;  So, as stated above, buy more memory or tell your DBAs to cut the SGA back to 350 MB for each SID.&lt;BR /&gt;  &lt;BR /&gt;  I'd buy more memory.&lt;BR /&gt;&lt;BR /&gt;  Are you running in 64-bit mode?  If so you can have bigger shared memory-s.  But you don't have memory for it.</description>
      <pubDate>Tue, 23 Dec 2003 09:33:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-9-memory-usage/m-p/3151637#M901174</guid>
      <dc:creator>Stuart Abramson_2</dc:creator>
      <dc:date>2003-12-23T09:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle 9 memory usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-9-memory-usage/m-p/3151638#M901175</link>
      <description>Free memory is not important in a virtual memory system such as HP-UX. What is important is the page-out rate over time. Use vmstat (or Glance) and if page-outs are in single digitas, you're fine. Double digits mean that more RAM will speed things up a bit, and triple digits means mandatory RAM (at least double) or live with very slow response times. Reducing SGA will prevent page-outs (swapping) but at the expense of Oracle spending a lot more time on disk.&lt;BR /&gt; &lt;BR /&gt;maxtsiz never needs to be changed for Oracle. maxdsiz is only for 32bit applications, maxdsiz_64 is for 64bit programs, but if the programs run, there is no need to change. The maxdsiz* values are protection limits of fences to prevent runaway programs from grabbing unlimited amounts of RAM. A program will abort with out of local memeory error if maxdsiz* is set too low. Be careful though, Oracle reports memory problems without telling you if the memory problem is local or in shared memory.</description>
      <pubDate>Tue, 23 Dec 2003 09:45:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-9-memory-usage/m-p/3151638#M901175</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2003-12-23T09:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle 9 memory usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-9-memory-usage/m-p/3151639#M901176</link>
      <description>here's my output&lt;BR /&gt;Date: Tue Dec 23 14:42:03 2003&lt;BR /&gt;&lt;BR /&gt;Processing pfdat table (1021904 entries)...&lt;BR /&gt;&lt;BR /&gt;----------------------------------------------------------------------&lt;BR /&gt;Physical memory usage summary (in pages):&lt;BR /&gt;&lt;BR /&gt;Physmem        = 1048576  Available physical memory:&lt;BR /&gt;  Freemem      =   10140    Free physical memory&lt;BR /&gt;  Used         = 1038436    Used physical memory:&lt;BR /&gt;    System     =  209706      by kernel:&lt;BR /&gt;      Static   =   26672        for text and static data&lt;BR /&gt;      Dynamic  =       0        for dynamic data&lt;BR /&gt;      Bufcache =  183003        for file-system buffer cache&lt;BR /&gt;      Eqmem    =      31        for equiv. mapped page pool&lt;BR /&gt;      SCmem    =       0        for system critical page pool&lt;BR /&gt;    User       =  684541      by user processes&lt;BR /&gt;      Uarea    =    3040        for thread uareas&lt;BR /&gt;    Disowned   =   26158      disowned pages&lt;BR /&gt;&lt;BR /&gt;----------------------------------------------------------------------&lt;BR /&gt;Dynamic memory usage summary (in pages):&lt;BR /&gt;&lt;BR /&gt;Dynamic        =       0  Kernel dynamic data (sysmap):&lt;BR /&gt;  MALLOC       =       0    memory buckets:&lt;BR /&gt;    bucket[ 5] =       0      size    32 bytes&lt;BR /&gt;    bucket[ 6] =       0      size    64 bytes&lt;BR /&gt;    bucket[ 7] =       0      size   128 bytes&lt;BR /&gt;    bucket[ 8] =       0      size   256 bytes&lt;BR /&gt;    bucket[ 9] =       0      size   512 bytes&lt;BR /&gt;    bucket[10] =       0      size  1024 bytes&lt;BR /&gt;    bucket[11] =       0      size  2048 bytes&lt;BR /&gt;    bucket[12] =       0      size  4096 bytes&lt;BR /&gt;    bucket[13] =       0      size     2 pages&lt;BR /&gt;    bucket[14] =       0      size     3 pages&lt;BR /&gt;    bucket[15] =       0      size     4 pages&lt;BR /&gt;    bucket[16] =       0      size     5 pages&lt;BR /&gt;    bucket[17] =       0      size     6 pages&lt;BR /&gt;    bucket[18] =       0      size     7 pages&lt;BR /&gt;    bucket[19] =       0      size     8 pages&lt;BR /&gt;    bucket[20] =       0      size &amp;gt;   8 pages&lt;BR /&gt;  Kalloc       =       0    kalloc()&lt;BR /&gt;  Eqalloc      =       0    eqalloc()&lt;BR /&gt;  Reserved     =       0    Reserved pools&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;so if iam reading correctly i have 838mb assigned to kernal and therefore leaving 3.2 for users at the moment.&lt;BR /&gt;regards&lt;BR /&gt;andym</description>
      <pubDate>Tue, 23 Dec 2003 09:47:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-9-memory-usage/m-p/3151639#M901176</guid>
      <dc:creator>system administrator_15</dc:creator>
      <dc:date>2003-12-23T09:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle 9 memory usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-9-memory-usage/m-p/3151640#M901177</link>
      <description>Hi Andrew!&lt;BR /&gt;&lt;BR /&gt;I just want to emphasize Bill Hassell's reply and two of his points above...&lt;BR /&gt;(1) Physical memory all used is not a bad thing.  You have to look at other metrics such as page-out rate to conclude that you have a memory problem.&lt;BR /&gt;(2) The kernel parameters referenced above "allow" an application to work and are not associated with performance per se.&lt;BR /&gt;&lt;BR /&gt;Now, in many cases, Oracle performance problems are caused by disk bottlenecks.  Therefore, in trying to improve Oracle performance when problems are due to disk, "the best I/O is no I/O".&lt;BR /&gt;(a) That means that if an application is doing multiple updates to a row, try to do multiple changes with one update.&lt;BR /&gt;(b) If a large SQL is not using an index resulting in a tablespace scan, try to put an index on it.&lt;BR /&gt;(c) If a SQL is selecting a lot of columns when only a few are needed, create a view to select only the needed columns.&lt;BR /&gt;(d) If the cache hit ratio (Oracle SGA or disk DBC) is low, try to increase them to improve cache hit ratio reducing physical I/O's.&lt;BR /&gt;(e) If you have two paths to the same device (e.g., HP DS2100 series, EMC open systems storage), but only one path is in use, try to "pvchange" (temporary change, does not survive a reboot) or "vgreduce/vgextend" (permanent change, but do it very carefully) to have some devices use one interface and others the other.&lt;BR /&gt;(f) If the physical I/O's are concentrated on one physical device, try to move database objects around to spread the I/O.&lt;BR /&gt;(g) If manual load balancing doesn't work, consider HP-UX LVM striping or extent-based striping or EMC striped metavolumes to levelize the load on multiple devices.&lt;BR /&gt;(h) And so on.&lt;BR /&gt;All these ideas will either reduce the total number of physical I/O's, or move some physical I/O's from one device where it may be causing a bottleneck to other devices that may not be as busy.  I cannot overemphasize the importance of the DBA working closely with the application developers to design efficient SQL.  Avoiding unnecessary I/O's right from the code design will potentially reduce the likelihood of problems later.  (Unfortunately, this may be more difficult with vendor-provided code, but you have to try.)&lt;BR /&gt;&lt;BR /&gt;Good luck!&lt;BR /&gt;&lt;BR /&gt;=:-)  Alex&lt;BR /&gt;</description>
      <pubDate>Fri, 26 Dec 2003 07:51:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-9-memory-usage/m-p/3151640#M901177</guid>
      <dc:creator>Alex Ostapenko</dc:creator>
      <dc:date>2003-12-26T07:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle 9 memory usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-9-memory-usage/m-p/3151641#M901178</link>
      <description>For oracle - dbc_max_pct should not evaluate to greater than 128 mB, generally speaking.&lt;BR /&gt;&lt;BR /&gt;4 x .03 = 120Mb&lt;BR /&gt;Set dbc_max_pct to 3 - (or max 5)&lt;BR /&gt;dbc_min_pct  to 2 or 3.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;That will help your performance.&lt;BR /&gt;&lt;BR /&gt;Also - You may need to bump these &lt;BR /&gt;&lt;BR /&gt;semmni  600&lt;BR /&gt;semmns  1000&lt;BR /&gt;semmnu   256&lt;BR /&gt;semume   96&lt;BR /&gt;shmmni  850&lt;BR /&gt;shmseg  400&lt;BR /&gt;&lt;BR /&gt;I don't know your database layout, but if that didn't solve it, &lt;BR /&gt;nflocks &amp;gt; 1000&lt;BR /&gt;</description>
      <pubDate>Wed, 31 Dec 2003 09:36:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-9-memory-usage/m-p/3151641#M901178</guid>
      <dc:creator>Jim Butler</dc:creator>
      <dc:date>2003-12-31T09:36:26Z</dc:date>
    </item>
  </channel>
</rss>

