Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> oracle function based index not being utilized
We are running on Oracle EE 8.1.7.3 on Sun Solaris 5.8.
We use cost based optimizer.
I have created a function based index as of following,
create index IDX_CONSUMER_LOWER_FIRSTNAME on consumer(lower(first_name));
Then I need to run the following query, it suppose to utilize the index I have created, but it did not.
select consumer.id from consumer
where lower(first_name) = 'serpie';
This query still does a full table scan,
Query Plan
Thanks
Helen Received on Fri Aug 02 2002 - 14:40:12 CDT