<?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: Poor Oracle Performance in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/poor-oracle-performance/m-p/3396454#M862686</link>
    <description>I'd say why do you want to do DBA job? Is it because of lack of one? If the production system is of any value, then get the DBA involved. How would you feel having a DBA do System Admin job?&lt;BR /&gt;&lt;BR /&gt;As a DBA and ex system admin, the best place to look for the cause of the bottleneck  is the Oracle wait events. Start with:&lt;BR /&gt;select * from v$waitstat. This gives you overall health of the database at a glance. &lt;BR /&gt;&lt;BR /&gt;Later, run this one to begin to isolate them.&lt;BR /&gt;select sid, event, p1text, p1, p2text, p2, wait_time, state &lt;BR /&gt;FROM v$session_wait&lt;BR /&gt;ORDER BY wait_time.&lt;BR /&gt;&lt;BR /&gt;Be sure to exlude such events as (rdbms,SQL*,Pipe) These are simply users having idle sessions and  are not relevant. You will be able to find the sessions waiting for a particular event and then wear you DBA hat to trouble shoot it.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;Good luck&lt;BR /&gt;Mel&lt;BR /&gt;&lt;BR /&gt;While running the</description>
    <pubDate>Sun, 10 Oct 2004 20:24:05 GMT</pubDate>
    <dc:creator>Mel_12</dc:creator>
    <dc:date>2004-10-10T20:24:05Z</dc:date>
    <item>
      <title>Poor Oracle Performance</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/poor-oracle-performance/m-p/3396442#M862674</link>
      <description>We're experiencing poor performance on our Oracle system and could really use a hand nailing down the problem.  &lt;BR /&gt;&lt;BR /&gt;Essentially the database users are complaining about really long load times.  The machine is a 16 cpu 9000/800/V2600 with 16Gb of RAM, with all oracle data residing on EMC SAN connected drives.  OS is HP-UX 11.00 and Oracle is version 8, and estimated size is about 1Tb.&lt;BR /&gt;&lt;BR /&gt;Sar data is showing very poor service times, averaging about 20-30ms across most SAN connected devices.  &lt;BR /&gt;&lt;BR /&gt;Things we've checked:&lt;BR /&gt;1)  The Symmetrix.. it looks healthy.  The disks on the backend aren't even close to being fully utilized.&lt;BR /&gt;2)  Powerpath and the HBAS.  EMCGrab was run and came back clean.&lt;BR /&gt;3)  GlancePlus shows a number of disks being over utilized.&lt;BR /&gt;4)  CPU's aren't being maxed out&lt;BR /&gt;5)  No system swapping at all.&lt;BR /&gt;&lt;BR /&gt;My guess is that either kernel isn't properly configured or the filesystems aren't mounted properly and we're experiencing poor caching on the host side.&lt;BR /&gt;&lt;BR /&gt;I've attached our kernel parameters.  Please be aware that we've already reduced dbc_max_pct and performance was twice as bad.  Filesystems are mounted using the following options:  vxfs rw,suid,largefiles,delaylog,datainlog&lt;BR /&gt;&lt;BR /&gt;Any suggestions?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 08 Oct 2004 10:19:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/poor-oracle-performance/m-p/3396442#M862674</guid>
      <dc:creator>Ralph_27</dc:creator>
      <dc:date>2004-10-08T10:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: Poor Oracle Performance</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/poor-oracle-performance/m-p/3396443#M862675</link>
      <description>What I understand from your problem is IO is quite high and it must be wait IO which will cause such a problem. &lt;BR /&gt;Your choice is to drill on &lt;BR /&gt;&lt;BR /&gt;how the VG's are structured? Like not on one controller all the load is coming...hope this is not the case..if so you have to change here. &lt;BR /&gt;&lt;BR /&gt;Check also configuration on EMC side..many times the internal array config can cause problem like this if it is shared especially and the number of servers are talking to set of disks at one place. &lt;BR /&gt;&lt;BR /&gt;Check in glance the queue length. Also disk utilisation..which all disks are hitting highly..how are they arranged...&lt;BR /&gt;&lt;BR /&gt;Hope you have all latest patches installed on the system..&lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;Thanks&lt;BR /&gt;Prashant</description>
      <pubDate>Fri, 08 Oct 2004 10:29:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/poor-oracle-performance/m-p/3396443#M862675</guid>
      <dc:creator>Prashant Zanwar_4</dc:creator>
      <dc:date>2004-10-08T10:29:19Z</dc:date>
    </item>
    <item>
      <title>Re: Poor Oracle Performance</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/poor-oracle-performance/m-p/3396444#M862676</link>
      <description>The buffer cache seems OK. anyway, oracle does it's own buffering.&lt;BR /&gt;&lt;BR /&gt;1. Which FS are hit most?? (glance -i)&lt;BR /&gt;2. Is the data distributed across the different FSs that oracle uses?? &lt;BR /&gt;3. Have you configured the alternate paths if any??&lt;BR /&gt;4. What the SGA configured for oracle??&lt;BR /&gt;5. What does oracle statpack says??&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Fri, 08 Oct 2004 10:30:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/poor-oracle-performance/m-p/3396444#M862676</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2004-10-08T10:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: Poor Oracle Performance</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/poor-oracle-performance/m-p/3396445#M862677</link>
      <description>You didn't list the tunable that I always examine first when Oracle is mentioned -- timeslice. Make sure that it is not set to 1; it should be very near 10.&lt;BR /&gt;&lt;BR /&gt;You should also be aware that almost all Oracle performance problems have to do with&lt;BR /&gt;the SQL itself and often little to do with OS Tuning. &lt;BR /&gt;&lt;BR /&gt;Some Glance output would prove useful in spotting bottlenecks.&lt;BR /&gt;</description>
      <pubDate>Fri, 08 Oct 2004 10:31:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/poor-oracle-performance/m-p/3396445#M862677</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2004-10-08T10:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: Poor Oracle Performance</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/poor-oracle-performance/m-p/3396446#M862678</link>
      <description>Hi Ralph,&lt;BR /&gt;&lt;BR /&gt;IS the problem recent ?&lt;BR /&gt;Have any baseline configuration (OS + Oracle) and reports (sar,... + statspack) from when the system was performing within SLA ?&lt;BR /&gt;&lt;BR /&gt;EMS storage : RAID 5, RAID1 RAID 10 ?&lt;BR /&gt;do you use lvm stripping ?&lt;BR /&gt;&lt;BR /&gt;Could you also provide a statspack report ?&lt;BR /&gt;(what is the exact version for oracle ?&lt;BR /&gt;sqlplus / slect * from v$version)&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Jean-Luc</description>
      <pubDate>Fri, 08 Oct 2004 10:38:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/poor-oracle-performance/m-p/3396446#M862678</guid>
      <dc:creator>Jean-Luc Oudart</dc:creator>
      <dc:date>2004-10-08T10:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: Poor Oracle Performance</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/poor-oracle-performance/m-p/3396447#M862679</link>
      <description>Thanks for the quick responses.  Here are the answers to your questions:&lt;BR /&gt;&lt;BR /&gt;1)  FS arrangement:  1 FS per RAID 10 LUN, per volume group.  We've already identified the hardest hit filesystems and the dbas are planning to reorg things if possible.&lt;BR /&gt;2)  Controllers: LUNS are shared to both HBAS and balanced with powerpath.&lt;BR /&gt;3)  Queue length: Queue length in glance has 1 device with a queue of 2..it's the archive log filesystem. Everything else is zeros.  &lt;BR /&gt;4)  Oracle:  I'm not an Oracle DBA so I dont have access to SQLplus.. is there a way to determine SGA, statspack, version, etc from the root account?&lt;BR /&gt;5)  Timeslice: Set to 10.&lt;BR /&gt;6)  Pre Problem statistics:  None available&lt;BR /&gt;7)  Glance output:  I'm new to glance.. please provide a command you'd like to see run.&lt;BR /&gt;&lt;BR /&gt;I've attached the current sar -A output.</description>
      <pubDate>Fri, 08 Oct 2004 11:59:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/poor-oracle-performance/m-p/3396447#M862679</guid>
      <dc:creator>Ralph_27</dc:creator>
      <dc:date>2004-10-08T11:59:27Z</dc:date>
    </item>
    <item>
      <title>Re: Poor Oracle Performance</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/poor-oracle-performance/m-p/3396448#M862680</link>
      <description>Appears that most, if not all, settings on OS are OK. (Still depends on other variables, how big is DB, how many users, etc). Do have the database checked into more throughly. How how the SQL searches run? Are you doing full table scans on lookups? &lt;BR /&gt;&lt;BR /&gt;To check some of the Oracle config settings as root you can look at the initora file. (I typically see this file named init&lt;SID&gt;.ora)&lt;BR /&gt;&lt;BR /&gt;I find these files in $ORACLE_HOME/product/...&lt;BR /&gt;&lt;BR /&gt;&lt;/SID&gt;</description>
      <pubDate>Fri, 08 Oct 2004 12:09:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/poor-oracle-performance/m-p/3396448#M862680</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2004-10-08T12:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: Poor Oracle Performance</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/poor-oracle-performance/m-p/3396449#M862681</link>
      <description>Yes how big is the database. &lt;BR /&gt;Also please ask DBA's to see sql performance. If sql's are poorly designed..it is highly possible that the performance will fall. &lt;BR /&gt;Still again your choice to look at sar, glance..&lt;BR /&gt;&lt;BR /&gt;sar -M -q &lt;BR /&gt;also You can use gpm a GUI tool of glance which is easy to operate.&lt;BR /&gt;or &lt;BR /&gt;glance -u to look at disk hits and qlen&lt;BR /&gt;&lt;BR /&gt;Hope this takes you to analysis of your problem. I am not much familier with oracle..You can check like below: &lt;BR /&gt;&lt;BR /&gt;su - oracle&lt;BR /&gt;echo $pfile&lt;BR /&gt;pg $pfile&lt;BR /&gt;&lt;BR /&gt;this contains many parameters or locations where you can find files. &lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Prashant</description>
      <pubDate>Fri, 08 Oct 2004 12:29:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/poor-oracle-performance/m-p/3396449#M862681</guid>
      <dc:creator>Prashant Zanwar_4</dc:creator>
      <dc:date>2004-10-08T12:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: Poor Oracle Performance</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/poor-oracle-performance/m-p/3396450#M862682</link>
      <description>don't forget to look at index changes. If you have tables that have grown much over time (many extents) and indexes that have been recently reorg. or otherwise modified, result will be full table scans ==&amp;gt; over loaded disks. ( however, I'd think w i/o % would be hi too, maxing sar cpu %)&lt;BR /&gt;&lt;BR /&gt;An explain plan on a heavily used oracle job could give a hint.&lt;BR /&gt;</description>
      <pubDate>Fri, 08 Oct 2004 12:42:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/poor-oracle-performance/m-p/3396450#M862682</guid>
      <dc:creator>doug mielke</dc:creator>
      <dc:date>2004-10-08T12:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: Poor Oracle Performance</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/poor-oracle-performance/m-p/3396451#M862683</link>
      <description>You can check out the HBAs by runnnig "fcmsutil /dev/td0" to verify the topology setting, then run "fcmsutil /dev/td0 stat" to see if there are any errors.  If there are more than a few, reset the stats and run periodically to see what sort of error rate you are incurring, if any.&lt;BR /&gt;&lt;BR /&gt;If the preformance degredation was relatively sudden, take a look at recent changes that might have contributed to this. You likely candidates are changes to indices or logging within Oracle.&lt;BR /&gt;&lt;BR /&gt;mark</description>
      <pubDate>Fri, 08 Oct 2004 13:05:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/poor-oracle-performance/m-p/3396451#M862683</guid>
      <dc:creator>Mark Greene_1</dc:creator>
      <dc:date>2004-10-08T13:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: Poor Oracle Performance</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/poor-oracle-performance/m-p/3396452#M862684</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;at the Oracle Database level, you SHOULD run statspack report to be able to know what is really going on.&lt;BR /&gt;&lt;BR /&gt;If you want to connect as the oracle user, it will be quite easy since you said you have the root account password. do " su - &lt;ORACLEUSER&gt;"&lt;BR /&gt;&lt;BR /&gt;then you can check if statspack is already installed by:&lt;BR /&gt;1. login to oracle&lt;BR /&gt;    sqlplus /nolog&lt;BR /&gt;    connect / as sysdba&lt;BR /&gt;&lt;BR /&gt;2. check if the statspack tables are installed. Typically, table names start with "STAT":&lt;BR /&gt;    select object_name from dba_objects&lt;BR /&gt;    where object_name like 'STATS%';               &lt;BR /&gt;  &lt;BR /&gt;3. If installed then run:&lt;BR /&gt;   exec statspack.snap&lt;BR /&gt;   &lt;WAIT for="" 15="" minutes=""&gt;&lt;BR /&gt;   exec statspack.snap&lt;BR /&gt;&lt;BR /&gt;4. Generate the report by running:&lt;BR /&gt;    @?/rdbms/admin/spreport&lt;BR /&gt;   - choose the snapshot numbers (begin_snap and end)&lt;BR /&gt;   - save the report file to disk.&lt;BR /&gt;&lt;BR /&gt;5. Analyze reports for low load period v/s high load period.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Good luck.&lt;BR /&gt;If you need any further guidances, please let us know&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Yogeeraj&lt;BR /&gt;   &lt;BR /&gt;&lt;/WAIT&gt;&lt;/ORACLEUSER&gt;</description>
      <pubDate>Fri, 08 Oct 2004 23:12:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/poor-oracle-performance/m-p/3396452#M862684</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2004-10-08T23:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: Poor Oracle Performance</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/poor-oracle-performance/m-p/3396453#M862685</link>
      <description>&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; 4) Oracle: I'm not an Oracle DBA so I dont have access to SQLplus.. is there a way to determine SGA, statspack, version, etc from the root account?&lt;BR /&gt;&lt;BR /&gt;There is your biggest problem.&lt;BR /&gt;You can NOT solve this in isolation.&lt;BR /&gt;This is NOT going to be a system problem.&lt;BR /&gt;Sure, optimal system config will 'ease the pain', but the pain is defined by Oracle.&lt;BR /&gt;&lt;BR /&gt;Your co-operation with the DBA should be such that SQLplus access itself becomes irrelevant.&lt;BR /&gt;&lt;BR /&gt;The really bad IO times are for very low access counts. Ignore those.&lt;BR /&gt;&lt;BR /&gt;Your IO load is reasonably balanced.&lt;BR /&gt;The top 10% of the disk, handle 30% of the IO.&lt;BR /&gt;The bottom 30% of thes disk, handle 10% of the IO.&lt;BR /&gt;That's much better than the 20 - 80 we see all too often.&lt;BR /&gt;Still, it can be improved upon. Check out the SAME recommendations (Stripe and mirror everything). Bunch up a large number of LUNs into a single VG, then hand them out at striped LVs (extent based, 1MB? 4MB?). Or just have the storage do the striping.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You have CPU time to burn, but a touch heavy on the overall IO. Any memory to spare? Just give it to Oracle for the SGA and reduce the read IO!&lt;BR /&gt;&lt;BR /&gt;When looking at write IOs (in the Oracle stats), pay close attenion to the REDO LOG, it often defines the user perceived speed. General writes in Oracle are NOT waited for, so matter much less.&lt;BR /&gt;&lt;BR /&gt;I'll attach a small perl script to summarize the sar output into a single line per timestamp. It may help interpretting the data, and can server as a starting point for further formatting/counting:&lt;BR /&gt;&lt;BR /&gt;C:\Temp&amp;gt;perl sar.pl &amp;lt; sar.txt | more&lt;BR /&gt;&lt;BR /&gt;Time    usr sys    blk        rw    rw dsk&lt;BR /&gt;&lt;BR /&gt;00:00:01  0  0        0        0     0&lt;BR /&gt;00:05:03  8  5    42023      629   105 c47t3d2&lt;BR /&gt;00:10:02  7  3     8930      262    64 c12t5d0&lt;BR /&gt;00:15:01  2  3     4637      176   150 c12t5d0&lt;BR /&gt;00:20:01  7  5    22787      518    83 c47t0d7&lt;BR /&gt;00:25:00  6  5    23287      605    62 c12t5d0&lt;BR /&gt;00:30:01  4  3    14759      447    59 c12t5d0&lt;BR /&gt;00:35:02 27 10    55627     1318   115 c47t0d7&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 09 Oct 2004 11:14:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/poor-oracle-performance/m-p/3396453#M862685</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2004-10-09T11:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: Poor Oracle Performance</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/poor-oracle-performance/m-p/3396454#M862686</link>
      <description>I'd say why do you want to do DBA job? Is it because of lack of one? If the production system is of any value, then get the DBA involved. How would you feel having a DBA do System Admin job?&lt;BR /&gt;&lt;BR /&gt;As a DBA and ex system admin, the best place to look for the cause of the bottleneck  is the Oracle wait events. Start with:&lt;BR /&gt;select * from v$waitstat. This gives you overall health of the database at a glance. &lt;BR /&gt;&lt;BR /&gt;Later, run this one to begin to isolate them.&lt;BR /&gt;select sid, event, p1text, p1, p2text, p2, wait_time, state &lt;BR /&gt;FROM v$session_wait&lt;BR /&gt;ORDER BY wait_time.&lt;BR /&gt;&lt;BR /&gt;Be sure to exlude such events as (rdbms,SQL*,Pipe) These are simply users having idle sessions and  are not relevant. You will be able to find the sessions waiting for a particular event and then wear you DBA hat to trouble shoot it.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;Good luck&lt;BR /&gt;Mel&lt;BR /&gt;&lt;BR /&gt;While running the</description>
      <pubDate>Sun, 10 Oct 2004 20:24:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/poor-oracle-performance/m-p/3396454#M862686</guid>
      <dc:creator>Mel_12</dc:creator>
      <dc:date>2004-10-10T20:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: Poor Oracle Performance</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/poor-oracle-performance/m-p/3396455#M862687</link>
      <description>I imagine your problems are not only related to this point, but it may help.&lt;BR /&gt;&lt;BR /&gt;Note that FS for Oracle data files may be mounted with these options :&lt;BR /&gt;nodatainlog,mincache=direct,convosync=direct&lt;BR /&gt;These options bypass the OS cache (Oracle has its own). It increases perfs and makes OS buffer cache not to grow too much.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Fred&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Oct 2004 05:13:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/poor-oracle-performance/m-p/3396455#M862687</guid>
      <dc:creator>Fred Ruffet</dc:creator>
      <dc:date>2004-10-11T05:13:45Z</dc:date>
    </item>
  </channel>
</rss>

