Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Indexes not used

Re: Indexes not used

From: Ralph Graulich <ralph_at_grauli.ch>
Date: Tue, 05 Mar 2002 18:37:43 +0100
Message-ID: <ralph-CF6943.18374305032002@doorway.ih.reiff.de>


Hi,

> In a different oracle instance (schema created by same third party
> software), the indexes are not being used. Full table scans are
> happening. Hash joins are used.

There are many different problems, which cause indexes being used in one or another way. The most common ones to check are:

  1. What kind of optimizer is used (cost based / rule based)?
  2. Are the tables fully analyzed (ANALYZE TABLE <tablename> COMPUTE STATISTICS)?
  3. Is there any configuration directive in the init.ora file which prevents Oracle from using HASH_JOINS?
  4. In case hints are used: Are they written correctly?

Regards
... Ralph ... Received on Tue Mar 05 2002 - 11:37:43 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US