What is a bitmap index?

Answer Posted / rahul roshan

Bitmap indexes have traditionally been considered to work well for data such as Boolean values, which have a modest number of distinct values – in this case, boolean True and False - but many occurrences of those values. This would happen if, for example, you had data on whether or not each resident in a city has internet access. Bitmap indexes use bit arrays (commonly called bitmaps) and answer queries by performing bitwise logical operations on these bitmaps. Bitmap indexes have a significant space and performance advantage over other structures for query of such data. Their drawback is they are less efficient than the traditional B-tree indexes for columns whose data is frequently updated: consequently, they are more often employed in read-only systems that are specialized for fast query - e.g., data warehouses, and generally unsuitable for online transaction processing applications. However, this drawback appears to apply only to their implementation in relational database management systems: certain non-relational DBMSs, notably Intersystems Cache, a hierarchical database, use bitmap indexes for low-cardinality columns in transactional systems.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is rank dense_rank and partition in sql?

750


what is meant by urlencode and urldocode? : Sql dba

770


Which is faster union or join?

702


what are the differences between binary and varbinary? : Sql dba

717


What is the current version of postgresql?

734






Is there a 64 bit version of ssms?

678


Why use stored procedures?

772


What is sql lookup?

683


what are wild cards used in database for pattern matching ? : Sql dba

755


Is null operator in sql?

792


How many types of triggers are there in pl sql?

778


What is type and rowtype in pl sql?

741


Why commit is not used in triggers?

773


What do you mean by rowid?

707


Show how functions and procedures are called in a pl/sql block.

766