Hi everyone.
is there some performance/access difference between a bitmap index on a number column and char(1) column? Both columns are not null with a default value.
My application has a querie like this:
ass.column30
| | | | from table_a puc | |
| | | | | inner join table_b ass | |
| | | | | | on ass.column1 = puc.column1 |
| | | | | where pc.column_char = 'S' | |
| | | | | and ass.column_char02 = 'P' | |
If I create a bitmap index on column "column_char", the access plan is not changed. But changing the column datatype to number(1) and obviously the values, the index is accessed and the cost decreases.
This table has 4.000.000 rows.
Is there a explanation for this behavior?
Oracle 11.2.0.2
SO: AIX
Thanks in advance.
Handerson