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: ADVICE NEEDED - Striping? SQL? Speed

Re: ADVICE NEEDED - Striping? SQL? Speed

From: Jane H. <memberjh_at_yahoo.com>
Date: Thu, 20 May 1999 22:44:46 -0400
Message-ID: <7i2hbi$cj6@dfw-ixnews8.ix.netcom.com>

Each of the columns contains relevant data. No index, because they contain multiple words. The strings could be anywhere ('%') in each of the fields ('or') the strings could be spread across the three fields ('and'). Is there a more efficient way to put this query? Should I restructure the tables?

Ikro Yoon wrote in message <7i2eab$7ml_at_news.acns.nwu.edu>...
>Are you using index? One problem with yours, however, is that if the mask
>in the LIKE operator begins with a percent sign or an underscore character,
>the index cannot be used. Also in some cases, Oracle will not use an index
>if the condition in the WHERE clause contains the OR operator.
>Looking at your SQL statement below, I see three things that are slowing
>down your query.
Received on Thu May 20 1999 - 21:44:46 CDT

Original text of this message

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