Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: function based index
QUERY_REWRITE must be enabled. Either for the instance (i.e. init.ora or alter system set), for the session (alter session set) or for a single SQL statement (i.e. SQL hint "rewrite")...
You'll also need to analyze the index with either ANALYZE or DBMS_STATS...
I have created a function based index on one column , but query is still noy using it . What should be the reason ?
oracle 8.1.7
cost based optimizer
table and index analyzed recently
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Tim Gorman
INET: Tim_at_SageLogix.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 Mon Apr 22 2002 - 17:38:43 CDT
![]() |
![]() |