Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Oracle 7.3.2 and bitmap indexes
Hi.
I am using Cost Based Optimizer with Oracle 7.3.2.3.
When I execute
SELECT * FROM tab_1
WHERE <some conditions> AND
status IN ( 1,5,8,9,11 );
( STATUS field has about 7-8 distinct values and BIT-MAP index
is defined on that field ) - Optimizer ignores IN clause
completly and display rows with status 2/3/etc.
When I drop the bitmap index on status, or use
status + 0 IN (1,5,8,9,11) - it work fine.
Any suggestions, folks?
Michael.
P.S. I tried to find some info on Oracle.technet, but no go.
Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Sat Oct 23 1999 - 17:33:15 CDT