<?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: help! performance issue in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/help-performance-issue/m-p/4947197#M796191</link>
    <description>&lt;BR /&gt;A couple thoughts. It might take awhile for the excution plans an cache to get set.&lt;BR /&gt;&lt;BR /&gt;Might consider building the indexes in a different tables space/disk location. Or check to make sure that you rebuid the index in their orginal location. &lt;BR /&gt;&lt;BR /&gt;Rory</description>
    <pubDate>Fri, 16 Dec 2005 12:38:41 GMT</pubDate>
    <dc:creator>Rory R Hammond</dc:creator>
    <dc:date>2005-12-16T12:38:41Z</dc:date>
    <item>
      <title>help! performance issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-performance-issue/m-p/4947185#M796170</link>
      <description>We have a poorly performing 3rd party app. Several of their views do 10-20 full table scans, causing the app to take 60-90 seconds to run std queries. We made some changes to the views (adding hints). This speeded up things greatly, but due to other app issues I had to back them out (by replacing the views with the original queries). Now queries take several minutes - far worse than before. I analyzed the schema after replacing the original views - no help. The performance in the PROD system is far worse than the DEV system. There is a lot of sorting going on - the disk with the TEMP segment is nailed -though it was . Can anyone offer any advice?&lt;BR /&gt;thanks</description>
      <pubDate>Thu, 15 Dec 2005 13:52:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-performance-issue/m-p/4947185#M796170</guid>
      <dc:creator>Dave Chamberlin</dc:creator>
      <dc:date>2005-12-15T13:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: help! performance issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-performance-issue/m-p/4947186#M796171</link>
      <description>You don't say which DB, but regardless, the best advice would be to add an index if possible.&lt;BR /&gt;&lt;BR /&gt;If you must do full table scans, depending on the table size, it is not going to perform very well.</description>
      <pubDate>Thu, 15 Dec 2005 14:14:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-performance-issue/m-p/4947186#M796171</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2005-12-15T14:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: help! performance issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-performance-issue/m-p/4947187#M796172</link>
      <description>I have no control over the views at the moment - the problem is why is the performance MUCH WORSE after changing, then replacing the views.</description>
      <pubDate>Thu, 15 Dec 2005 14:18:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-performance-issue/m-p/4947187#M796172</guid>
      <dc:creator>Dave Chamberlin</dc:creator>
      <dc:date>2005-12-15T14:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: help! performance issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-performance-issue/m-p/4947188#M796173</link>
      <description>Without knowing the queries/views involved or the version of the db - this is only a guess.&lt;BR /&gt;&lt;BR /&gt;If you dropped and recreated views in Oracle it would invalidate some of the pl/sql code (packages, procedures, etc) that may use the views, so you will take a performance hit when they are validated.&lt;BR /&gt;&lt;BR /&gt;Even though you have no control over the views or code, you can still add indexes to the database ( again I'm guessing Oracle) and the indexes will be used if they exist.&lt;BR /&gt;&lt;BR /&gt;You state that you did an anaylze schema adter replacing the views - But did you have valid stats before you started making changes.  Older application (Oracle apps 11.0 and before) do not benefit from stats and they can even cause problems.&lt;BR /&gt;&lt;BR /&gt;Please post you db version and other details.  &lt;BR /&gt;&lt;BR /&gt;Patti</description>
      <pubDate>Thu, 15 Dec 2005 14:37:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-performance-issue/m-p/4947188#M796173</guid>
      <dc:creator>Patti Johnson</dc:creator>
      <dc:date>2005-12-15T14:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: help! performance issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-performance-issue/m-p/4947189#M796174</link>
      <description>This is an Oracle 8.1.7.4 database (32bit) and schema analysis is being done weekly. I did look at invalid objects and compiled invalid packages, procs, functions etc. Most of these were SYS or ORDSYS objects.</description>
      <pubDate>Thu, 15 Dec 2005 15:36:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-performance-issue/m-p/4947189#M796174</guid>
      <dc:creator>Dave Chamberlin</dc:creator>
      <dc:date>2005-12-15T15:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: help! performance issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-performance-issue/m-p/4947190#M796175</link>
      <description>Dave -- I'm not sure why things would CHANGE.  However I have seen in the past issues related to how much swap a machine is running effecting Oracle performance.&lt;BR /&gt;&lt;BR /&gt;How much RAM do you have and how much disk device swap is configured?&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Dec 2005 15:46:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-performance-issue/m-p/4947190#M796175</guid>
      <dc:creator>Kent Ostby</dc:creator>
      <dc:date>2005-12-15T15:46:01Z</dc:date>
    </item>
    <item>
      <title>Re: help! performance issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-performance-issue/m-p/4947191#M796179</link>
      <description>I have 5.5GB RAM, swap use is 17%. Using pseudoswap....</description>
      <pubDate>Thu, 15 Dec 2005 19:28:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-performance-issue/m-p/4947191#M796179</guid>
      <dc:creator>Dave Chamberlin</dc:creator>
      <dc:date>2005-12-15T19:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: help! performance issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-performance-issue/m-p/4947192#M796182</link>
      <description>The full table scans are killing performance along with the sorts. Since you are constrained by unreasonble restrictions, you'll have to look at other fixes. The temp sorts need to be accomplished in RAM if possible. This might be done with a much larger SGA. Your 32bit database engine will severely restrict how big SGA can grow so you'll need to use memory windows to isolate the Oracle SGA from all other independent shared memory applications. If the DBAs can use almost 2Gb of SGA, this may be a way to improve performance. Similarly, adding more SGA buffers can help.&lt;BR /&gt; &lt;BR /&gt;The SQL needs to be optimized if possible. Adding indexes is the best way. Also check an EXPLAIN for the long queries to see if index partial searches are being done. This often means an index is severely unbalanced and needs to be rebuilt.&lt;BR /&gt; &lt;BR /&gt;As far as why returning the views has worsened performance, I would compare EXPLAIN listings to see any differences.</description>
      <pubDate>Thu, 15 Dec 2005 23:05:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-performance-issue/m-p/4947192#M796182</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-12-15T23:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: help! performance issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-performance-issue/m-p/4947193#M796185</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;You can adopt both a bottom-up or top-down approach to your problem.&lt;BR /&gt;&lt;BR /&gt;GOing top-down, you would generate a Statspack report and analyse all those bottle neck..&lt;BR /&gt;&lt;BR /&gt;then drill down to applications&lt;BR /&gt;then the database&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Bottom-up would require you to check that your OS is properly configure to run your oracle database. (Kernel parameters, etc)&lt;BR /&gt;&lt;BR /&gt;Then, review your init.ora parameters&lt;BR /&gt;Then review your redologs, tablespaces, datafiles&lt;BR /&gt;&lt;BR /&gt;and so on...&lt;BR /&gt;&lt;BR /&gt;You know your system better than us. You choose the way you think would be easiest for you to solve the problem.&lt;BR /&gt;&lt;BR /&gt;if you need any further guidance, please let us know&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Fri, 16 Dec 2005 01:31:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-performance-issue/m-p/4947193#M796185</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2005-12-16T01:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: help! performance issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-performance-issue/m-p/4947194#M796187</link>
      <description>It sounds link you re-computed the stats but didn't update the library cache in the shared pool.&lt;BR /&gt;In other words, even though you re-created the views and updated the stats, the pre-parsed SQL statements are still not using them.  You need to clear the library cache after computing the stats.</description>
      <pubDate>Fri, 16 Dec 2005 04:33:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-performance-issue/m-p/4947194#M796187</guid>
      <dc:creator>Steve Lewis</dc:creator>
      <dc:date>2005-12-16T04:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: help! performance issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-performance-issue/m-p/4947195#M796189</link>
      <description>Hi Dave,&lt;BR /&gt;&lt;BR /&gt;I'm pretty sure that your issue is bad SQL code in those views so this is where your battle must be fighting! &lt;BR /&gt;&lt;BR /&gt;Yesterday for example I had a little code executing for more than 3 minutes to get 1 record. I've changed the logic and now it runs in 1 or 2 seconds... &lt;BR /&gt;&lt;BR /&gt;First of all, in your Production environment, execute directly the SQL code of one of those views WITHOUT SORTING and post here your feedback about performance: if it is much better then the sorts are your problem. Check why most sorts are simply wasting resources in this thread:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=979701" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=979701&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;&lt;BR /&gt;Eric Antunes</description>
      <pubDate>Fri, 16 Dec 2005 05:00:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-performance-issue/m-p/4947195#M796189</guid>
      <dc:creator>Eric Antunes</dc:creator>
      <dc:date>2005-12-16T05:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: help! performance issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-performance-issue/m-p/4947196#M796190</link>
      <description>Dave,&lt;BR /&gt;&lt;BR /&gt;You mention lots of disk sorts - how large is your sort_area_size, and do you have enough memory to increase it?  &lt;BR /&gt;&lt;BR /&gt;You may never be able to explain why it got worse, but looking at the execution plan of some of the top queries may help you to correct them.  &lt;BR /&gt;&lt;BR /&gt;If TEMP is on one disk - is it possible to spread it to more disks?  &lt;BR /&gt;&lt;BR /&gt;Patti</description>
      <pubDate>Fri, 16 Dec 2005 09:52:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-performance-issue/m-p/4947196#M796190</guid>
      <dc:creator>Patti Johnson</dc:creator>
      <dc:date>2005-12-16T09:52:27Z</dc:date>
    </item>
    <item>
      <title>Re: help! performance issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-performance-issue/m-p/4947197#M796191</link>
      <description>&lt;BR /&gt;A couple thoughts. It might take awhile for the excution plans an cache to get set.&lt;BR /&gt;&lt;BR /&gt;Might consider building the indexes in a different tables space/disk location. Or check to make sure that you rebuid the index in their orginal location. &lt;BR /&gt;&lt;BR /&gt;Rory</description>
      <pubDate>Fri, 16 Dec 2005 12:38:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-performance-issue/m-p/4947197#M796191</guid>
      <dc:creator>Rory R Hammond</dc:creator>
      <dc:date>2005-12-16T12:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: help! performance issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-performance-issue/m-p/4947198#M796192</link>
      <description>Hi Dave,&lt;BR /&gt;&lt;BR /&gt;no Information to really work on.&lt;BR /&gt;Could you attach at least the view definition (CREATE VIEW ...) if no EXPLAIN for the access plan is currently available ?&lt;BR /&gt;&lt;BR /&gt;Best regards&lt;BR /&gt;Volker</description>
      <pubDate>Fri, 16 Dec 2005 15:45:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-performance-issue/m-p/4947198#M796192</guid>
      <dc:creator>Volker Borowski</dc:creator>
      <dc:date>2005-12-16T15:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: help! performance issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-performance-issue/m-p/4947199#M796193</link>
      <description>thanks for your replies. I think that Steve may have had the answer with Library cache, since that database was not bounced after the views changed. Since the change I increased the sort_area_size from 65K to 1M and increased sort_multiblock_read_count to reduce sort problems. So far this has helped considerably. I also will change optimizer_index_caching and optimizer_index_cost_adj to see if I can make indexes more attractive.</description>
      <pubDate>Wed, 21 Dec 2005 09:49:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-performance-issue/m-p/4947199#M796193</guid>
      <dc:creator>Dave Chamberlin</dc:creator>
      <dc:date>2005-12-21T09:49:44Z</dc:date>
    </item>
  </channel>
</rss>

