Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Urgent Tuning Question....
> It seems the optimizer is choosing to use full table scans and a hash
> join rather than using the indexes. Any ideas why it would do this and
> not use the indexes and a nested loop or how i can improve the speed of
> the query?
Have you tried using the Optimizer hint to perform a Nested Loop join instead? If the Optimizer is making a sub-optimal choice, then give it a hint! If you do not have access to the code, then look at implementing a Stored Outline for this query.
HTH,
Brian
-- =================================================================== Brian Peasland oracle_dba_at_nospam.peasland.net http://www.peasland.net Remove the "nospam." from the email address to email me. "I can give it to you cheap, quick, and good. Now pick two out of the three" - UnknownReceived on Wed May 10 2006 - 09:42:35 CDT