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

Home -> Community -> Mailing Lists -> Oracle-L -> Intermedia: function index for like '%string%'

Intermedia: function index for like '%string%'

From: Koivu, Lisa <lisa.koivu_at_efairfield.com>
Date: Mon, 04 Jun 2001 07:38:21 -0700
Message-ID: <F001.0031A1B0.20010604062022@fatcity.com>

I'm no 'expert' but I can share what I've seen.

interMedia has functionality built in to execute 'fuzzy' searches.  However, when you use fuzzy() be prepared for much slower performance.  I believe there was wildcard functionality too - I didn't use it.  I stuck to the entire word match because performance was miserable if I used any of the functions provided. 

So, in short - a lot more work (maintaining the index) for a minimal improvement in performance.

HTH
Lisa Koivu
Oracle Database Administrator
954-935-4117

The information in the electronic mail message is Cendant confidential and may be legally privileged, it is intended solely for the addressee(s) access to this internet electronic mail message by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it is prohibited and may be unlawful.

The sender believes that this E-mail and any attachments were free of any virus, worm, Trojan horse, and/or malicious code when sent. This message and its attachments could have been infected during transmission. By reading the message and opening any attachments, the recipient accepts full responsibility for taking protective and remedial action about viruses and other defects. Cendant Corporation or Affiliates are not liable for any loss or damage arising in any way from this message or its attachments.

-----Original Message-----

From:   Joseph S. Testa [SMTP:teci_at_the-testas.net]
Sent:   Saturday, June 02, 2001 2:35 PM
To:     Multiple recipients of list ORACLE-L
Subject:        Re: function index for like '%string%'

good question, i've not tried any intermedia/context stuff.

any experts out there?

Joe
"Thater, William" wrote:
>
> On Fri, 1 Jun 2001,Joseph S. Testa scribbled on the wall in glitter crayon:
>
> ->i spent about a week about 6 months ago looking for something to fill
> ->that possibility to no avail.
>
> dumb question would a contex... oh excuse me InterMedia index work?
>
> ->
> ->joe
> ->Rachel Carmichael wrote:
> ->>
> ->> she knows why it isn't being used. What Suzy wants to know (and I do too,
> ->> because I have a similar situation) is if there is a way to create an index
> ->> that will let you search with the like clause.
> ->>
> ->> Unfortunately my gut instinct is that you can't make Oracle do that
> ->>
> ->> >From: "Hillman, Alex" <Alex.Hillman_at_usmint.treas.gov>
> ->> >Reply-To: ORACLE-L_at_fatcity.com
> ->> >To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
> ->> >Subject: RE: function index for like '%string%'
> ->> >Date: Fri, 01 Jun 2001 14:11:08 -0800
> ->> >
> ->> >index is not used because you have leading % in the like predicate.
> ->> >
> ->> >Alex Hillman
> ->> >
> ->> >-----Original Message-----
> ->> >Sent: Friday, June 01, 2001 5:09 PM
> ->> >To: Multiple recipients of list ORACLE-L
> ->> >
> ->> >
> ->> >
> ->> >I've created a function index for lower(column_name).  However the query
> ->> >does
> ->> >a like comparison rather than equality so the index isn't used.  Is there a
> ->> >way to create a function index for this?
> ->> >
> ->> >Here's the index and query:
> ->> >
> ->> >create index fx1_auth_users
> ->> >on auth_users (lower(current_email)
> ->> >tablespace app01_midx ;
> ->> >
> ->> >select current_email from auth_users
> ->> >where lower(current_email) like '%datsit.com%' ;
> ->> >
> ->> >Thanks much,
> ->> >Suzy
> ->> >--
> ->> >Please see the official ORACLE-L FAQ: http://www.orafaq.com
> ->> >--
> ->> >Author: Suzy Vordos
> ->> >   INET: lvordos_at_datsit.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).
> ->> >--
> ->> >Please see the official ORACLE-L FAQ: http://www.orafaq.com
> ->
> ->
> ->
> ->
>
> --
> Bill "Shrek" Thater   Certifiable ORACLE DBA
> Telergy, Inc.            thaterw_at_telergy.net
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> You gotta program like you don't need the money,
> You gotta compile like you'll never get hurt,
> You gotta run like there's nobody watching,
> It's gotta come from the heart if you want it to work.
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> MIPS:  Meaningless Indicator of Processor Speed.
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Thater, William

>   INET: ThaterW_at_telergy.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)
-- 
Joe Testa  http://www.oracle-dba.com
Performing Remote DBA Services, need some backup DBA support?
For Sale: Oracle-dba.com domain, its not going cheap but feel free to
ask :)
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Joseph S. Testa
  INET: teci_at_the-testas.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 Mon Jun 04 2001 - 09:38:21 CDT

Original text of this message

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