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: Ed Stevens <Ed_Stevens_at_nospam.noway.nohow>
Date: Tue, 05 Mar 2002 18:31:49 GMT
Message-ID: <3c850eaf.106652337@ausnews.austin.ibm.com>


On Tue, 05 Mar 2002 18:37:43 +0100, Ralph Graulich <ralph_at_grauli.ch> wrote:

>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:
>
>a) What kind of optimizer is used (cost based / rule based)?
>b) Are the tables fully analyzed (ANALYZE TABLE <tablename> COMPUTE
>STATISTICS)?
>c) Is there any configuration directive in the init.ora file which
>prevents Oracle from using HASH_JOINS?
>d) In case hints are used: Are they written correctly?
>
>
>Regards
>... Ralph ...
 

And along with point A, what are the data volumes on the different instances. If one is a test instance with only 10% of the data as the other, it will tend to favor full table scans.

--
Ed Stevens
(Opinions expressed do not necessarily represent those of my employer.)
Received on Tue Mar 05 2002 - 12:31:49 CST

Original text of this message

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