CREATE INDEX

description

  1. This statement is used to create index
  2. grammer:
  3. CREATE INDEX index_name ON table_name (column [, ...],) [USING BITMAP] [COMMENT'balabala'];
  4. note:
  5. 1. only support bitmap index in current version
  6. 2. BITMAP index only supports apply to single column

example

  1. 1. create index on table1 column siteid using bitmap
  2. CREATE INDEX index_name ON table1 (siteid) USING BITMAP COMMENT 'balabala';

keyword

  1. CREATE,INDEX