Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Function based indexes
Function based indexes work fine on 8.1.6 (you must use an optimizer
hint,though) as long as you have
EE version and query_rewrite_enabled is set to true for your session.
-----Original Message-----
From: Koivu, Lisa [mailto:lkoivu_at_qode.com]
Sent: Wednesday, August 23, 2000 8:59 AM
To: Multiple recipients of list ORACLE-L
Subject: RE: Function based indexes
I'm sorry Helmut I do not have an answer for you.
I wanted to ask the list, has anyone successfully created a function-based index before? I tried to create one on a medium-sized table and it ran for hours and hours. (8.1.5, hp/ux), it was only UPPER(field_name). After watching that run I did not pursue it any further.
Man, Intermedia, fxn-idx's, OAS, all these mediocre-working things in Oracle are leaving a bad taste in my mouth.
-----Original Message-----
From: Helmut Daiminger [ mailto:hdaiminger_at_vivonet.com
<mailto:hdaiminger_at_vivonet.com> ]
Sent: Tuesday, August 22, 2000 5:12 PM
To: Multiple recipients of list ORACLE-L
Subject: Function based indexes
> Hi!
>
> This is 8.1.6 on AIX.
>
> Is there any way that I can put a function based index on
> this expression???
>
> ....
> where table.Closedstamp between
> GETSTOREDATESTR(table.Companyid,table.StoreLocid,'08/01/2000') AND
>
> GETSTOREDATE(table.Companyid,table.StoreLocid,TRUNC(TO_DATE
> ('08/01/2000','MM/DD/YYYY')+1))
>
> Or would it help to put a function based index on the two functions
> GETSTOREDATESTR and GETSTOREDATE.
>
>
> Thanks,
> Helmut
-- Author: Helmut Daiminger INET: hdaiminger_at_vivonet.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 Wed Aug 23 2000 - 09:46:22 CDT