> working with some folks who are frightened by anti-joins

Last Halloween I went as an anti-join.  It was pretty scary.

Harrison:

"Performance from the hash antijoin was dramatically better than for any
other [anti-join optimization] method we tried.

...

To take advantage of Oracle's antijoin optimizations, the following must be
true:

- CBO optimization must be enabled
- Antijoin columns must not be NULL, because of the table definition or a
not null clause in the SQL
- The subquery is not correlated
- The parent query does not contain an OR clause
- The db parm ALWAYS_ANTI_JOIN is set to MERGE or HASH, or a MERGE_AJ or
HASH_AJ hint is in the subquery"

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Greg Moore
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

Reply via email to