no no sorry i guess i am confusing you .
I got
Table A with 600 columns, 20-million rows.
Table B with 10 column, 30-million rows.
Both tables got a column called.
product_code (possible distinct keys are 200 for this column in both tables.
My query is like
select
a.produce_id, b.sales
from a , b
where
a.bk=b.bk and
a.product_id=b.product_id
(I got bitree index on BK column of both tables),
Since I am already having bitree indexes on both tables, and it is part of query, does the existence of bitmap index on product_id make any impact? do I actually need it?
Regards
G