Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: USE_NL with or without ORDERED

Re: USE_NL with or without ORDERED

From: Christian Trassens <ctrassens_at_yahoo.com>
Date: Thu, 13 Sep 2001 08:21:46 -0700
Message-ID: <F001.0038D292.20010913071019@fatcity.com>

!! Please do not post Off Topic to this List !!

Using hints don't force Oracle to use the path choosen when you write the query. Much more true in a join operation where Oracle has many choices. What you do is to restrict options. However Oracle have to look at the statistics for a final decision.

Appart from what I said, are your statistics accurated ?. Try without aliases not only in the hint, also for the whole query. Are both tables indexed ?. Maybe is because of the cost of the unique scan of the index. The emp_id it is a sequence. If this is the case, maybe the clustering of the index is too high.

Regards.


Eng. Christian Trassens
Senior DBA
Systems Engineer
ctrassens_at_yahoo.com
ctrassens_at_hotmail.com
Phone : 541149816062

Terrorist Attacks on U.S. - How can you help? Donate cash, emergency relief information http://dailynews.yahoo.com/fc/US/Emergency_Information/
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Christian Trassens
  INET: ctrassens_at_yahoo.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Thu Sep 13 2001 - 10:21:46 CDT

Original text of this message

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