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

Thread: Index

  1. #1
    Join Date
    Jul 2001
    Posts
    181

    Index

    I have a query which when run on one database makes use of the index, when run on the other does not and takes 45 minutes longer.

    I have used a hint and changed the optimzer to rule and forced the index to be used on the second db, and when that is done the query returns much faster.

    I have analyzed the table in question with compute statistics but the CBO still does not pick up the index.


    ANy ideas?




    Cheers

  2. #2
    Join Date
    Jul 2001
    Posts
    181
    Problem resolved!


    Cheers!!

  3. #3
    Join Date
    May 2001
    Location
    Maryland, USA
    Posts
    409
    Btw, what was it?
    -- Dilip

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