Jump to content

Bitmap index

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 82.69.92.81 (talk) at 23:17, 9 June 2005. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

A bitmapped index is a special kind of index that is particularly useful in data warehousing for columns that have a low number of distinct values (low cardinality). For example, Sex (M/F). These indexes become very powerful when one is comparing different low cardinality attributes for many items. Logical operators can also be used to optimise queries.

Example bitmap index:

Attribute colspan="2" Product Number
Attribute/Product 1 2 3 4 5
£100 0 1 0 1 0
£200 1 0 0 0 0
£300 0 0 1 0 1
Garden 1 0 0 0 1
Kitchen 0 1 1 1 0
Dining Room 0 1 0 1 0