<?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: Perforamnce issue... (dbc_min_pct and dbc_max_pct) in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/perforamnce-issue-dbc-min-pct-and-dbc-max-pct/m-p/4950598#M789997</link>
    <description>Hi Hein, before all, I'm very thankfull for your help.&lt;BR /&gt;&lt;BR /&gt;I'd altered dbc_min and max_pct yesterday, before that, vmstat shows that I had 50 Mb of free memory, and swapinfo -tam, shows that I was not using swap, I did not change oracle memory parameters since that.&lt;BR /&gt;&lt;BR /&gt;So, should I increase dbc_min and max_pct, lets talk... to 5 and 10... And increase sga max size to 3Gb? I did that another time and saw that system become using swap. (It's better that oracle's process uses swap than they have a little memory configuration?).&lt;BR /&gt;&lt;BR /&gt;Back to dbc_max and min_pct...&lt;BR /&gt;Excuse me for that I wrote... When I openned this thread, sar command shows that %iddle was 10% (90% work). But 2 hours agor I discovered that one bad sql instruction was executing and consuming my server (an update of an application that was bad wrote).&lt;BR /&gt;Now, after application's correction, %iddle comes to 65% (sar -ud 3 30), so, I think that dbc_min and max_pct did not influence (too much) in system degradation. I'll increase to 5 and 10% and still looking system performance.&lt;BR /&gt;&lt;BR /&gt;I could increase db_cache_size, but I'm still confusing about swap use for oracle processes.&lt;BR /&gt;I could increase pga_aggregate_target too, but I'll need to tune memory between db_cache_size and pga_aggregate_target.&lt;BR /&gt;&lt;BR /&gt;About &amp;gt;&amp;gt; max_dispatchers=100.&lt;BR /&gt;My system always use 5 dispatchers, the max_dispatchers parameters will not influence in system performance... Will it??? (ok... if a huge number of connections are made at same tame.... It probably will not occur...).&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; max_shared_servers=50&lt;BR /&gt;It is setted to 50 becouse one application has an bug, that causes enqueue... I asked for correction but It not comes until now... so I increase this number to free another applications to run. (it was setted to 20 and my database crashes)...&lt;BR /&gt;&lt;BR /&gt;About add and delete indexes, I'd passed an explanation to applications providers, showing what indexes are needed and what are not used... I'm waiting theyer response...&lt;BR /&gt;&lt;BR /&gt;I'll take a closer look at executions plans.&lt;BR /&gt;&lt;BR /&gt;My biggest doubt is about swap...&lt;BR /&gt;&lt;BR /&gt;Thanks for response.&lt;BR /&gt;And excuse me for my long response time.</description>
    <pubDate>Fri, 06 Jan 2006 11:35:45 GMT</pubDate>
    <dc:creator>unimedriopreto</dc:creator>
    <dc:date>2006-01-06T11:35:45Z</dc:date>
    <item>
      <title>Perforamnce issue... (dbc_min_pct and dbc_max_pct)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perforamnce-issue-dbc-min-pct-and-dbc-max-pct/m-p/4950582#M789981</link>
      <description>Hi all.&lt;BR /&gt;I'm having performance problems in my production system.&lt;BR /&gt;My server configuration is:&lt;BR /&gt;rp3410 2x800 Mhz Processor&lt;BR /&gt;4096 MB of RAM&lt;BR /&gt;6x73Gb 15000RPM Hd.&lt;BR /&gt;S.O. HP-UX 11.11&lt;BR /&gt;Oracle 9.2.0.7.&lt;BR /&gt;All the day overall consume of server is very high(about 90%). I have 230 users connected and about 3 active users at same time.&lt;BR /&gt;I read about dbc_min_pct and dbc_max_pct, that if result of "sar -b" shows low %rcache and %wcache, I shoud lower dbc_min and max_pct to increase this results, and so, gain performance.&lt;BR /&gt;Yesterday I setted this tow kernel parameters to 3%, and now I'd verified that system performance slow down.&lt;BR /&gt;When I execute "sar -b 3 25" the avagere result is:&lt;BR /&gt;342 585 41 316 317 0 0 0.&lt;BR /&gt;%rcache is 41 and %wcache is 0....&lt;BR /&gt;Is this a problem?&lt;BR /&gt;How can I increase my server capacity?&lt;BR /&gt;I use only Oracle in this server.&lt;BR /&gt;I'd changed the following kerner parameters too:&lt;BR /&gt;DBC_MAX_PCT 3&lt;BR /&gt;DBC_MIN_PCT 3&lt;BR /&gt;KSI_ALLOC_MAX 32768&lt;BR /&gt;MAX_THREAD_PROC 1024&lt;BR /&gt;MAXDSIZ 1073741824 bytes&lt;BR /&gt;MAXDSIZ_64BIT  2147483648 bytes&lt;BR /&gt;MAXSSIZ  134217728 bytes&lt;BR /&gt;MAXSSIZ_64BIT  1073741824 bytes&lt;BR /&gt;MAXSWAPCHUNKS  16384*&lt;BR /&gt;MAXUPRC  3686&lt;BR /&gt;MSGMAP  4098&lt;BR /&gt;MSGMNI  4096&lt;BR /&gt;MSGSEG  32767&lt;BR /&gt;MSGTQL  4096&lt;BR /&gt;NCALLOUT  7200&lt;BR /&gt;NCSIZE  35840&lt;BR /&gt;NFILE  63488&lt;BR /&gt;NFLOCKS  4096&lt;BR /&gt;NINODE  34816&lt;BR /&gt;NKTHREAD  7184&lt;BR /&gt;NPROC  4096&lt;BR /&gt;SEMMAP  4098&lt;BR /&gt;SEMMNI  4096&lt;BR /&gt;SEMMNS  8192&lt;BR /&gt;SEMMNU  4092&lt;BR /&gt;SEMVMX  32767&lt;BR /&gt;SHMMAX  3221225472&lt;BR /&gt;SHMMIN  &lt;BR /&gt;SHMMNI  512&lt;BR /&gt;SHMSEG  32&lt;BR /&gt;VPS_CEILING  64&lt;BR /&gt;&lt;BR /&gt;Are they correct?&lt;BR /&gt;How can I better my system performance?&lt;BR /&gt;&lt;BR /&gt;Thank for all help</description>
      <pubDate>Fri, 06 Jan 2006 06:22:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perforamnce-issue-dbc-min-pct-and-dbc-max-pct/m-p/4950582#M789981</guid>
      <dc:creator>unimedriopreto</dc:creator>
      <dc:date>2006-01-06T06:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: Perforamnce issue... (dbc_min_pct and dbc_max_pct)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perforamnce-issue-dbc-min-pct-and-dbc-max-pct/m-p/4950583#M789982</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;I'd normally suggest that you balance buffer cache at around 400-600Mb, but you only have a small amount of RAM.  How much physical memory do you have free (ie. can you afford to set DBC_MAX_PCT to 10 - if so, this would be more desirable).&lt;BR /&gt;&lt;BR /&gt;Keith</description>
      <pubDate>Fri, 06 Jan 2006 06:30:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perforamnce-issue-dbc-min-pct-and-dbc-max-pct/m-p/4950583#M789982</guid>
      <dc:creator>Keith Bryson</dc:creator>
      <dc:date>2006-01-06T06:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: Perforamnce issue... (dbc_min_pct and dbc_max_pct)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perforamnce-issue-dbc-min-pct-and-dbc-max-pct/m-p/4950584#M789983</link>
      <description>Hi Keith.&lt;BR /&gt;Thanks for response.&lt;BR /&gt;I have about 900 Mb of free memory (RAM). I'll try to set dbc_max_pct to 10 (it was setted to 15 yesterday, so I lowered it, and performance come down).&lt;BR /&gt;And about dbc_min_pct, it's recommended to set it to 5% or more? Will I have any problem if I let it to 3%?&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Fri, 06 Jan 2006 06:46:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perforamnce-issue-dbc-min-pct-and-dbc-max-pct/m-p/4950584#M789983</guid>
      <dc:creator>unimedriopreto</dc:creator>
      <dc:date>2006-01-06T06:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: Perforamnce issue... (dbc_min_pct and dbc_max_pct)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perforamnce-issue-dbc-min-pct-and-dbc-max-pct/m-p/4950585#M789984</link>
      <description>You can leave MIN_PCT as it is.&lt;BR /&gt;&lt;BR /&gt;Thanks - K</description>
      <pubDate>Fri, 06 Jan 2006 06:50:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perforamnce-issue-dbc-min-pct-and-dbc-max-pct/m-p/4950585#M789984</guid>
      <dc:creator>Keith Bryson</dc:creator>
      <dc:date>2006-01-06T06:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: Perforamnce issue... (dbc_min_pct and dbc_max_pct)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perforamnce-issue-dbc-min-pct-and-dbc-max-pct/m-p/4950586#M789985</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Increase your dbc_max_pct and dbc_min_pct until you get a "sar -b 3 33" %rcache Average equal or above 90%. Note that those 2 parameters are percentages of Physical memory. In your situation, you need something between 5 and 10 for dbc_max_pct. Also, dbc_min_pct must be less (not equal) than dbc_max_pct: you can begin with dbc_min_pct = 5 and dbc_max_pct = 8 and execute "sar -b 3 33" to see what %rcache average you get.&lt;BR /&gt;&lt;BR /&gt;Finally, you ninode seems oversized: start with 2048 and "sar -v 3 33" and check if you have overflow (ov column next to inod-sz column).&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;&lt;BR /&gt;Eric Antunes&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Jan 2006 06:53:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perforamnce-issue-dbc-min-pct-and-dbc-max-pct/m-p/4950586#M789985</guid>
      <dc:creator>Eric Antunes</dc:creator>
      <dc:date>2006-01-06T06:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: Perforamnce issue... (dbc_min_pct and dbc_max_pct)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perforamnce-issue-dbc-min-pct-and-dbc-max-pct/m-p/4950587#M789986</link>
      <description>Thanks for all explanations.&lt;BR /&gt;I'll try to set dbc_max_pct to 10 and dbc_min_pct to 5.&lt;BR /&gt;I'll set ninode to 2048 (when I execute sar -v, I see 856/4464 so, 2048 may be a good number).&lt;BR /&gt;And about set nproc to 1024? (sar -v result is 143/4096).&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Jan 2006 07:13:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perforamnce-issue-dbc-min-pct-and-dbc-max-pct/m-p/4950587#M789986</guid>
      <dc:creator>unimedriopreto</dc:creator>
      <dc:date>2006-01-06T07:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: Perforamnce issue... (dbc_min_pct and dbc_max_pct)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perforamnce-issue-dbc-min-pct-and-dbc-max-pct/m-p/4950588#M789987</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;On what criteria you noticed performance degradation? &lt;BR /&gt;When you say 900 MB free memory, should I understand most of the rest is used by oracle (great SGA size)? or is it used by pseudoswap...&lt;BR /&gt;with 4 GB RAM, 500MB-&amp;gt;12 for DBC_MAX_PCT should be plenty enough...&lt;BR /&gt;What is the output of swapinfo -tam?&lt;BR /&gt;&lt;BR /&gt;What size SGA do you have?&lt;BR /&gt;&lt;BR /&gt;Have you tried fine tuning the filesystems?&lt;BR /&gt;(Do you have OnlineJFS?)&lt;BR /&gt;&lt;BR /&gt;All the best&lt;BR /&gt;Victor</description>
      <pubDate>Fri, 06 Jan 2006 07:14:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perforamnce-issue-dbc-min-pct-and-dbc-max-pct/m-p/4950588#M789987</guid>
      <dc:creator>Victor BERRIDGE</dc:creator>
      <dc:date>2006-01-06T07:14:32Z</dc:date>
    </item>
    <item>
      <title>Re: Perforamnce issue... (dbc_min_pct and dbc_max_pct)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perforamnce-issue-dbc-min-pct-and-dbc-max-pct/m-p/4950589#M789988</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;maybe you can also extract a Statspack report of your database during the peek period and get some hints on performance bottlenecks also...&lt;BR /&gt;&lt;BR /&gt;hope this helps too!&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Fri, 06 Jan 2006 07:31:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perforamnce-issue-dbc-min-pct-and-dbc-max-pct/m-p/4950589#M789988</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2006-01-06T07:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: Perforamnce issue... (dbc_min_pct and dbc_max_pct)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perforamnce-issue-dbc-min-pct-and-dbc-max-pct/m-p/4950590#M789989</link>
      <description>Hi,&lt;BR /&gt;I'd saw sar -ud, for a long time, that was showing %idle about 40% all the time, and sometime disk consume(%busy) very hight&lt;BR /&gt;Oracle Enterprise Manager Performance Overview shows about 50% of server consume.&lt;BR /&gt;Top command shows that cpu consume is about 40%.&lt;BR /&gt;Analysing Oracle Perfstat report, I saw that bad SQL instructions was responsable for 70% of server workload, but I'm using and third-part application, and I can't change sql instructions; So I need to "harvest" my server, and let it works as best as it could.&lt;BR /&gt;Oracle SGA configuration is the following:&lt;BR /&gt;&lt;BR /&gt;sga_max_size=2281701376&lt;BR /&gt;large_pool_size=268435456&lt;BR /&gt;shared_pool_size=536870912&lt;BR /&gt;&lt;BR /&gt;log_archive_max_processes=1&lt;BR /&gt;db_block_size=8192&lt;BR /&gt;db_cache_size=1073741824&lt;BR /&gt;db_file_multiblock_read_count=16&lt;BR /&gt;log_buffer=4194304&lt;BR /&gt;&lt;BR /&gt;db_writer_processes=1&lt;BR /&gt;disk_asynch_io=false&lt;BR /&gt;&lt;BR /&gt;open_cursors=300&lt;BR /&gt;job_queue_processes=10&lt;BR /&gt;&lt;BR /&gt;hash_join_enabled=TRUE&lt;BR /&gt;query_rewrite_enabled=TRUE&lt;BR /&gt;star_transformation_enabled=FALSE&lt;BR /&gt;&lt;BR /&gt;processes=150&lt;BR /&gt;sessions=1000&lt;BR /&gt;&lt;BR /&gt;fast_start_mttr_target=300&lt;BR /&gt;log_checkpoint_timeout=0&lt;BR /&gt;&lt;BR /&gt;pga_aggregate_target=268435456&lt;BR /&gt;sort_area_size=4194304&lt;BR /&gt;&lt;BR /&gt;dispatchers="(protocol=TCP)(disp=5)"&lt;BR /&gt;shared_servers=5&lt;BR /&gt;max_dispatchers=100&lt;BR /&gt;max_shared_servers=50&lt;BR /&gt;&lt;BR /&gt;swapinfo -tam shows:&lt;BR /&gt;             Mb      Mb      Mb   PCT  START/      Mb&lt;BR /&gt;TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME&lt;BR /&gt;dev        8192       0    8192    0%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;reserve       -    2641   -2641&lt;BR /&gt;memory     3142      31    3111    1%&lt;BR /&gt;total     11334    2672    8662   24%       -       0    -&lt;BR /&gt;...&lt;BR /&gt;I'm not using swap (paging out). I think that It's very good!&lt;BR /&gt;&lt;BR /&gt;About Online JFS, I don't know nothing about that...&lt;BR /&gt;My disks configuration is:&lt;BR /&gt;2x 73gb hd as VG00 (with lvol level mirror)&lt;BR /&gt;2x 73gb hd as VG01 (with lvol level mirror)&lt;BR /&gt;2x 73gb hd as VG02 (with lvol level mirror)&lt;BR /&gt;lvols created in this VGs, with vxfs filesystem.&lt;BR /&gt;Mirror copies of all lvols.&lt;BR /&gt;S.O., Oracle binaries, redologs, system, temporary and undo datafiles on VG00.&lt;BR /&gt;Data datafiles on VG01.&lt;BR /&gt;Index datafiles on VG02.&lt;BR /&gt;&lt;BR /&gt;How could I get better performance (without and with stripping)?&lt;BR /&gt;Online JFS is a different filesystem than vxfs? Is it better?&lt;BR /&gt;&lt;BR /&gt;Thank all.&lt;BR /&gt;Jefferson.</description>
      <pubDate>Fri, 06 Jan 2006 07:49:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perforamnce-issue-dbc-min-pct-and-dbc-max-pct/m-p/4950590#M789989</guid>
      <dc:creator>unimedriopreto</dc:creator>
      <dc:date>2006-01-06T07:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: Perforamnce issue... (dbc_min_pct and dbc_max_pct)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perforamnce-issue-dbc-min-pct-and-dbc-max-pct/m-p/4950591#M789990</link>
      <description>&amp;gt;&amp;gt;&amp;gt; I read about dbc_min_pct and dbc_max_pct, that if result of "sar -b" shows low %rcache and %wcache, I shoud lower dbc_min and max_pct to increase this results, and so, gain performance.&lt;BR /&gt;&lt;BR /&gt;Only if that memory then gets re-used for more useful purposes. So what other knob did you turn to use the newly availabel memory? That knob should probably be in oracle. If, as you say, this system just runs oracle then any of the kernel tuning knobs, unless completely wrong, will only have a minor effect. &lt;BR /&gt;As you increase dbc_xxx you can and should increase the Oracle SGA cache size to compensate otherwise you will increase the read IO load (as seems to happen)&lt;BR /&gt;&lt;BR /&gt;In a sense the dbc cache is an 'easy', forgiving cache,  lowering it shuld only be done if you fully understand the oracle tuning.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; I'd saw sar -ud, for a long time, that was showing %idle about 40% all the time, and sometime disk consume(%busy) very high&lt;BR /&gt;&lt;BR /&gt;Hmm, initially you wrote high usage: 90%.&lt;BR /&gt;Is this 40% the result of lowering &lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;  I saw that bad SQL instructions was responsable for 70% of server workload&lt;BR /&gt;&lt;BR /&gt;Ah! Now that is good work. That's where you should focus the energy.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; but I'm using and third-part application, and I can't change sql instructions; So I need to "harvest" my server, and let it works as best as it could.&lt;BR /&gt;&lt;BR /&gt;I beg to differ.&lt;BR /&gt;1)  A good oracle resource can still seriously influence the SQL execution, for the better hopefully, without touching the actual SQL code.&lt;BR /&gt;1A) add or deleted indexes&lt;BR /&gt;1B) add execution plan templates&lt;BR /&gt;1C) setting oracle params like CURSOR_SHARING&lt;BR /&gt;1D) setting oracle params to influence the pga / sort spaces&lt;BR /&gt;&lt;BR /&gt;2) a good 3rd party application will appreciate your observation and work with you to improve the situation. Some have ways/repositories to dynamically change the query.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Oracle SGA configuration is the following:&lt;BR /&gt;&amp;gt; sga_max_size=2281701376&lt;BR /&gt;&lt;BR /&gt;Could be ok, but may need 3GB instead of 2 on this 4GB box.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; db_cache_size=1073741824&lt;BR /&gt;&lt;BR /&gt;That's the knwo to increase when decreasing hpux dbc params&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; db_writer_processes=1&lt;BR /&gt;&amp;gt;&amp;gt; disk_asynch_io=false&lt;BR /&gt;&lt;BR /&gt;Thagt seems restrictive and could create a bottleneck&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; pga_aggregate_target=268435456&lt;BR /&gt;&lt;BR /&gt;That may be low for the application.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; max_dispatchers=100&lt;BR /&gt;&lt;BR /&gt;That's just plain wrong!&lt;BR /&gt;It should be 5 or 10, or not be used at all.&lt;BR /&gt;CHeck with your dba! (oh, you are the dba? :-)&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; max_shared_servers=50&lt;BR /&gt;&lt;BR /&gt;Could be ok, but verify.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; I'm not using swap (paging out). I think that It's very good!&lt;BR /&gt;&lt;BR /&gt;Yes and no... there could/should be a little pressure otherwise you are not allowing the system to exploit the physical memory. Lowering dbc restricted physical memory usage for a good (cahing) purpose. Now find something else (in oracle0 to use it for a better purpose. The memory is there to be used, to help you get performance and load up the CPU instead of waiting for the disks.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Good luck,&lt;BR /&gt;Hein.&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Jan 2006 08:20:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perforamnce-issue-dbc-min-pct-and-dbc-max-pct/m-p/4950591#M789990</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2006-01-06T08:20:46Z</dc:date>
    </item>
    <item>
      <title>Re: Perforamnce issue... (dbc_min_pct and dbc_max_pct)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perforamnce-issue-dbc-min-pct-and-dbc-max-pct/m-p/4950592#M789991</link>
      <description>Hi again,&lt;BR /&gt;&lt;BR /&gt;nproc and other parameters are better controlled has a formula because if you change the basic parameters, the depending ones will also get changed. For nproc the formula (20+8*MAXUSERS) is suitable for Oracle OLTP environement. But your value seems enough.&lt;BR /&gt;&lt;BR /&gt;Your db_cache_size is very very big, are you sure you need it this huge?? Try to reduce it to the half and see if you get better performance...&lt;BR /&gt;&lt;BR /&gt;PS: Online JFS enables you to extend online (without rebooting and entering single mode) the volume sizes. It also allows you to use advanced tunning options for file systems such as mincache, etc... &lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;&lt;BR /&gt;Eric Antunes</description>
      <pubDate>Fri, 06 Jan 2006 09:02:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perforamnce-issue-dbc-min-pct-and-dbc-max-pct/m-p/4950592#M789991</guid>
      <dc:creator>Eric Antunes</dc:creator>
      <dc:date>2006-01-06T09:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: Perforamnce issue... (dbc_min_pct and dbc_max_pct)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perforamnce-issue-dbc-min-pct-and-dbc-max-pct/m-p/4950593#M789992</link>
      <description>About your db_cache_size, execute the following SQL statements and check the ratios:&lt;BR /&gt;&lt;BR /&gt;select (bbc.total_waits*100/(cg.value+dbg.value)) "Buff busy ratio ind. &amp;lt;= 0,007"&lt;BR /&gt;from v$system_event bbc,&lt;BR /&gt;v$sysstat cg,  v$sysstat dbg &lt;BR /&gt;where bbc.event='buffer busy waits'&lt;BR /&gt;and cg.name ='consistent gets' &lt;BR /&gt;and dbg.name='db block gets';&lt;BR /&gt;&lt;BR /&gt;select round(((1-(sum(decode(name, 'physical reads', value,0)) / &lt;BR /&gt;(sum(decode(name,'db block gets', value,0))+         &lt;BR /&gt;(sum(decode(name, 'consistent gets', value, 0))))))*100),2)          &lt;BR /&gt;|| '%' "Buffer Cache Hit Ratio &amp;gt; 95%"         &lt;BR /&gt;from v$sysstat;&lt;BR /&gt;&lt;BR /&gt;select round(100 * sum(getmisses) / sum(gets), 2) "Misses Pct &amp;lt; 5%"&lt;BR /&gt;from   v$rowcache&lt;BR /&gt;having sum(gets) &amp;gt; 1000;&lt;BR /&gt;&lt;BR /&gt;select (1-(sum(getmisses)/sum(gets))) * 100 "Hit Ratio"          &lt;BR /&gt;from v$rowcache;&lt;BR /&gt;&lt;BR /&gt;Also this one in sqlplus (in Oracle 8 this was a svrmgrl command only) and post the results here:&lt;BR /&gt;&lt;BR /&gt;SQL&amp;gt; connect / as sysdba;&lt;BR /&gt;Connected.&lt;BR /&gt;SQL&amp;gt; SHOW SGA;&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;&lt;BR /&gt;Eric Antunes</description>
      <pubDate>Fri, 06 Jan 2006 09:25:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perforamnce-issue-dbc-min-pct-and-dbc-max-pct/m-p/4950593#M789992</guid>
      <dc:creator>Eric Antunes</dc:creator>
      <dc:date>2006-01-06T09:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: Perforamnce issue... (dbc_min_pct and dbc_max_pct)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perforamnce-issue-dbc-min-pct-and-dbc-max-pct/m-p/4950594#M789993</link>
      <description>Hi Eric.&lt;BR /&gt;I'm sending values from sqls that you told me to execute.&lt;BR /&gt;I think that returned values are ok.&lt;BR /&gt;I'm curious about what you say about db_cache_size. A bigger value will not improve performance?&lt;BR /&gt;My buffer cache hit is higth, if I increase db_cache_size, Will not I increase a little more this number? Isn't It better?&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Fri, 06 Jan 2006 10:35:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perforamnce-issue-dbc-min-pct-and-dbc-max-pct/m-p/4950594#M789993</guid>
      <dc:creator>unimedriopreto</dc:creator>
      <dc:date>2006-01-06T10:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: Perforamnce issue... (dbc_min_pct and dbc_max_pct)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perforamnce-issue-dbc-min-pct-and-dbc-max-pct/m-p/4950595#M789994</link>
      <description>Hi again,&lt;BR /&gt;&lt;BR /&gt;"I'm curious about what you say about db_cache_size. A bigger value will not improve performance?&lt;BR /&gt;My buffer cache hit is higth, if I increase db_cache_size, Will not I increase a little more this number? Isn't It better?" &lt;BR /&gt;&lt;BR /&gt;No. There is a point at which you don't get any performance value just increasing the SGA. There is much more things to check than SGA: &lt;BR /&gt;&lt;BR /&gt;- sort_area_size=4194304. You must be aware that this is a EACH SESSION value (that's why you need that huge SGA...)&lt;BR /&gt;&lt;BR /&gt;- Log swichs/checkpoint (what is the rate? Set "log_checkpoint_alert = true" to analyse this in the alert_&lt;SID&gt;.log)&lt;BR /&gt;&lt;BR /&gt;- Tablespace Fragmentation (How is it? OEM Tablespace Manager)&lt;BR /&gt;&lt;BR /&gt;- Who are the eavy guys and what are they doing? &lt;BR /&gt;&lt;BR /&gt;"select substr(s.username,1,20) "User Name",&lt;BR /&gt;s.osuser "OS User",&lt;BR /&gt;s.status "Status",&lt;BR /&gt;lockwait "Lock Wait",&lt;BR /&gt;substr(s.program,1,30) "Program",&lt;BR /&gt;substr(s.machine,1,15) "Machine",&lt;BR /&gt;substr(du.user_name,1,20) "Apps User Name",&lt;BR /&gt;s.logon_time "Connect Time",&lt;BR /&gt;p.program "P Program",&lt;BR /&gt;si.physical_reads "Physical Reads",&lt;BR /&gt;si.block_gets "Block Gets",&lt;BR /&gt;si.consistent_gets "Consistent Gets",&lt;BR /&gt;si.block_changes "Block Changes",&lt;BR /&gt;si.consistent_changes "Consistent Changes",&lt;BR /&gt;s.process "Process PID",&lt;BR /&gt;p.spid, p.pid, s.serial#, si.sid&lt;BR /&gt;from sys.v_$sess_io si, sys.v_$session s, sys.v_$process p, system.dba_usersess du&lt;BR /&gt;where s.username is not null and &lt;BR /&gt;si.sid(+)=s.sid&lt;BR /&gt;and p.addr(+)=s.paddr&lt;BR /&gt;and (si.consistent_gets &amp;gt; 10000 or si.block_gets &amp;gt; 10000)&lt;BR /&gt;and du.sid=s.sid&lt;BR /&gt;order by si.consistent_gets+si.block_gets desc"&lt;BR /&gt;&lt;BR /&gt;- Chainning? What is the ratio? &lt;BR /&gt;&lt;BR /&gt;- Etc...&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;&lt;BR /&gt;Eric Antunes&lt;BR /&gt;&lt;BR /&gt;&lt;/SID&gt;</description>
      <pubDate>Fri, 06 Jan 2006 11:00:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perforamnce-issue-dbc-min-pct-and-dbc-max-pct/m-p/4950595#M789994</guid>
      <dc:creator>Eric Antunes</dc:creator>
      <dc:date>2006-01-06T11:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: Perforamnce issue... (dbc_min_pct and dbc_max_pct)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perforamnce-issue-dbc-min-pct-and-dbc-max-pct/m-p/4950596#M789995</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;From the last query remove the du columns since system.dba_usersess it is one of the customized views I have...</description>
      <pubDate>Fri, 06 Jan 2006 11:07:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perforamnce-issue-dbc-min-pct-and-dbc-max-pct/m-p/4950596#M789995</guid>
      <dc:creator>Eric Antunes</dc:creator>
      <dc:date>2006-01-06T11:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: Perforamnce issue... (dbc_min_pct and dbc_max_pct)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perforamnce-issue-dbc-min-pct-and-dbc-max-pct/m-p/4950597#M789996</link>
      <description>Eric,&lt;BR /&gt;&lt;BR /&gt;I beg to differ with many, if not most, of your points and approaches. Send me an Email if you want to discuss a little bit,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; "I'm curious about what you say about db_cache_size. A bigger value will not improve performance?&lt;BR /&gt;My buffer cache hit is higth, if I increase db_cache_size, Will not I increase a little more this number? Isn't It better?"&lt;BR /&gt;&lt;BR /&gt;I believe so. Even if your hit rate is 99,9%, but there are still hundreds of reads per second, then possibly more cache is needed and/or better query plans.&lt;BR /&gt;&lt;BR /&gt;For further reading check out documents like: &lt;A href="http://www.hotsos.com/e-library/abstract.php?id=6" target="_blank"&gt;http://www.hotsos.com/e-library/abstract.php?id=6&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Eric&amp;gt; No. There is a point at which you don't get any performance value just increasing the SGA. &lt;BR /&gt;&lt;BR /&gt;Hmmm, that's hard to imagine, unless the memory can be used better elsewhere (processes, dbc)&lt;BR /&gt;&lt;BR /&gt;Eric&amp;gt; There is much more things to check than SGA:&lt;BR /&gt;&lt;BR /&gt;Absolutely&lt;BR /&gt;&lt;BR /&gt;Eric&amp;gt; - sort_area_size=4194304. You must be aware that this is a EACH SESSION value (that's why you need that huge SGA...)&lt;BR /&gt;&lt;BR /&gt;Per process yes, from the SGA... NO. From the PGA_aggregates.&lt;BR /&gt;Please be sure to read up on the interaction of the individual setting line sort_area_size vs the global pga_aggregate-target.&lt;BR /&gt;&lt;BR /&gt;Eric&amp;gt; - Log swichs/checkpoint (what is the rate? Set "log_checkpoint_alert = true" to analyse this in the alert_&lt;SID&gt;.log)&lt;BR /&gt;&lt;BR /&gt;Right. Too often we see very small redo log forcing early checkpoint. But here MTTR is used which does put a slightly different spin on things.&lt;BR /&gt;&lt;BR /&gt;Statspack data would be the best to understand where to focus next, but that quickly turns in to 'real work' vs 'trying to help a little'.&lt;BR /&gt;&lt;BR /&gt;Hope this helps someone somewhere,&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Hein.&lt;BR /&gt;&lt;/SID&gt;</description>
      <pubDate>Fri, 06 Jan 2006 11:20:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perforamnce-issue-dbc-min-pct-and-dbc-max-pct/m-p/4950597#M789996</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2006-01-06T11:20:28Z</dc:date>
    </item>
    <item>
      <title>Re: Perforamnce issue... (dbc_min_pct and dbc_max_pct)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perforamnce-issue-dbc-min-pct-and-dbc-max-pct/m-p/4950598#M789997</link>
      <description>Hi Hein, before all, I'm very thankfull for your help.&lt;BR /&gt;&lt;BR /&gt;I'd altered dbc_min and max_pct yesterday, before that, vmstat shows that I had 50 Mb of free memory, and swapinfo -tam, shows that I was not using swap, I did not change oracle memory parameters since that.&lt;BR /&gt;&lt;BR /&gt;So, should I increase dbc_min and max_pct, lets talk... to 5 and 10... And increase sga max size to 3Gb? I did that another time and saw that system become using swap. (It's better that oracle's process uses swap than they have a little memory configuration?).&lt;BR /&gt;&lt;BR /&gt;Back to dbc_max and min_pct...&lt;BR /&gt;Excuse me for that I wrote... When I openned this thread, sar command shows that %iddle was 10% (90% work). But 2 hours agor I discovered that one bad sql instruction was executing and consuming my server (an update of an application that was bad wrote).&lt;BR /&gt;Now, after application's correction, %iddle comes to 65% (sar -ud 3 30), so, I think that dbc_min and max_pct did not influence (too much) in system degradation. I'll increase to 5 and 10% and still looking system performance.&lt;BR /&gt;&lt;BR /&gt;I could increase db_cache_size, but I'm still confusing about swap use for oracle processes.&lt;BR /&gt;I could increase pga_aggregate_target too, but I'll need to tune memory between db_cache_size and pga_aggregate_target.&lt;BR /&gt;&lt;BR /&gt;About &amp;gt;&amp;gt; max_dispatchers=100.&lt;BR /&gt;My system always use 5 dispatchers, the max_dispatchers parameters will not influence in system performance... Will it??? (ok... if a huge number of connections are made at same tame.... It probably will not occur...).&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; max_shared_servers=50&lt;BR /&gt;It is setted to 50 becouse one application has an bug, that causes enqueue... I asked for correction but It not comes until now... so I increase this number to free another applications to run. (it was setted to 20 and my database crashes)...&lt;BR /&gt;&lt;BR /&gt;About add and delete indexes, I'd passed an explanation to applications providers, showing what indexes are needed and what are not used... I'm waiting theyer response...&lt;BR /&gt;&lt;BR /&gt;I'll take a closer look at executions plans.&lt;BR /&gt;&lt;BR /&gt;My biggest doubt is about swap...&lt;BR /&gt;&lt;BR /&gt;Thanks for response.&lt;BR /&gt;And excuse me for my long response time.</description>
      <pubDate>Fri, 06 Jan 2006 11:35:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perforamnce-issue-dbc-min-pct-and-dbc-max-pct/m-p/4950598#M789997</guid>
      <dc:creator>unimedriopreto</dc:creator>
      <dc:date>2006-01-06T11:35:45Z</dc:date>
    </item>
    <item>
      <title>Re: Perforamnce issue... (dbc_min_pct and dbc_max_pct)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perforamnce-issue-dbc-min-pct-and-dbc-max-pct/m-p/4950599#M789998</link>
      <description>Eric this is executions results...&lt;BR /&gt;SQL&amp;gt; &lt;BR /&gt;SQL&amp;gt; select (bbc.total_waits*100/(cg.value+dbg.value)) "Buff busy ratio ind. &amp;lt;= 0,007"&lt;BR /&gt;  2  from v$system_event bbc,&lt;BR /&gt;  3  v$sysstat cg, v$sysstat dbg&lt;BR /&gt;  4  where bbc.event='buffer busy waits'&lt;BR /&gt;  5  and cg.name ='consistent gets'&lt;BR /&gt;  6  and dbg.name='db block gets';&lt;BR /&gt;&lt;BR /&gt;Buff busy ratio ind. &amp;lt;= 0,007&lt;BR /&gt;-----------------------------&lt;BR /&gt;         0,000457823537197533&lt;BR /&gt;&lt;BR /&gt;SQL&amp;gt; ;&lt;BR /&gt;SQL&amp;gt; &lt;BR /&gt;SQL&amp;gt; select round(((1-(sum(decode(name, 'physical reads', value,0)) /&lt;BR /&gt;  2  (sum(decode(name,'db block gets', value,0))+&lt;BR /&gt;  3  (sum(decode(name, 'consistent gets', value, 0))))))*100),2)&lt;BR /&gt;  4  || '%' "Buffer Cache Hit Ratio &amp;gt; 95%"&lt;BR /&gt;  5  from v$sysstat;&lt;BR /&gt;&lt;BR /&gt;Buffer Cache Hit Ratio &amp;gt; 95%&lt;BR /&gt;-----------------------------------------&lt;BR /&gt;96,66%&lt;BR /&gt;&lt;BR /&gt;SQL&amp;gt; &lt;BR /&gt;SQL&amp;gt; select round(100 * sum(getmisses) / sum(gets), 2) "Misses Pct &amp;lt; 5%"&lt;BR /&gt;  2  from v$rowcache&lt;BR /&gt;  3  having sum(gets) &amp;gt; 1000;&lt;BR /&gt;&lt;BR /&gt;Misses Pct &amp;lt; 5%&lt;BR /&gt;---------------&lt;BR /&gt;           0,75&lt;BR /&gt;&lt;BR /&gt;SQL&amp;gt; &lt;BR /&gt;SQL&amp;gt; select (1-(sum(getmisses)/sum(gets))) * 100 "Hit Ratio"&lt;BR /&gt;  2  from v$rowcache;&lt;BR /&gt;&lt;BR /&gt; Hit Ratio&lt;BR /&gt;----------&lt;BR /&gt;99,2453743&lt;BR /&gt;&lt;BR /&gt;Attached will be your last requisition about who are executing what....&lt;BR /&gt;but I need to do some modifications, becouse I do not have one table.&lt;BR /&gt;&lt;BR /&gt;Tanks...&lt;BR /&gt;Jefferson.</description>
      <pubDate>Fri, 06 Jan 2006 11:46:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perforamnce-issue-dbc-min-pct-and-dbc-max-pct/m-p/4950599#M789998</guid>
      <dc:creator>unimedriopreto</dc:creator>
      <dc:date>2006-01-06T11:46:58Z</dc:date>
    </item>
    <item>
      <title>Re: Perforamnce issue... (dbc_min_pct and dbc_max_pct)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perforamnce-issue-dbc-min-pct-and-dbc-max-pct/m-p/4950600#M789999</link>
      <description>Hi&lt;BR /&gt;Pleass post result of:&lt;BR /&gt;#swlist |grep OnLineJFS&lt;BR /&gt;and&lt;BR /&gt;#mount -v&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;LiPEnS</description>
      <pubDate>Fri, 06 Jan 2006 11:47:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perforamnce-issue-dbc-min-pct-and-dbc-max-pct/m-p/4950600#M789999</guid>
      <dc:creator>LiPEnS</dc:creator>
      <dc:date>2006-01-06T11:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: Perforamnce issue... (dbc_min_pct and dbc_max_pct)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perforamnce-issue-dbc-min-pct-and-dbc-max-pct/m-p/4950601#M790000</link>
      <description>Hein,&lt;BR /&gt;&lt;BR /&gt;Be confortable to desagree but then Oracle also desagrees with you until Oracle 8i: read Metalink Note 100709.1 (Top 8 init.ora Parameters Affecting Performance) and tell me something about the recomendations. They are wrong or 9i is a revolution??&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;About Buffer Cache, better query plans is definitively the way to go. Try to solve with more buffer cache a full scan in a millions records table!&lt;BR /&gt;&lt;BR /&gt;From the above refered note: &lt;BR /&gt;&lt;BR /&gt;"...If the value is set too high, swapping will began to occur on the OS and the &lt;BR /&gt;system may come to a halt."&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;About SGA:&lt;BR /&gt;&lt;BR /&gt;"...We have discussed having the Shared_Pool_Size set too low, but adverse effects&lt;BR /&gt;may comes from setting the Shared_Pool_Size too high as well.  Having the&lt;BR /&gt;shared pool set too large increase the probability of latch contention when the&lt;BR /&gt;database needs to find a free peace of memory to load a new statement.&lt;BR /&gt;You can query v$sgastat to show the available free memory. This will tell you&lt;BR /&gt;memory is being wasted.  As an example, let's look at the following problem:&lt;BR /&gt;&lt;BR /&gt;         select name, bytes/1024/1024 "Size in MB"&lt;BR /&gt;         from v$sgastat&lt;BR /&gt;         where name='free memory';&lt;BR /&gt;&lt;BR /&gt;You should see output similar to the following:&lt;BR /&gt; &lt;BR /&gt;         NAME  Size in MB&lt;BR /&gt;  Free memory 39.6002884&lt;BR /&gt;&lt;BR /&gt;What this return would tell you is that there is 39M of free memory in the&lt;BR /&gt;shared pool, which would mean that the shared pool is being under utilized.&lt;BR /&gt;If the shared pool was 70M, over half of it would be under utilized.  This &lt;BR /&gt;memory could be allocated elsewhere..."&lt;BR /&gt;&lt;BR /&gt;Elsewhere is of course OS, applications, etc...&lt;BR /&gt;&lt;BR /&gt;About sort_area_size:&lt;BR /&gt;&lt;BR /&gt;Yes, it is outside the SGA but it is memory used by each user process for sorting...&lt;BR /&gt;&lt;BR /&gt;From Note:&lt;BR /&gt;&lt;BR /&gt;"...The SORT_AREA_SIZE is an oft-misunderstood init.ora parameter.  Many believe&lt;BR /&gt;that this parameter is an amount allocated for the users as a whole in terms&lt;BR /&gt;of sorting.  Not true, the SORT_AREA_SIZE is what Oracle allocates per &lt;BR /&gt;user process for sorting data.  Unlike the two previous parameters, the&lt;BR /&gt;SORT_AREA_SIZE is outside of the SGA..."&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;&lt;BR /&gt;Eric Antunes&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Jan 2006 11:55:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perforamnce-issue-dbc-min-pct-and-dbc-max-pct/m-p/4950601#M790000</guid>
      <dc:creator>Eric Antunes</dc:creator>
      <dc:date>2006-01-06T11:55:05Z</dc:date>
    </item>
  </channel>
</rss>

