dict data handling property to the column during type creation (using
/create/type). An existing column can be converted to use
dictionary encoding by modifying the column and applying the dict property
(using /alter/table).
For example, to apply dictionary encoding to a column during table creation:
Don’t leave any spaces between properties in an
/alter/table command’s
column_properties option.Limitations and Cautions
Columns with any of the following characteristics are not eligible for dictionary encoding:-
Any of these specific types:
- array types
- geometry types
jsonvector
- Member of a filtered view or join view
- Member of an existing primary key or shard key; i.e., dictionary encoding cannot be applied to primary key or shard key columns after table creation