<?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: How to find out which indexes want to  rebuild in the database in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-find-out-which-indexes-want-to-rebuild-in-the-database/m-p/3997597#M749693</link>
    <description>hi Again,&lt;BR /&gt;&lt;BR /&gt;If your tablespaces are Locally managed and the indexes have been created on them, then there is nothing to worry about!&lt;BR /&gt;&lt;BR /&gt;To check your tablespaces, run:&lt;BR /&gt;select TABLESPACE_NAME, EXTENT_MANAGEMENT&lt;BR /&gt;from dba_tablespaces;&lt;BR /&gt;&lt;BR /&gt;hope this helps too!&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
    <pubDate>Fri, 11 May 2007 07:45:53 GMT</pubDate>
    <dc:creator>Yogeeraj_1</dc:creator>
    <dc:date>2007-05-11T07:45:53Z</dc:date>
    <item>
      <title>How to find out which indexes want to  rebuild in the database</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-find-out-which-indexes-want-to-rebuild-in-the-database/m-p/3997590#M749686</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;   Is any datadictionary view or dynamic performance view are there to find out which indexes are want to rebuild in the database.&lt;BR /&gt;&lt;BR /&gt;Help apperciated..&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Nirmal.&lt;BR /&gt;</description>
      <pubDate>Thu, 10 May 2007 09:58:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-find-out-which-indexes-want-to-rebuild-in-the-database/m-p/3997590#M749686</guid>
      <dc:creator>Nirmalkumar</dc:creator>
      <dc:date>2007-05-10T09:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to find out which indexes want to  rebuild in the database</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-find-out-which-indexes-want-to-rebuild-in-the-database/m-p/3997591#M749687</link>
      <description>Hi Nirmal (nice to meet u again),&lt;BR /&gt;&lt;BR /&gt;as far as i know doesn't exist a view like you're looking for but&lt;BR /&gt;try this "ir.sql" (in attch) as start point.&lt;BR /&gt;I have never used neither mainteined neither created;&lt;BR /&gt;so use it in test environment.&lt;BR /&gt;(again : this seems to work with Oracle Server 7.3.x to 9.x).&lt;BR /&gt;&lt;BR /&gt;note : &lt;BR /&gt;Rebuild the index when:&lt;BR /&gt;- deleted entries represent 20% or more of the current entries.&lt;BR /&gt;- the index depth is more then 4 levels.&lt;BR /&gt;Possible candidate for bitmap index:&lt;BR /&gt;- when distinctiveness is more than 99%&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;regards&lt;BR /&gt;pg</description>
      <pubDate>Thu, 10 May 2007 10:20:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-find-out-which-indexes-want-to-rebuild-in-the-database/m-p/3997591#M749687</guid>
      <dc:creator>Piergiacomo Perini</dc:creator>
      <dc:date>2007-05-10T10:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to find out which indexes want to  rebuild in the database</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-find-out-which-indexes-want-to-rebuild-in-the-database/m-p/3997592#M749688</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;If you can afford the time, your best bet is to rebuild every index in your user tablespace(s).  I've scheduled the attached script to run every weekend on my production database server (please note that it's not my script, although I may have modified it a bit).  It loops through all the indexes in the target tablespace and generates a dynamic script (rebuild_indexes_dynamic.sql) which does an online rebuild of each one.&lt;BR /&gt;&lt;BR /&gt;If rebuilding every index isn't an option for you, see this article for tips on how to identify which indexes should be rebuilt:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.dba-oracle.com/art_index1.htm" target="_blank"&gt;http://www.dba-oracle.com/art_index1.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;PCS</description>
      <pubDate>Thu, 10 May 2007 10:45:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-find-out-which-indexes-want-to-rebuild-in-the-database/m-p/3997592#M749688</guid>
      <dc:creator>spex</dc:creator>
      <dc:date>2007-05-10T10:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to find out which indexes want to  rebuild in the database</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-find-out-which-indexes-want-to-rebuild-in-the-database/m-p/3997593#M749689</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Please leave feedback you have left feeback only for 3 out of 31 responses, pleas read the forum guidelines, leaving a feedback is a nice way to say thanks for the people who have been helping you.&lt;BR /&gt;&lt;BR /&gt;Rgds&lt;BR /&gt;&lt;BR /&gt;HGN</description>
      <pubDate>Thu, 10 May 2007 15:34:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-find-out-which-indexes-want-to-rebuild-in-the-database/m-p/3997593#M749689</guid>
      <dc:creator>HGN</dc:creator>
      <dc:date>2007-05-10T15:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to find out which indexes want to  rebuild in the database</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-find-out-which-indexes-want-to-rebuild-in-the-database/m-p/3997594#M749690</link>
      <description>Hi Nirmal,&lt;BR /&gt;you can use the attached script.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Art</description>
      <pubDate>Fri, 11 May 2007 03:14:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-find-out-which-indexes-want-to-rebuild-in-the-database/m-p/3997594#M749690</guid>
      <dc:creator>Arturo Galbiati</dc:creator>
      <dc:date>2007-05-11T03:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to find out which indexes want to  rebuild in the database</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-find-out-which-indexes-want-to-rebuild-in-the-database/m-p/3997595#M749691</link>
      <description>hi Nirmal,&lt;BR /&gt;&lt;BR /&gt;If you are using Locally managed tablespaces at the backend, this operation should be be arising.&lt;BR /&gt;&lt;BR /&gt;In fact, in normal database operations rebuild of indexes should not be really done. &lt;BR /&gt;&lt;BR /&gt;what version of database are you using?&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Fri, 11 May 2007 04:24:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-find-out-which-indexes-want-to-rebuild-in-the-database/m-p/3997595#M749691</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2007-05-11T04:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to find out which indexes want to  rebuild in the database</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-find-out-which-indexes-want-to-rebuild-in-the-database/m-p/3997596#M749692</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; Thanks 2 all for providing the scripts.&lt;BR /&gt;&lt;BR /&gt; yogeraaj- we are using oracle 9i version database.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Nirmal.</description>
      <pubDate>Fri, 11 May 2007 07:39:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-find-out-which-indexes-want-to-rebuild-in-the-database/m-p/3997596#M749692</guid>
      <dc:creator>Nirmalkumar</dc:creator>
      <dc:date>2007-05-11T07:39:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to find out which indexes want to  rebuild in the database</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-find-out-which-indexes-want-to-rebuild-in-the-database/m-p/3997597#M749693</link>
      <description>hi Again,&lt;BR /&gt;&lt;BR /&gt;If your tablespaces are Locally managed and the indexes have been created on them, then there is nothing to worry about!&lt;BR /&gt;&lt;BR /&gt;To check your tablespaces, run:&lt;BR /&gt;select TABLESPACE_NAME, EXTENT_MANAGEMENT&lt;BR /&gt;from dba_tablespaces;&lt;BR /&gt;&lt;BR /&gt;hope this helps too!&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Fri, 11 May 2007 07:45:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-find-out-which-indexes-want-to-rebuild-in-the-database/m-p/3997597#M749693</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2007-05-11T07:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to find out which indexes want to  rebuild in the database</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-find-out-which-indexes-want-to-rebuild-in-the-database/m-p/3997598#M749694</link>
      <description>Why do you want to rebuild your indexes?  You probably don't need to.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:2913600659112" target="_blank"&gt;http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:2913600659112&lt;/A&gt;</description>
      <pubDate>Wed, 16 May 2007 12:16:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-find-out-which-indexes-want-to-rebuild-in-the-database/m-p/3997598#M749694</guid>
      <dc:creator>John D Wimmer</dc:creator>
      <dc:date>2007-05-16T12:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to find out which indexes want to  rebuild in the database</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-find-out-which-indexes-want-to-rebuild-in-the-database/m-p/3997599#M749695</link>
      <description>I would second that.&lt;BR /&gt;Rebuilding indexes as scheduled job is just a waste of time and resource.&lt;BR /&gt;And Switching to LMT does not automatically fix  all the problems. LMT with uniform extent size could avoid Extent level fragments, but still there are some holes in block level  which you cannot avoid in most cases.</description>
      <pubDate>Wed, 16 May 2007 12:48:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-find-out-which-indexes-want-to-rebuild-in-the-database/m-p/3997599#M749695</guid>
      <dc:creator>Mahesh Rajendran</dc:creator>
      <dc:date>2007-05-16T12:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to find out which indexes want to  rebuild in the database</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-find-out-which-indexes-want-to-rebuild-in-the-database/m-p/3997600#M749696</link>
      <description>I would disagree with not rebuilding at all, even scheduled items.&lt;BR /&gt;I would disagree with rebuilding everything often.&lt;BR /&gt;I could and would agree or disagree with all of this, depending on the case.&lt;BR /&gt;&lt;BR /&gt;Do what you need to make your system perform for you (despite all pundits).&lt;BR /&gt;&lt;BR /&gt;I "bought in" to the fact that if you're using locally managed tables with uniform allocation its never necessary, and that you never have to rebuild indexes, as long as you've kept up with leaf node depth... etc. etc.  I agree that it is MUCH LESS necessary with uniform allocation, but never needed is different thing.&lt;BR /&gt;&lt;BR /&gt;HOWEVER, after 3 years of steadily declining FULLY MEASURED performance (despite monumental recurring tuning tasks which helped tremendously, but still left us with "less performance" than the previous year, I moved/rebuilt all of my hottest and largest target tables and indexes, and total I/O at peak went down to 1/4 of what it used to be.&lt;BR /&gt;&lt;BR /&gt;Those rebuilds were and still are measured via perfview, and I can see the differences at each reorg, over the multi-month peak periods, comparing year to year.&lt;BR /&gt;&lt;BR /&gt;Can I summarize those total changes in Oracle?  Probably, but it doesn't show as easily and readily there, even using statspack, it's more inferential.  What I can see easily before and after is that latch contention is down, I'm servicing requests faster, I'm doing less physical I/O.&lt;BR /&gt;&lt;BR /&gt;But Perfview shows more about total system throughput than anything else, and it clearly demonstrates that the system handles load more efficiently than before.  Like 30% easier and better, despite having much, much more data and simultaneous queries and demands placed on the server from years of custom development and IT requirements growth and features and deliverables.&lt;BR /&gt;&lt;BR /&gt;Put simply, I don't like doing these yearly targeted reorgs, and I certainly don't enjoy it.  No on makes any OT money for it (not even comp time sadly enough), and the extra "cost" to our company simply does not exist in any realistic sense, no more than inferring that someone looking over logs for access issues, errors, possible problems and not finding any is a "wasted cost."&lt;BR /&gt;&lt;BR /&gt;However, we've got sustained renewed performance out of older hardware that we've measured, and are quite happy with.&lt;BR /&gt;&lt;BR /&gt;Keep in mind that this was a focused exercise, on only our biggest problem areas, and nothing else (that is just 8 tablespaces out of 500 or so, and most of them only the top 4 to 20 (depending) largest tables/indexes or just indexes in each).  The overwhelming majority of tables and indexes in the system were left alone.&lt;BR /&gt;&lt;BR /&gt;So, do what you need to do to make your system run well for yourself.  Be cautious of following in lock step "all purpose" rules of thumb, as they usually don't always apply everywhere to everything.  Question things more for yourself, measure when possible and use your knowledge to treat issues.</description>
      <pubDate>Wed, 16 May 2007 15:10:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-find-out-which-indexes-want-to-rebuild-in-the-database/m-p/3997600#M749696</guid>
      <dc:creator>TwoProc</dc:creator>
      <dc:date>2007-05-16T15:10:41Z</dc:date>
    </item>
  </channel>
</rss>

