Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Oracle 9.0.1.6 fails to use index with '=' but will with 'like'
Steven,
I guess it has something to do with optimizer strategy.
LIKE is more expansive than =. This might cause the optimizer to use the
Index for like and not for =.
Run a "analyze table coneventnp compute statistics for table for all
indexes;" and check again.
Once you created any statistics on an object and are not using RULE
optimizer goal, the query optimizer uses statistics at all. So you should
create statistics for all objects and keep them up to date.
greetings
Martin
<steven.herod_at_gmail.com> schrieb im Newsbeitrag
news:1116481176.689644.187540_at_g44g2000cwa.googlegroups.com...
> Sorry, I mean 9.2.06 is our version. Typo
>
Received on Thu Jun 02 2005 - 15:55:52 CDT
![]() |
![]() |