HyperLogLog
hll_default_log2m
Parameter description: Specifies the number of buckets for HLL data. The number of buckets affects the precision of distinct values calculated by HLL. The more buckets there are, the smaller the deviation is. The deviation range is as follows: [–1.04/2log2m*1/2, +1.04/2log2m*1/2]
Parameter type: integer
Unit: none
Value range: 10–16
Default value: 14
Setting method: This is a USERSET parameter. Set it based on instructions provided in Table 1.
Setting suggestion: Retain the default value or adjust the value based on service requirements.
hll_default_log2explicit
Parameter description: Specifies the default threshold for switching from the explicit mode to the sparse mode.
Parameter type: integer
Unit: none
Value range: 0–12 The value 0 indicates that the explicit mode is skipped. A value within 1–12 indicates that the mode is switched when the number of distinct values reaches 2hll_default_log2explicit.
Default value: 10
Setting method: This is a USERSET parameter. Set it based on instructions provided in Table 1.
Setting suggestion: Retain the default value or adjust the value based on service requirements.
hll_default_log2sparse
Parameter description: Specifies the default threshold for switching from the sparse mode to the full mode.
Parameter type: integer
Unit: none
Value range: 0–14 The value 0 indicates that the explicit mode is skipped. A value within 1 to 14 indicates that the mode is switched when the number of distinct values reaches 2hll_default_log2sparse.
Default value: 12
Setting method: This is a USERSET parameter. Set it based on instructions provided in Table 1.
Setting suggestion: Retain the default value or adjust the value based on service requirements.
hll_duplicate_check
Parameter description: Specifies whether duplicatecheck is enabled by default.
Parameter type: Boolean
Unit: none
Value range:
- 0: The function is disabled by default.
- 1: The function is enabled by default.
Default value: 0
Setting method: This is a USERSET parameter. Set it based on instructions provided in Table 1.
Setting suggestion: Retain the default value or adjust the value based on service requirements.
hll_default_regwidth (Discarded)
Parameter description: Specifies the number of bits in each bucket for HLL data. A larger value indicates more memory occupied by HLL. hll_default_regwidth and hll_default_log2m determine the maximum number of distinct values that can be calculated by HLL. Currently, regwidth is set to a fixed value and is no longer used.
This is a USERSET parameter. Set it based on instructions provided in Table 1.
Value range: an integer ranging from 1 to 5
Default value: 5
hll_default_expthresh (Discarded)
Parameter description: Specifies the default threshold for switching from the explicit mode to the sparse mode. Currently, the hll_default_log2explicit parameter is used to replace the similar function.
This is a USERSET parameter. Set it based on instructions provided in Table 1.
Value range: an integer ranging from –1 to 7 –1 indicates the auto mode; 0 indicates that the explicit mode is skipped; a value from 1 to 7 indicates that the mode is switched when the number of distinct values reaches 2hll_default_expthresh.
Default value: –1
hll_default_sparseon (Discarded)
Parameter description: Specifies whether to enable the sparse mode by default. Currently, the hll_default_log2sparse parameter is used to replace the similar function. When hll_default_log2sparse is set to 0, the sparse mode is disabled.
This is a USERSET parameter. Set it based on instructions provided in Table 1.
Value range: 0 or 1 0 indicates that the sparse mode is disabled by default. 1 indicates that the sparse mode is enabled by default.
Default value: 1
hll_max_sparse (Discarded)
Parameter description: Specifies the size of max_sparse. Currently, the hll_default_log2sparse parameter is used to replace the similar function.
This is a USERSET parameter. Set it based on instructions provided in Table 1.
Value range: an integer ranging from –1 to 2147483647
Default value: –1
enable_compress_hll (Discarded)
Parameter description: Specifies whether to enable memory optimization for HLL. Currently, the HLL memory has been optimized, and this parameter is no longer used.
This is a USERSET parameter. Set it based on instructions provided in Table 1.
Value range: Boolean
- on or true indicates that memory optimization is enabled.
- off or false indicates that memory optimization is disabled.
Default value: off
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot