DBAsupport.com Forums - Powered by vBulletin
Results 1 to 5 of 5

Thread: index not used

Threaded View

  1. #1
    Join Date
    May 2000

    index not used

    This one baffles me.

    I have two databases on one the index I like is getting used on the other it uses a different index.


    Select ...
    from ...
    where ...
    and record_date > sysdate - 10
    order by upper(name)

    I have a FBI on name and another index on record_date.
    In one database
    (lets call it Database1) the query uses the date index
    (on the other Database2) it uses the FBI.
    Infact it seems to like the FBI on the second database most of the time ; even when the query changes to have a different filter condition that is indexed.

    The dataset is identical
    Both database were analyzed.
    Both have same init parameters
    Database 1 is on
    Database 2 on

    Any help is greatly appreciated
    Last edited by rnv; 03-11-2005 at 12:59 PM.

Posting Permissions

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

Click Here to Expand Forum to Full Width

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.