Take the 2-minute tour ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

say, i have database named "demo_dev" database and added a table named "countries".

i wanted to create bitmap index on a column say region as it has less unique values using following query.

 CREATE BITMAP INDEX ON countries (region);

it throwed an error as shown below:

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'BITMAP INDEX ON countries (region)'

what shoud be done to run it successfully.

i just refered the following linK : http://dev.mysql.com/worklog/task/?id=1524

mysql version : 5.5

share|improve this question

1 Answer 1

You are looking at a feature request. See here for this table

Storage Engine  Permissible Index Types
NDB HASH, BTREE (see note in text)

They are not even available in 5.7 - they would be a nice to have, but not yet - maybe in the future. Check this out - pages 32 and 33 - not even the columnar stores (InfiniDB and Inforbright) have them yet - AFAICS.

share|improve this answer
As an addition, both MyISAM and InnoDB (since 5.6) support FULLTEXT indexes and RTREE/Spatial indexes (InnoDB since 5.7). –  jynus Jul 17 '14 at 18:48
Thanks - good for completeness. –  Vérace Jul 17 '14 at 18:55

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.