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: More info on sql query running slow

Re: More info on sql query running slow

From: Greg Moore <sqlgreg_at_pacbell.net>
Date: Wed, 20 Mar 2002 14:18:44 -0800
Message-ID: <F001.0042F1F8.20020320141844@fatcity.com>


> > weigh cost of adding a extra index.
>
> Maybe you can add this column to an existing index.

Specifically, instead of the FK index on the FK column(s) only, add the flag column to the FK index. It will still work as a FK index, and you'll optimize this SQL without adding an additional index.

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Greg Moore
  INET: sqlgreg_at_pacbell.net

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 Wed Mar 20 2002 - 16:18:44 CST

Original text of this message

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