Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Query tuning experts: Any hope for tuning query with 5+ joins and a sort?
Sorry about the late reply.
I've been lecturing in the US, and haven't had much spare time for the newsgroup.
Remember that the optimizer is continually evolving, and it takes time for new features to spread through all the code areas. Depending on version, you will find that there are several places where special optimisation features don't work with new index options (viz function based, reverse key, descending column) indexes.
This is just one such example - it does work with 9.2 though.
-- Regards Jonathan Lewis http://www.jlcomp.demon.co.uk Next Seminar dates: (see http://www.jlcomp.demon.co.uk/seminar.html ) ____USA__________November 7/9 (Detroit) ____USA__________November 19/21 (Dallas) ____England______November 12/14 The Co-operative Oracle Users' FAQ http://www.jlcomp.demon.co.uk/faq/ind_faq.html william milbratz wrote in message ...Received on Mon Nov 11 2002 - 07:13:45 CST
>1) The /*+ ORDERED FIRST_ROWS */ hints work fine when I'm querying
on
>'normal' (i.e. btree indexes, nothing fancy...)..but when I used a
>function based index, Oracle doesn't take the hint..i.e. and does its
>own sorting. In addition, I've tried using the 'INDEX' and the
>'INDEX_ASC' hint. No avail.
>