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: Hint to get this Query plan?

Re: Hint to get this Query plan?

From: Greg Stark <greg-spare-1_at_mit.edu>
Date: Tue, 08 Feb 2000 23:33:05 GMT
Message-ID: <87emanuv6c.fsf@HSE-Montreal-ppp33976.qc.sympatico.ca>

"Jonathan Lewis" <jonathan_at_jlcomp.demon.co.uk> writes:

> Given the normal size and speed of
> creation of bitmaps - if this query is
> important you could try creating a
> bitmap on (a,b).

But the "normal size" is dependent on it being a good candidate for bitmaps. If the cardinality of column a is low (in this case ~300) and the cardinality of b is low (in this case 4) it does not necessarily follow that the cardinality of (a,b) is low (~1200). In this case it might still be reasonable, but if b were another 300 then it wouldn't make any sense.

--
greg Received on Tue Feb 08 2000 - 17:33:05 CST

Original text of this message

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