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: function index for like '%string%'

Re: function index for like '%string%'

From: A. Bardeen <abardeen1_at_yahoo.com>
Date: Sat, 02 Jun 2001 07:48:50 -0700
Message-ID: <F001.0031934A.20010602074527@fatcity.com>

I understand what you want to do, but realistically how do you expect Oracle to maintain an index or efficiently search it when the leading characters are unknown and of variable length?

Perhaps this would be suitable for a
context/intermedia index? I have long since forgotten what little I knew about context from O7, so I'm not much help there.

Is the substring that you're interested in a fixed value or a range of exclusive values (i.e. the string will not contain more than one of the values)? If so, why not create a trigger which populates another column and index that column? I would think a bitmap index would be ideal for that situation.

Hmm, now that I think about it couldn't you create a fbi that uses the instr function to accomplish this?

HTH,


Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: A. Bardeen
  INET: abardeen1_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 Sat Jun 02 2001 - 09:48:50 CDT

Original text of this message

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