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 -> Function based index not being used

Function based index not being used

From: <bsandell_at_gmail.com>
Date: 6 Jul 2005 17:44:40 -0700
Message-ID: <1120697080.070232.8250@g49g2000cwa.googlegroups.com>


I am trying to create a function based index to speed up a query, but the index doesn't seem to be used. The user defined function is based on a java stored procedure, I'm not sure if that could be the problem? Also, the function is not owned by the user creating the index, but the

function is executable by public.

Any ideas why the index is not used? Thanks.

CREATE OR REPLACE FUNCTION myFunction(inData VARCHAR2, ...) RETURN RAW
DETERMINISTIC
AS
LANGUAGE java
NAME 'com....myFunction (java.lang.String ...) return byte[]'; /

'aaa';

no rows selected

Execution Plan

------------------------------­----------------------------
   0      SELECT STATEMENT Optimizer=CHOOSE
   1 0 TABLE ACCESS (FULL) OF 'INDXTEST' Received on Wed Jul 06 2005 - 19:44:40 CDT

Original text of this message

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