Explain Plan
Explain Plan
A bit map index uses string of bits to quickly locate rows in a table. They are
normally use to index low cardinality columns in a warehouse environmen
In this example, the department_id, last_name, and salary are a composite key in an index.
Oracle Database performs a full scan of the index, reading it in sorted order (ordered by
department ID and last name) and filtering on the salary attribute. In this way, the database scans
a set of data smaller than the employees table, which contains more columns than are included
in the query, and avoids sorting the data.
The full scan could read the index entries as follows:
50,Atkinson,2800,rowid
60,Austin,4800,rowid
70,Baer,10000,rowid
80,Abel,11000,rowid
80,Ande,6400,rowid
110,Austin,7200,rowid
.
.
.