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

Home -> Community -> Usenet -> c.d.o.misc -> Re: SQL Select taking forever

Re: SQL Select taking forever

From: Alan D. Mills <alanmNOSPAM_at_uk.europe.mcd.mot.com>
Date: Wed, 17 Jun 1998 15:34:30 +0100
Message-ID: <6m8k4s$8dc$1@schbbs.mot.com>


Could it be worth splitting your INSERT-SELECT into two. The first as you have it but without the outer join which will avoid using the index properly. The second to catch all the outer-joined records (using a NOT IN construct?). You should be able to write these using the primary key indexes and may take less time.

HTH --
Alan D. Mills

To email remove NOSPAM from address. Received on Wed Jun 17 1998 - 09:34:30 CDT

Original text of this message

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