The Sparse index improves equality-based query performance on high-cardinality columns. It is a hybrid between inverted indexes and Bloom filters, particularly beneficial for tiered storage environments.
column = value
or column IN (...)
) on high-cardinality columnsWHERE deviceId = 'abc123'
:
/cluster/configs
API, or through your server configuration files.
Note: After adding this configuration, restart the servers for the changes to take effect.
partitions
valuechunkSize
hashFunctionCount
based on selectivity needs and storage constraintspartitions
or hashFunctionCount
will linearly increase the index size. Double either value, and the index size approximately doubles.