Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Why Oracle does not use index?
"Billy Verreynne" <vslabs_at_onwe.co.za> wrote in message
news:ask50l$jvs$1_at_ctb-nnrp2.saix.net...
<skip excellent explanation>
> If you have a SI (secondary index) on STATE and CITY, then that would have
> been used instead of the full table scan.
>
> However - given the number of STATE values, this index is likely a
candidate
> for a bitmap index instead.
Unless the table is subject to frequent inserts and deletes which seems probable to me given the names of the objects.
I'd expect that *for this query* you need to as others have said.
-- Niall Litchfield Oracle DBA Audit Commission UK ***************************************** Please include version and platform and SQL where applicable It makes life easier and increases the likelihood of a good answer ******************************************Received on Wed Dec 04 2002 - 03:21:45 CST
![]() |
![]() |