Create a table
-
Create an Aggregate table, in which the data type of the
user_idcolumn is BITMAP and the bitmap_union() function is used to aggregate data. -
Create a Primary Key table, in which the data type of the
useridcolumn is BITMAP.
BITMAP is often used to accelerate count distinct.
user_id column is BITMAP and the bitmap_union() function is used to aggregate data.
userid column is BITMAP.