Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2008
    Posts
    18

    Unanswered: very slow - Oracle 10g DBA_TABLES, DBA_INDEXES

    I ran a SQL statement on an Oracle 10g DBA_TABLES, DBA_INDEXES, DBA_TAB_COLUMNS, DBA_IND_COLUMNS.
    Purpose : to find out which tables need to have re-index.
    The SQL statement ran very fast in both DEV and PRD systems but hang up in QAS.
    How can I fix the problem ?
    I found I can't use BRTools to have table reorgan. on the SYSTEM tablespaces.
    So, could you tell me how to fix this slow performance problems on these DBA tables ?

  2. #2
    Join Date
    Nov 2003
    Posts
    2,935
    Provided Answers: 12
    Quote Originally Posted by cpchan View Post
    Purpose : to find out which tables need to have re-index.
    The answer is simple: none

    It is extremely unlikely that you need to re-index a table in Oracle.
    I will not read nor answer questions where the SQL code is messy and not formatted properly using [code] tags: http://www.dbforums.com/misc.php?do=bbcode#code

    Tips for good questions:

    http://tkyte.blogspot.de/2005/06/how...questions.html
    http://wiki.postgresql.org/wiki/SlowQueryQuestions
    http://catb.org/esr/faqs/smart-questions.html

  3. #3
    Join Date
    Sep 2012
    Posts
    18
    try to use

    segment advisor

    on indexes and tables


    donot re-index them

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •