Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Help: Is it possible to use a bitmap index with a greater than > in on the bitmapped column

Re: Help: Is it possible to use a bitmap index with a greater than > in on the bitmapped column

From: Jonathan Lewis <jonathan_at_jlcomp.demon.co.uk>
Date: Fri, 1 Dec 2000 10:47:57 -0000
Message-ID: <975667765.8666.0.nnrp-02.9e984b29@news.demon.co.uk>

It is possible - but the statistics
may be against you. What fraction
of the table does oracle think it will
get using the index ?

You might try just the INDEX() hint
rather than INDEX_COMBINE()

--
Jonathan Lewis
Yet another Oracle-related web site:  http://www.jlcomp.demon.co.uk

Practical Oracle 8i:  Building Efficient Databases

Publishers:  Addison-Wesley
Book bound date: 8th Dec 2000
See a first review at:
http://www.ixora.com.au/resources/index.htm#practical_8i
More reviews at: http://www.jlcomp.demon.co.uk/book_rev.html



Haild wrote in message <3a26e5f5$0$690$45beb828_at_newscene.com>...

>have a query
>
>
>select /* index_combine(ts_b052r_billing_determinants,BITMAP_CUST_PRORATE)
*/
>* from ts_b052r_billing_determinants ts
>where ts.CUST_PRORATE_FAC = 2
>
>it uses the bittmap
>
>
>this query
>
>
>select /* index_combine(ts_b052r_billing_determinants,BITMAP_CUST_PRORATE)
*/
>* from ts_b052r_billing_determinants ts
>where ts.CUST_PRORATE_FAC > 2
>
>will not use the bitmap no matter what we do. Is it becuase a bitmap can
not
>be used with a > or < just with an = ?
Received on Fri Dec 01 2000 - 04:47:57 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US