<?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 Help about disk array config on ORACLE DB in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/help-about-disk-array-config-on-oracle-db/m-p/3503081#M846441</link>
    <description>We were experiencing bad IO performance on our Oracle datawarehouse (roughly 1TB) and an Oracle consultant advised us to restripe logical volume with stripe size 256K in 8-way stripe. Earlier stripe was on extent basis (LV created using –D option).&lt;BR /&gt;&lt;BR /&gt;So my UNIX admin created new volume groups with PE size 4MB. Some of the VG created on 8 LUNS and some with 10 LUNS (I don’t know why he did this). After that he layout all the logical volumes on these volume groups with stripe size 256K and stripe width 8 (using –i and –I options of lvcreate). Once he completed this, then I copied all the data files from old mount points to new mounts with this new striping. Well, I was expecting some performance gain after doing all this exercise of moving terabyte of data, but UNFORTUNATED the database performance is exactly the same. Could any one help me figure out why this happened and what could have went wrong?&lt;BR /&gt;&lt;BR /&gt;I would appreciate if someone can answer few other questions&lt;BR /&gt;&lt;BR /&gt;1. We are doing lots of full table scan, hash joins during DWhse load. Is it good to turn the file system buffer cache off?&lt;BR /&gt;2. Our admin create VGs with PE size 4 MB, but LVs have stripe size of 256K, shouldn’t size of PE size and stripe size be same?&lt;BR /&gt;3. Is stripe size is same as Logical extent size?&lt;BR /&gt;4. Is the performance being affected especially because we implemented 8-way stripe and using 10 LUNS?&lt;BR /&gt;5. When I run GPM, I see lots of Oracle process waiting with STOP REASONS “IO/CAHCE/SEM”, what this cou</description>
    <pubDate>Fri, 11 Mar 2005 13:03:28 GMT</pubDate>
    <dc:creator>Manish Verma_2</dc:creator>
    <dc:date>2005-03-11T13:03:28Z</dc:date>
    <item>
      <title>Help about disk array config on ORACLE DB</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-about-disk-array-config-on-oracle-db/m-p/3503081#M846441</link>
      <description>We were experiencing bad IO performance on our Oracle datawarehouse (roughly 1TB) and an Oracle consultant advised us to restripe logical volume with stripe size 256K in 8-way stripe. Earlier stripe was on extent basis (LV created using –D option).&lt;BR /&gt;&lt;BR /&gt;So my UNIX admin created new volume groups with PE size 4MB. Some of the VG created on 8 LUNS and some with 10 LUNS (I don’t know why he did this). After that he layout all the logical volumes on these volume groups with stripe size 256K and stripe width 8 (using –i and –I options of lvcreate). Once he completed this, then I copied all the data files from old mount points to new mounts with this new striping. Well, I was expecting some performance gain after doing all this exercise of moving terabyte of data, but UNFORTUNATED the database performance is exactly the same. Could any one help me figure out why this happened and what could have went wrong?&lt;BR /&gt;&lt;BR /&gt;I would appreciate if someone can answer few other questions&lt;BR /&gt;&lt;BR /&gt;1. We are doing lots of full table scan, hash joins during DWhse load. Is it good to turn the file system buffer cache off?&lt;BR /&gt;2. Our admin create VGs with PE size 4 MB, but LVs have stripe size of 256K, shouldn’t size of PE size and stripe size be same?&lt;BR /&gt;3. Is stripe size is same as Logical extent size?&lt;BR /&gt;4. Is the performance being affected especially because we implemented 8-way stripe and using 10 LUNS?&lt;BR /&gt;5. When I run GPM, I see lots of Oracle process waiting with STOP REASONS “IO/CAHCE/SEM”, what this cou</description>
      <pubDate>Fri, 11 Mar 2005 13:03:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-about-disk-array-config-on-oracle-db/m-p/3503081#M846441</guid>
      <dc:creator>Manish Verma_2</dc:creator>
      <dc:date>2005-03-11T13:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: Help about disk array config on ORACLE DB</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-about-disk-array-config-on-oracle-db/m-p/3503082#M846442</link>
      <description>I had some similar question when we migrated to Oracle.&lt;BR /&gt;We have 8 way stripe (64K) on 8 LUNS (why 10 ?)&lt;BR /&gt;see a few threads on the question :&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=193104" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=193104&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=40178" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=40178&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=4790" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=4790&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;1. cannot answer&lt;BR /&gt;2. PE size nothing to do with perf as far as I know&lt;BR /&gt;3. ?&lt;BR /&gt;4. I would stay with 8 LUNS for 8 way stripe&lt;BR /&gt;5. What is the memory on the server, the buffer size ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;What is the backend storage ?&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Jean-Luc</description>
      <pubDate>Fri, 11 Mar 2005 13:18:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-about-disk-array-config-on-oracle-db/m-p/3503082#M846442</guid>
      <dc:creator>Jean-Luc Oudart</dc:creator>
      <dc:date>2005-03-11T13:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: Help about disk array config on ORACLE DB</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-about-disk-array-config-on-oracle-db/m-p/3503083#M846443</link>
      <description>My assumption: A datawarehouse has little or no writing to it other than a regular update of the data.&lt;BR /&gt;&lt;BR /&gt;If this data update is going slow it might be because of the raid level used on the striping. Oracle recommends raid 1 or 10 for oltp systems, online real time tranaction processing. Thats not what you have, but if there are frequent updates as in writes, this may be the cause of the performance problem.&lt;BR /&gt;&lt;BR /&gt;Specifics:&lt;BR /&gt;&lt;BR /&gt;1) oracle has its own buffer. buffer cache is redundant and can leave data not written to disk under certain circumstances. Should not be a problem in a warehouse.&lt;BR /&gt;&lt;BR /&gt;2) I asked this question months ago and A. Clay Stepenson, who is quite experienced told me the PE size has little or no impact on oracle peformance. If my pea brain molecules are working right, he's actually run tests.&lt;BR /&gt;3) I don't think so. Not sure the relavence of this item... ??&lt;BR /&gt;4) It depends. The more disks your data is spread across, the better performance is in a raid environment. I'd look at write activity. If there is a lot, that will hammer performance in a raid 5 environment.&lt;BR /&gt;5) Shared memory.&lt;BR /&gt;&lt;BR /&gt;shmmax should be 25% of ram. ram is defined as memory plus swap. settings above 25% will be ignored.&lt;BR /&gt;&lt;BR /&gt;shmseg needs to be high. So does maxuprc.&lt;BR /&gt;&lt;BR /&gt;Note, that gpm has a screen to show shared memory usage. If you are getting close to 100% there, you need to increase resources.&lt;BR /&gt;&lt;BR /&gt;If you have already maxed out on shmmax, then memory or more swap is the only way you can squeeze more out.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Fri, 11 Mar 2005 13:18:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-about-disk-array-config-on-oracle-db/m-p/3503083#M846443</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-03-11T13:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: Help about disk array config on ORACLE DB</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-about-disk-array-config-on-oracle-db/m-p/3503084#M846444</link>
      <description>First - others are correct -PE size has no bearing - it's just the smallest chunk size that you can manage to allocate space from/with.  Unless, of course, you were using distributed stripes, then the PE size has everything to do with size of the distributed stripe.  I don't you'd notice unless you had little PE's which you wouldn't want to try to do in a 1TB database anyway, and if anything, I think small sizes would hurt in a DW setting.&lt;BR /&gt;Question: How big is your block size?  Most papers I've seen on this would recommend a 32K block size for a DW (OLAP situations have a recommendation of 8k).  This means that during your full table scans you'd get more data (a lot more) per fetch.  Keep in mind that to change the block size you'd have to do a full export/import or at the least create new tablespace areas with the new block size.&lt;BR /&gt;&lt;BR /&gt;Also, what is your multiblock_read_count?  You should try to tie that in to a situation where the Block_size X the multi_block_read_count is equal to the largest data pull you can get from your storage server.  Now, that's a funny question that's hard to get an answer to...&lt;BR /&gt;&lt;BR /&gt;Anyways, I've seen the research by the folks at the HP tuning lab that have shown that you can avoid an unnecessary read if the db_file_multiblock_read_count is at least 32 (regardless of block size).  This, coupled with a mount point option making the system NOT cache the file system with OS buffers (,nodatainlog,convosync=direct option on each mount point in the fstab) generates potentially huge benefit. According to the data I've seen from HP performance labs (to answer question 1) you'd benefit from this if your multiblock_read_count is over 32.  Below this, Oracle does a read from the OS that clearly benefits from at least a small buffer for the mount point (reference S. McLester HP  Tuning Labs). &lt;BR /&gt;&lt;BR /&gt;Anyways, I've seen myself in databases that are "full table scan" prone - like a datawarehouse in your example, or just a "ad-hoc query database" that increasing the amount of data grabbed per fetch can definitely increase how much data you get at a time to fulfill full table scans, therefore making things go much faster.  However, full table scans on large tables tend to be "what they are", and it's pretty hard to make magic on them.  You can get percentage increases - but it's pretty hard to increases in the order of magnitude w/o tuning the query or rewriting the query or some of its logic.&lt;BR /&gt;&lt;BR /&gt;A few notes:&lt;BR /&gt;Have you tried tuning the big full table scan queries?  Indexes created for them?  Materialized views for the common ones?  I know that often in a DW - this just isn't feasible - but a check for feasibility should be undertaken...&lt;BR /&gt;&lt;BR /&gt;Also, review how much ram you're got in your db_cache_buffers - you may benefit from having MUCH more than you do.  I've heard of people doing Gig of size for DW applications.</description>
      <pubDate>Tue, 15 Mar 2005 13:16:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-about-disk-array-config-on-oracle-db/m-p/3503084#M846444</guid>
      <dc:creator>TwoProc</dc:creator>
      <dc:date>2005-03-15T13:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: Help about disk array config on ORACLE DB</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-about-disk-array-config-on-oracle-db/m-p/3503085#M846445</link>
      <description>I don't know why - but parts of that last sentence didn't make it - the word I saw &amp;amp; put on screen was "30Gig" not just "Gig" - anyway - 30gig...</description>
      <pubDate>Tue, 15 Mar 2005 14:34:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-about-disk-array-config-on-oracle-db/m-p/3503085#M846445</guid>
      <dc:creator>TwoProc</dc:creator>
      <dc:date>2005-03-15T14:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: Help about disk array config on ORACLE DB</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-about-disk-array-config-on-oracle-db/m-p/3503086#M846446</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;you may also run a Statspack report to determine which are the area that your oracle database is "suffering"&lt;BR /&gt;&lt;BR /&gt;hope this helps too!&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Tue, 15 Mar 2005 23:16:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-about-disk-array-config-on-oracle-db/m-p/3503086#M846446</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2005-03-15T23:16:13Z</dc:date>
    </item>
  </channel>
</rss>

