Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does MySQL support for BITMAP indexes?

Tags:

indexing

mysql

Does MySQL support BITMAP indexes? What's the syntax?

mysql> CREATE BITMAP INDEX ON tb1(num);
ERROR 1064 (42000): 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 'BITMA
P INDEX ON tb1(num)' at line 1
like image 815
Michael Phelps Avatar asked Jun 23 '15 16:06

Michael Phelps


1 Answers

Short answer - no, it doesn't. As of the today (MySQL 8.0), it contains only two types of indexes - HASH and BTREE.

like image 88
Mureinik Avatar answered Oct 02 '22 12:10

Mureinik