From ace5e2383400ff6003fcb2f8e19d9a3d183e8f16 Mon Sep 17 00:00:00 2001 From: Leto_b Date: Wed, 31 Dec 2025 15:08:58 +0800 Subject: [PATCH] add new compressor params 206 --- .../Table/Reference/System-Config-Manual.md | 151 ++++++++++++------ .../Tree/Reference/Common-Config-Manual.md | 136 +++++++++++++++- .../Reference/System-Config-Manual.md | 150 +++++++++++------ .../latest/Reference/Common-Config-Manual.md | 136 +++++++++++++++- .../Table/Reference/System-Config-Manual.md | 92 ++++++++--- .../Tree/Reference/Common-Config-Manual.md | 86 ++++++++-- .../Reference/System-Config-Manual.md | 92 ++++++++--- .../latest/Reference/Common-Config-Manual.md | 85 ++++++++-- 8 files changed, 760 insertions(+), 168 deletions(-) diff --git a/src/UserGuide/Master/Table/Reference/System-Config-Manual.md b/src/UserGuide/Master/Table/Reference/System-Config-Manual.md index 1e0d844dd..8b19fefd0 100644 --- a/src/UserGuide/Master/Table/Reference/System-Config-Manual.md +++ b/src/UserGuide/Master/Table/Reference/System-Config-Manual.md @@ -1293,93 +1293,149 @@ The `iotdb-system.properties` file contains various configurations for managing - boolean_string_infer_type -| Name | boolean_string_infer_type | -| ----------- | ------------------------------------------------------------ | +| Name | boolean_string_infer_type | +| ----------- |------------------------------------------------------------------------------------| | Description | register time series as which type when receiving boolean string "true" or "false" | -| Value | BOOLEAN or TEXT | -| Default | BOOLEAN | -| Effective | Restart required. | +| Value | BOOLEAN or TEXT | +| Default | BOOLEAN | +| Effective | Hot_reload | - integer_string_infer_type -| Name | integer_string_infer_type | -| ----------- | ------------------------------------------------------------ | +| Name | integer_string_infer_type | +| ----------- |------------------------------------------------------------------------------------------------------------------| | Description | register time series as which type when receiving an integer string and using float or double may lose precision | -| Value | INT32, INT64, FLOAT, DOUBLE, TEXT | -| Default | DOUBLE | -| Effective | Restart required. | +| Value | INT32, INT64, FLOAT, DOUBLE, TEXT | +| Default | DOUBLE | +| Effective | Hot_reload | - floating_string_infer_type -| Name | floating_string_infer_type | -| ----------- | ------------------------------------------------------------ | +| Name | floating_string_infer_type | +| ----------- |----------------------------------------------------------------------------------| | Description | register time series as which type when receiving a floating number string "6.7" | -| Value | DOUBLE, FLOAT or TEXT | -| Default | DOUBLE | -| Effective | Restart required. | +| Value | DOUBLE, FLOAT or TEXT | +| Default | DOUBLE | +| Effective | Hot_reload | - nan_string_infer_type -| Name | nan_string_infer_type | -| ----------- | ------------------------------------------------------------ | +| Name | nan_string_infer_type | +| ----------- |--------------------------------------------------------------------| | Description | register time series as which type when receiving the Literal NaN. | -| Value | DOUBLE, FLOAT or TEXT | -| Default | DOUBLE | -| Effective | Restart required. | +| Value | DOUBLE, FLOAT or TEXT | +| Default | DOUBLE | +| Effective | Hot_reload | - default_boolean_encoding -| Name | default_boolean_encoding | -| ----------- | ------------------------------------------------------------ | +| Name | default_boolean_encoding | +| ----------- |----------------------------------------------------------------| | Description | BOOLEAN encoding when creating schema automatically is enabled | -| Value | PLAIN, RLE | -| Default | RLE | -| Effective | Restart required. | +| Value | PLAIN, RLE | +| Default | RLE | +| Effective | Hot_reload | - default_int32_encoding | Name | default_int32_encoding | -| ----------- | ------------------------------------------------------------ | +| ----------- |--------------------------------------------------------------| | Description | INT32 encoding when creating schema automatically is enabled | | Value | PLAIN, RLE, TS_2DIFF, REGULAR, GORILLA | | Default | TS_2DIFF | -| Effective | Restart required. | +| Effective | Hot_reload | - default_int64_encoding | Name | default_int64_encoding | -| ----------- | ------------------------------------------------------------ | +| ----------- |--------------------------------------------------------------| | Description | INT64 encoding when creating schema automatically is enabled | | Value | PLAIN, RLE, TS_2DIFF, REGULAR, GORILLA | | Default | TS_2DIFF | -| Effective | Restart required. | +| Effective | Hot_reload | - default_float_encoding | Name | default_float_encoding | -| ----------- | ------------------------------------------------------------ | +| ----------- |--------------------------------------------------------------| | Description | FLOAT encoding when creating schema automatically is enabled | | Value | PLAIN, RLE, TS_2DIFF, GORILLA | | Default | GORILLA | -| Effective | Restart required. | +| Effective | Hot_reload | - default_double_encoding -| Name | default_double_encoding | -| ----------- | ------------------------------------------------------------ | +| Name | default_double_encoding | +| ----------- |---------------------------------------------------------------| | Description | DOUBLE encoding when creating schema automatically is enabled | -| Value | PLAIN, RLE, TS_2DIFF, GORILLA | -| Default | GORILLA | -| Effective | Restart required. | +| Value | PLAIN, RLE, TS_2DIFF, GORILLA | +| Default | GORILLA | +| Effective | Hot_reload | - default_text_encoding | Name | default_text_encoding | -| ----------- | ----------------------------------------------------------- | +| ----------- |-------------------------------------------------------------| | Description | TEXT encoding when creating schema automatically is enabled | | Value | PLAIN | | Default | PLAIN | -| Effective | Restart required. | +| Effective | Hot_reload | + + +* boolean_compressor + +| Name | boolean_compressor | +|------------------|-----------------------------------------------------------------------------------------| +| Description | BOOLEAN compression when creating schema automatically is enabled (Supports from V2.0.6) | +| Type | String | +| Default | LZ4 | +| Effective | Hot_reload | + +* int32_compressor + +| Name | int32_compressor | +|----------------------|--------------------------------------------------------------------------------------------| +| Description | INT32/DATE compression when creating schema automatically is enabled(Supports from V2.0.6) | +| Type | String | +| Default | LZ4 | +| Effective | Hot_reload | + +* int64_compressor + +| Name | int64_compressor | +|--------------------|-------------------------------------------------------------------------------------------------| +| Description | INT64/TIMESTAMP compression when creating schema automatically is enabled (Supports from V2.0.6) | +| Type | String | +| Default | LZ4 | +| Effective | Hot_reload | + +* float_compressor + +| Name | float_compressor | +|-----------------------|---------------------------------------------------------------------------------------| +| Description | FLOAT compression when creating schema automatically is enabled (Supports from V2.0.6) | +| Type | String | +| Default | LZ4 | +| Effective | Hot_reload | + +* double_compressor + +| Name | double_compressor | +|-------------------|----------------------------------------------------------------------------------------| +| Description | DOUBLE compression when creating schema automatically is enabled (Supports from V2.0.6) | +| Type | String | +| Default | LZ4 | +| Effective | Hot_reload | + +* text_compressor + +| Name | text_compressor | +|--------------------|--------------------------------------------------------------------------------------------------| +| Description | TEXT/BINARY/BLOB compression when creating schema automatically is enabled (Supports from V2.0.6) | +| Type | String | +| Default | LZ4 | +| Effective | Hot_reload | + ### 4.17 Query Configurations @@ -1538,12 +1594,12 @@ The `iotdb-system.properties` file contains various configurations for managing - sort_buffer_size_in_bytes -| Name | sort_buffer_size_in_bytes | -| ----------- | ------------------------------------------------------------ | -| Description | The memory for external sort in sort operator, when the data size is smaller than sort_buffer_size_in_bytes, the sort operator will use in-memory sort. | -| Type | long | -| Default | 1048576 | -| Effective | Restart required. | +| Name | sort_buffer_size_in_bytes | +| ----------- |--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| Description | The memory for external sort in sort operator, when the data size is smaller than sort_buffer_size_in_bytes, the sort operator will use in-memory sort. | +| Type | long | +| Default | 1048576(Before V2.0.6)
0(Supports from V2.0.6), if `sort_buffer_size_in_bytes <= 0`, default value will be used, `default value = min(32MB, memory for query operators / query_thread_count / 2)`, if `sort_buffer_size_in_bytes > 0`, the specified value will be used. | +| Effective | Hot_reload | - merge_threshold_of_explain_analyze @@ -2297,7 +2353,7 @@ The `iotdb-system.properties` file contains various configurations for managing - encrypt_flag -| Name | compressor | +| Name | encrypt_flag | | ----------- | ---------------------- | | Description | Enable data encryption | | Type | Boolean | @@ -2306,8 +2362,8 @@ The `iotdb-system.properties` file contains various configurations for managing - encrypt_type -| Name | compressor | -| ----------- | ------------------------------------- | +| Name | encrypt_type | +| ----------- |---------------------------------------| | Description | The method of data encrytion | | Type | String | | Default | org.apache.tsfile.encrypt.UNENCRYPTED | @@ -3251,7 +3307,6 @@ The `iotdb-system.properties` file contains various configurations for managing | Default | 5 | | Effective | Restart required. | - * last_cache_operation_on_load |Name| last_cache_operation_on_load | diff --git a/src/UserGuide/Master/Tree/Reference/Common-Config-Manual.md b/src/UserGuide/Master/Tree/Reference/Common-Config-Manual.md index 9429d03d9..51f3aef71 100644 --- a/src/UserGuide/Master/Tree/Reference/Common-Config-Manual.md +++ b/src/UserGuide/Master/Tree/Reference/Common-Config-Manual.md @@ -458,20 +458,20 @@ Different configuration parameters take effect in the following three ways: * boolean\_string\_infer\_type | Name | boolean\_string\_infer\_type | -| :---------: | :------------------------------------------------------------ | +| :---------: |:--------------------------------------------------------------| | Description | To which type the values "true" and "false" should be reslved | | Type | BOOLEAN or TEXT | | Default | BOOLEAN | -| Effective | After restarting system | +| Effective | Hot_reload | * integer\_string\_infer\_type | Name | integer\_string\_infer\_type | -| :---------: | :---------------------------------------------------------------------- | +| :---------: |:------------------------------------------------------------------------| | Description | To which type an integer string like "67" in a query should be resolved | | Type | INT32, INT64, DOUBLE, FLOAT or TEXT | | Default | DOUBLE | -| Effective | After restarting system | +| Effective | Hot_reload | * floating\_string\_infer\_type @@ -480,16 +480,126 @@ Different configuration parameters take effect in the following three ways: | Description | To which type a floating number string like "6.7" in a query should be resolved | | Type | DOUBLE, FLOAT or TEXT | | Default | DOUBLE | -| Effective | After restarting system | +| Effective | Hot_reload | * nan\_string\_infer\_type | Name | nan\_string\_infer\_type | -| :---------: | :-------------------------------------------------------- | +| :---------: |:----------------------------------------------------------| | Description | To which type the value NaN in a query should be resolved | | Type | DOUBLE, FLOAT or TEXT | | Default | FLOAT | -| Effective | After restarting system | +| Effective | Hot_reload | + +* default\_boolean\_encoding + +| Name | default\_boolean\_encoding | +|:---------------:|:---------------------------------------------------------------| +| Description | BOOLEAN encoding when creating schema automatically is enabled | +| Type | PLAIN, RLE | +| Default | RLE | +| Effective | Hot_reload | + +* default\_int32\_encoding + +| Name | default\_int32\_encoding | +|:------------:|:-------------------------------------------------------------| +| Description | INT32 encoding when creating schema automatically is enabled | +| Type | PLAIN, RLE, TS\_2DIFF, REGULAR, GORILLA | +| Default | RLE | +| Effective | Hot_reload | + +* default\_int64\_encoding + +| Name | default\_int64\_encoding | +|:---------------:|:--------------------------------------------------------------| +| Description | INT64 encoding when creating schema automatically is enabled | +| Type | PLAIN, RLE, TS\_2DIFF, REGULAR, GORILLA | +| Default | RLE | +| Effective | Hot_reload | + +* default\_float\_encoding + +| Name | default\_float\_encoding | +|:----------------:|:--------------------------------------------------------------| +| Description | FLOAT encoding when creating schema automatically is enabled | +| Type | PLAIN, RLE, TS\_2DIFF, GORILLA | +| Default | GORILLA | +| Effective | Hot_reload | + +* default\_double\_encoding + +| Name | default\_double\_encoding | +|:--------------:|:---------------------------------------------------------------| +| Description | DOUBLE encoding when creating schema automatically is enabled | +| Type | PLAIN, RLE, TS\_2DIFF, GORILLA | +| Default | GORILLA | +| Effective | Hot_reload | + +* default\_text\_encoding + +| Name | default\_text\_encoding | +|:---------------:|:-------------------------------------------------------------| +| Description | TEXT encoding when creating schema automatically is enabled | +| Type | PLAIN | +| Default | PLAIN | +| Effective | Hot_reload | + + +* boolean\_compressor + +| Name | boolean\_compressor | +|------------------|------------------------------------------------------------------------------------------| +| Description | BOOLEAN compression when creating schema automatically is enabled (Supports from V2.0.6) | +| Type | String | +| Default | LZ4 | +| Effective | Hot_reload | + +* int32\_compressor + +| Name | int32\_compressor | +|----------------------|---------------------------------------------------------------------------------------------| +| Description | INT32/DATE compression when creating schema automatically is enabled(Supports from V2.0.6) | +| Type | String | +| Default | LZ4 | +| Effective | Hot_reload | + +* int64\_compressor + +| Name | int64\_compressor | +|--------------------|--------------------------------------------------------------------------------------------------| +| Description | INT64/TIMESTAMP compression when creating schema automatically is enabled (Supports from V2.0.6) | +| Type | String | +| Default | LZ4 | +| Effective | Hot_reload | + +* float\_compressor + +| Name | float\_compressor | +|-----------------------|----------------------------------------------------------------------------------------| +| Description | FLOAT compression when creating schema automatically is enabled (Supports from V2.0.6) | +| Type | String | +| Default | LZ4 | +| Effective | Hot_reload | + +* double\_compressor + +| Name | double\_compressor | +|-------------------|-----------------------------------------------------------------------------------------| +| Description | DOUBLE compression when creating schema automatically is enabled (Supports from V2.0.6) | +| Type | String | +| Default | LZ4 | +| Effective | Hot_reload | + +* text\_compressor + +| Name | text\_compressor | +|--------------------|---------------------------------------------------------------------------------------------------| +| Description | TEXT/BINARY/BLOB compression when creating schema automatically is enabled (Supports from V2.0.6) | +| Type | String | +| Default | LZ4 | +| Effective | Hot_reload | + ### 2.7 Query Configurations @@ -636,6 +746,16 @@ Different configuration parameters take effect in the following three ways: |Default| 100000 | |Effective|After restarting system| +* sort\_buffer\_size\_in\_bytes + +| Name | sort\_buffer\_size\_in\_bytes | +|----------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| Description | The memory for external sort in sort operator, when the data size is smaller than sort_buffer_size_in_bytes, the sort operator will use in-memory sort. | +| Type | long | +| Default | 1048576(Before V2.0.6)
0(Supports from V2.0.6), if `sort_buffer_size_in_bytes <= 0`, default value will be used, `default value = min(32MB, memory for query operators / query_thread_count / 2)`, if `sort_buffer_size_in_bytes > 0`, the specified value will be used. | +| Effective | Hot_reload | + + ### 2.8 TTL Configuration * ttl\_check\_interval @@ -1310,7 +1430,7 @@ Different configuration parameters take effect in the following three ways: |:-----------:|:-----------------------------------------------------------------------| | Description | Data compression method; Time compression method in aligned timeseries | | Type | Enum String : "UNCOMPRESSED", "SNAPPY", "LZ4", "ZSTD", "LZMA2" | -| Default | SNAPPY | +| Default | LZ4 | | Effective | hot-load | * bloomFilterErrorRate diff --git a/src/UserGuide/latest-Table/Reference/System-Config-Manual.md b/src/UserGuide/latest-Table/Reference/System-Config-Manual.md index da33b16ab..8b19fefd0 100644 --- a/src/UserGuide/latest-Table/Reference/System-Config-Manual.md +++ b/src/UserGuide/latest-Table/Reference/System-Config-Manual.md @@ -1293,93 +1293,149 @@ The `iotdb-system.properties` file contains various configurations for managing - boolean_string_infer_type -| Name | boolean_string_infer_type | -| ----------- | ------------------------------------------------------------ | +| Name | boolean_string_infer_type | +| ----------- |------------------------------------------------------------------------------------| | Description | register time series as which type when receiving boolean string "true" or "false" | -| Value | BOOLEAN or TEXT | -| Default | BOOLEAN | -| Effective | Restart required. | +| Value | BOOLEAN or TEXT | +| Default | BOOLEAN | +| Effective | Hot_reload | - integer_string_infer_type -| Name | integer_string_infer_type | -| ----------- | ------------------------------------------------------------ | +| Name | integer_string_infer_type | +| ----------- |------------------------------------------------------------------------------------------------------------------| | Description | register time series as which type when receiving an integer string and using float or double may lose precision | -| Value | INT32, INT64, FLOAT, DOUBLE, TEXT | -| Default | DOUBLE | -| Effective | Restart required. | +| Value | INT32, INT64, FLOAT, DOUBLE, TEXT | +| Default | DOUBLE | +| Effective | Hot_reload | - floating_string_infer_type -| Name | floating_string_infer_type | -| ----------- | ------------------------------------------------------------ | +| Name | floating_string_infer_type | +| ----------- |----------------------------------------------------------------------------------| | Description | register time series as which type when receiving a floating number string "6.7" | -| Value | DOUBLE, FLOAT or TEXT | -| Default | DOUBLE | -| Effective | Restart required. | +| Value | DOUBLE, FLOAT or TEXT | +| Default | DOUBLE | +| Effective | Hot_reload | - nan_string_infer_type -| Name | nan_string_infer_type | -| ----------- | ------------------------------------------------------------ | +| Name | nan_string_infer_type | +| ----------- |--------------------------------------------------------------------| | Description | register time series as which type when receiving the Literal NaN. | -| Value | DOUBLE, FLOAT or TEXT | -| Default | DOUBLE | -| Effective | Restart required. | +| Value | DOUBLE, FLOAT or TEXT | +| Default | DOUBLE | +| Effective | Hot_reload | - default_boolean_encoding -| Name | default_boolean_encoding | -| ----------- | ------------------------------------------------------------ | +| Name | default_boolean_encoding | +| ----------- |----------------------------------------------------------------| | Description | BOOLEAN encoding when creating schema automatically is enabled | -| Value | PLAIN, RLE | -| Default | RLE | -| Effective | Restart required. | +| Value | PLAIN, RLE | +| Default | RLE | +| Effective | Hot_reload | - default_int32_encoding | Name | default_int32_encoding | -| ----------- | ------------------------------------------------------------ | +| ----------- |--------------------------------------------------------------| | Description | INT32 encoding when creating schema automatically is enabled | | Value | PLAIN, RLE, TS_2DIFF, REGULAR, GORILLA | | Default | TS_2DIFF | -| Effective | Restart required. | +| Effective | Hot_reload | - default_int64_encoding | Name | default_int64_encoding | -| ----------- | ------------------------------------------------------------ | +| ----------- |--------------------------------------------------------------| | Description | INT64 encoding when creating schema automatically is enabled | | Value | PLAIN, RLE, TS_2DIFF, REGULAR, GORILLA | | Default | TS_2DIFF | -| Effective | Restart required. | +| Effective | Hot_reload | - default_float_encoding | Name | default_float_encoding | -| ----------- | ------------------------------------------------------------ | +| ----------- |--------------------------------------------------------------| | Description | FLOAT encoding when creating schema automatically is enabled | | Value | PLAIN, RLE, TS_2DIFF, GORILLA | | Default | GORILLA | -| Effective | Restart required. | +| Effective | Hot_reload | - default_double_encoding -| Name | default_double_encoding | -| ----------- | ------------------------------------------------------------ | +| Name | default_double_encoding | +| ----------- |---------------------------------------------------------------| | Description | DOUBLE encoding when creating schema automatically is enabled | -| Value | PLAIN, RLE, TS_2DIFF, GORILLA | -| Default | GORILLA | -| Effective | Restart required. | +| Value | PLAIN, RLE, TS_2DIFF, GORILLA | +| Default | GORILLA | +| Effective | Hot_reload | - default_text_encoding | Name | default_text_encoding | -| ----------- | ----------------------------------------------------------- | +| ----------- |-------------------------------------------------------------| | Description | TEXT encoding when creating schema automatically is enabled | | Value | PLAIN | | Default | PLAIN | -| Effective | Restart required. | +| Effective | Hot_reload | + + +* boolean_compressor + +| Name | boolean_compressor | +|------------------|-----------------------------------------------------------------------------------------| +| Description | BOOLEAN compression when creating schema automatically is enabled (Supports from V2.0.6) | +| Type | String | +| Default | LZ4 | +| Effective | Hot_reload | + +* int32_compressor + +| Name | int32_compressor | +|----------------------|--------------------------------------------------------------------------------------------| +| Description | INT32/DATE compression when creating schema automatically is enabled(Supports from V2.0.6) | +| Type | String | +| Default | LZ4 | +| Effective | Hot_reload | + +* int64_compressor + +| Name | int64_compressor | +|--------------------|-------------------------------------------------------------------------------------------------| +| Description | INT64/TIMESTAMP compression when creating schema automatically is enabled (Supports from V2.0.6) | +| Type | String | +| Default | LZ4 | +| Effective | Hot_reload | + +* float_compressor + +| Name | float_compressor | +|-----------------------|---------------------------------------------------------------------------------------| +| Description | FLOAT compression when creating schema automatically is enabled (Supports from V2.0.6) | +| Type | String | +| Default | LZ4 | +| Effective | Hot_reload | + +* double_compressor + +| Name | double_compressor | +|-------------------|----------------------------------------------------------------------------------------| +| Description | DOUBLE compression when creating schema automatically is enabled (Supports from V2.0.6) | +| Type | String | +| Default | LZ4 | +| Effective | Hot_reload | + +* text_compressor + +| Name | text_compressor | +|--------------------|--------------------------------------------------------------------------------------------------| +| Description | TEXT/BINARY/BLOB compression when creating schema automatically is enabled (Supports from V2.0.6) | +| Type | String | +| Default | LZ4 | +| Effective | Hot_reload | + ### 4.17 Query Configurations @@ -1538,12 +1594,12 @@ The `iotdb-system.properties` file contains various configurations for managing - sort_buffer_size_in_bytes -| Name | sort_buffer_size_in_bytes | -| ----------- | ------------------------------------------------------------ | -| Description | The memory for external sort in sort operator, when the data size is smaller than sort_buffer_size_in_bytes, the sort operator will use in-memory sort. | -| Type | long | -| Default | 1048576 | -| Effective | Restart required. | +| Name | sort_buffer_size_in_bytes | +| ----------- |--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| Description | The memory for external sort in sort operator, when the data size is smaller than sort_buffer_size_in_bytes, the sort operator will use in-memory sort. | +| Type | long | +| Default | 1048576(Before V2.0.6)
0(Supports from V2.0.6), if `sort_buffer_size_in_bytes <= 0`, default value will be used, `default value = min(32MB, memory for query operators / query_thread_count / 2)`, if `sort_buffer_size_in_bytes > 0`, the specified value will be used. | +| Effective | Hot_reload | - merge_threshold_of_explain_analyze @@ -2297,7 +2353,7 @@ The `iotdb-system.properties` file contains various configurations for managing - encrypt_flag -| Name | compressor | +| Name | encrypt_flag | | ----------- | ---------------------- | | Description | Enable data encryption | | Type | Boolean | @@ -2306,8 +2362,8 @@ The `iotdb-system.properties` file contains various configurations for managing - encrypt_type -| Name | compressor | -| ----------- | ------------------------------------- | +| Name | encrypt_type | +| ----------- |---------------------------------------| | Description | The method of data encrytion | | Type | String | | Default | org.apache.tsfile.encrypt.UNENCRYPTED | diff --git a/src/UserGuide/latest/Reference/Common-Config-Manual.md b/src/UserGuide/latest/Reference/Common-Config-Manual.md index 9429d03d9..51f3aef71 100644 --- a/src/UserGuide/latest/Reference/Common-Config-Manual.md +++ b/src/UserGuide/latest/Reference/Common-Config-Manual.md @@ -458,20 +458,20 @@ Different configuration parameters take effect in the following three ways: * boolean\_string\_infer\_type | Name | boolean\_string\_infer\_type | -| :---------: | :------------------------------------------------------------ | +| :---------: |:--------------------------------------------------------------| | Description | To which type the values "true" and "false" should be reslved | | Type | BOOLEAN or TEXT | | Default | BOOLEAN | -| Effective | After restarting system | +| Effective | Hot_reload | * integer\_string\_infer\_type | Name | integer\_string\_infer\_type | -| :---------: | :---------------------------------------------------------------------- | +| :---------: |:------------------------------------------------------------------------| | Description | To which type an integer string like "67" in a query should be resolved | | Type | INT32, INT64, DOUBLE, FLOAT or TEXT | | Default | DOUBLE | -| Effective | After restarting system | +| Effective | Hot_reload | * floating\_string\_infer\_type @@ -480,16 +480,126 @@ Different configuration parameters take effect in the following three ways: | Description | To which type a floating number string like "6.7" in a query should be resolved | | Type | DOUBLE, FLOAT or TEXT | | Default | DOUBLE | -| Effective | After restarting system | +| Effective | Hot_reload | * nan\_string\_infer\_type | Name | nan\_string\_infer\_type | -| :---------: | :-------------------------------------------------------- | +| :---------: |:----------------------------------------------------------| | Description | To which type the value NaN in a query should be resolved | | Type | DOUBLE, FLOAT or TEXT | | Default | FLOAT | -| Effective | After restarting system | +| Effective | Hot_reload | + +* default\_boolean\_encoding + +| Name | default\_boolean\_encoding | +|:---------------:|:---------------------------------------------------------------| +| Description | BOOLEAN encoding when creating schema automatically is enabled | +| Type | PLAIN, RLE | +| Default | RLE | +| Effective | Hot_reload | + +* default\_int32\_encoding + +| Name | default\_int32\_encoding | +|:------------:|:-------------------------------------------------------------| +| Description | INT32 encoding when creating schema automatically is enabled | +| Type | PLAIN, RLE, TS\_2DIFF, REGULAR, GORILLA | +| Default | RLE | +| Effective | Hot_reload | + +* default\_int64\_encoding + +| Name | default\_int64\_encoding | +|:---------------:|:--------------------------------------------------------------| +| Description | INT64 encoding when creating schema automatically is enabled | +| Type | PLAIN, RLE, TS\_2DIFF, REGULAR, GORILLA | +| Default | RLE | +| Effective | Hot_reload | + +* default\_float\_encoding + +| Name | default\_float\_encoding | +|:----------------:|:--------------------------------------------------------------| +| Description | FLOAT encoding when creating schema automatically is enabled | +| Type | PLAIN, RLE, TS\_2DIFF, GORILLA | +| Default | GORILLA | +| Effective | Hot_reload | + +* default\_double\_encoding + +| Name | default\_double\_encoding | +|:--------------:|:---------------------------------------------------------------| +| Description | DOUBLE encoding when creating schema automatically is enabled | +| Type | PLAIN, RLE, TS\_2DIFF, GORILLA | +| Default | GORILLA | +| Effective | Hot_reload | + +* default\_text\_encoding + +| Name | default\_text\_encoding | +|:---------------:|:-------------------------------------------------------------| +| Description | TEXT encoding when creating schema automatically is enabled | +| Type | PLAIN | +| Default | PLAIN | +| Effective | Hot_reload | + + +* boolean\_compressor + +| Name | boolean\_compressor | +|------------------|------------------------------------------------------------------------------------------| +| Description | BOOLEAN compression when creating schema automatically is enabled (Supports from V2.0.6) | +| Type | String | +| Default | LZ4 | +| Effective | Hot_reload | + +* int32\_compressor + +| Name | int32\_compressor | +|----------------------|---------------------------------------------------------------------------------------------| +| Description | INT32/DATE compression when creating schema automatically is enabled(Supports from V2.0.6) | +| Type | String | +| Default | LZ4 | +| Effective | Hot_reload | + +* int64\_compressor + +| Name | int64\_compressor | +|--------------------|--------------------------------------------------------------------------------------------------| +| Description | INT64/TIMESTAMP compression when creating schema automatically is enabled (Supports from V2.0.6) | +| Type | String | +| Default | LZ4 | +| Effective | Hot_reload | + +* float\_compressor + +| Name | float\_compressor | +|-----------------------|----------------------------------------------------------------------------------------| +| Description | FLOAT compression when creating schema automatically is enabled (Supports from V2.0.6) | +| Type | String | +| Default | LZ4 | +| Effective | Hot_reload | + +* double\_compressor + +| Name | double\_compressor | +|-------------------|-----------------------------------------------------------------------------------------| +| Description | DOUBLE compression when creating schema automatically is enabled (Supports from V2.0.6) | +| Type | String | +| Default | LZ4 | +| Effective | Hot_reload | + +* text\_compressor + +| Name | text\_compressor | +|--------------------|---------------------------------------------------------------------------------------------------| +| Description | TEXT/BINARY/BLOB compression when creating schema automatically is enabled (Supports from V2.0.6) | +| Type | String | +| Default | LZ4 | +| Effective | Hot_reload | + ### 2.7 Query Configurations @@ -636,6 +746,16 @@ Different configuration parameters take effect in the following three ways: |Default| 100000 | |Effective|After restarting system| +* sort\_buffer\_size\_in\_bytes + +| Name | sort\_buffer\_size\_in\_bytes | +|----------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| Description | The memory for external sort in sort operator, when the data size is smaller than sort_buffer_size_in_bytes, the sort operator will use in-memory sort. | +| Type | long | +| Default | 1048576(Before V2.0.6)
0(Supports from V2.0.6), if `sort_buffer_size_in_bytes <= 0`, default value will be used, `default value = min(32MB, memory for query operators / query_thread_count / 2)`, if `sort_buffer_size_in_bytes > 0`, the specified value will be used. | +| Effective | Hot_reload | + + ### 2.8 TTL Configuration * ttl\_check\_interval @@ -1310,7 +1430,7 @@ Different configuration parameters take effect in the following three ways: |:-----------:|:-----------------------------------------------------------------------| | Description | Data compression method; Time compression method in aligned timeseries | | Type | Enum String : "UNCOMPRESSED", "SNAPPY", "LZ4", "ZSTD", "LZMA2" | -| Default | SNAPPY | +| Default | LZ4 | | Effective | hot-load | * bloomFilterErrorRate diff --git a/src/zh/UserGuide/Master/Table/Reference/System-Config-Manual.md b/src/zh/UserGuide/Master/Table/Reference/System-Config-Manual.md index 710d9ea80..86ee645c0 100644 --- a/src/zh/UserGuide/Master/Table/Reference/System-Config-Manual.md +++ b/src/zh/UserGuide/Master/Table/Reference/System-Config-Manual.md @@ -1275,7 +1275,7 @@ IoTDB 配置文件位于 IoTDB 安装目录:`conf`文件夹下。 | 描述 | "true" 或者 "false" 字符串被推断的数据类型 | | 取值 | BOOLEAN 或者 TEXT | | 默认值 | BOOLEAN | -| 改后生效方式 | 重启服务生效 | +| 改后生效方式 | 热加载 | - integer_string_infer_type @@ -1284,7 +1284,7 @@ IoTDB 配置文件位于 IoTDB 安装目录:`conf`文件夹下。 | 描述 | 整型字符串推断的数据类型 | | 取值 | INT32, INT64, FLOAT, DOUBLE, TEXT | | 默认值 | DOUBLE | -| 改后生效方式 | 重启服务生效 | +| 改后生效方式 | 热加载 | - floating_string_infer_type @@ -1293,7 +1293,7 @@ IoTDB 配置文件位于 IoTDB 安装目录:`conf`文件夹下。 | 描述 | "6.7"等字符串被推断的数据类型 | | 取值 | DOUBLE, FLOAT or TEXT | | 默认值 | DOUBLE | -| 改后生效方式 | 重启服务生效 | +| 改后生效方式 | 热加载 | - nan_string_infer_type @@ -1302,7 +1302,7 @@ IoTDB 配置文件位于 IoTDB 安装目录:`conf`文件夹下。 | 描述 | "NaN" 字符串被推断的数据类型 | | 取值 | DOUBLE, FLOAT or TEXT | | 默认值 | DOUBLE | -| 改后生效方式 | 重启服务生效 | +| 改后生效方式 | 热加载 | - default_boolean_encoding @@ -1311,7 +1311,7 @@ IoTDB 配置文件位于 IoTDB 安装目录:`conf`文件夹下。 | 描述 | BOOLEAN 类型编码格式 | | 取值 | PLAIN, RLE | | 默认值 | RLE | -| 改后生效方式 | 重启服务生效 | +| 改后生效方式 | 热加载 | - default_int32_encoding @@ -1320,7 +1320,7 @@ IoTDB 配置文件位于 IoTDB 安装目录:`conf`文件夹下。 | 描述 | int32 类型编码格式 | | 取值 | PLAIN, RLE, TS_2DIFF, REGULAR, GORILLA | | 默认值 | TS_2DIFF | -| 改后生效方式 | 重启服务生效 | +| 改后生效方式 | 热加载 | - default_int64_encoding @@ -1329,7 +1329,7 @@ IoTDB 配置文件位于 IoTDB 安装目录:`conf`文件夹下。 | 描述 | int64 类型编码格式 | | 取值 | PLAIN, RLE, TS_2DIFF, REGULAR, GORILLA | | 默认值 | TS_2DIFF | -| 改后生效方式 | 重启服务生效 | +| 改后生效方式 | 热加载 | - default_float_encoding @@ -1338,7 +1338,7 @@ IoTDB 配置文件位于 IoTDB 安装目录:`conf`文件夹下。 | 描述 | float 类型编码格式 | | 取值 | PLAIN, RLE, TS_2DIFF, GORILLA | | 默认值 | GORILLA | -| 改后生效方式 | 重启服务生效 | +| 改后生效方式 | 热加载 | - default_double_encoding @@ -1347,7 +1347,7 @@ IoTDB 配置文件位于 IoTDB 安装目录:`conf`文件夹下。 | 描述 | double 类型编码格式 | | 取值 | PLAIN, RLE, TS_2DIFF, GORILLA | | 默认值 | GORILLA | -| 改后生效方式 | 重启服务生效 | +| 改后生效方式 | 热加载 | - default_text_encoding @@ -1356,7 +1356,63 @@ IoTDB 配置文件位于 IoTDB 安装目录:`conf`文件夹下。 | 描述 | text 类型编码格式 | | 取值 | PLAIN | | 默认值 | PLAIN | -| 改后生效方式 | 重启服务生效 | +| 改后生效方式 | 热加载 | + +* boolean_compressor + +| 名字 | boolean_compressor | +| -------------- | ----------------------------------------------------------------------- | +| 描述 | 启用自动创建模式时,BOOLEAN 数据类型的压缩方式 (V2.0.6 版本开始支持) | +| 类型 | String | +| 默认值 | LZ4 | +| 改后生效方式 | 热加载 | + +* int32_compressor + +| 名字 | int32_compressor | +| -------------- | ------------------------------------------------------------------------- | +| 描述 | 启用自动创建模式时,INT32/DATE 数据类型的压缩方式(V2.0.6 版本开始支持) | +| 类型 | String | +| 默认值 | LZ4 | +| 改后生效方式 | 热加载 | + +* int64_compressor + +| 名字 | int64_compressor | +| -------------- | ------------------------------------------------------------------------------ | +| 描述 | 启用自动创建模式时,INT64/TIMESTAMP 数据类型的压缩方式(V2.0.6 版本开始支持) | +| 类型 | String | +| 默认值 | LZ4 | +| 改后生效方式 | 热加载 | + +* float_compressor + +| 名字 | float_compressor | +| -------------- | -------------------------------------------------------------------- | +| 描述 | 启用自动创建模式时,FLOAT 数据类型的压缩方式(V2.0.6 版本开始支持) | +| 类型 | String | +| 默认值 | LZ4 | +| 改后生效方式 | 热加载 | + +* double_compressor + +| 名字 | double_compressor | +| -------------- | --------------------------------------------------------------------- | +| 描述 | 启用自动创建模式时,DOUBLE 数据类型的压缩方式(V2.0.6 版本开始支持) | +| 类型 | String | +| 默认值 | LZ4 | +| 改后生效方式 | 热加载 | + +* text_compressor + +| 名字 | text_compressor | +| -------------- | -------------------------------------------------------------------------------- | +| 描述 | 启用自动创建模式时,TEXT/BINARY/BLOB 数据类型的压缩方式(V2.0.6 版本开始支持 ) | +| 类型 | String | +| 默认值 | LZ4 | +| 改后生效方式 | 热加载 | + + ### 3.17 查询配置 @@ -1515,12 +1571,12 @@ IoTDB 配置文件位于 IoTDB 安装目录:`conf`文件夹下。 - sort_buffer_size_in_bytes -| 名字 | sort_buffer_size_in_bytes | -| ------------ | -------------------------------------- | -| 描述 | 设置外部排序操作中使用的内存缓冲区大小 | -| 类型 | long | -| 默认值 | 1048576 | -| 改后生效方式 | 重启服务生效 | +| 名字 | sort_buffer_size_in_bytes | +| ------------ |------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| 描述 | 设置外部排序操作中使用的内存缓冲区大小 | +| 类型 | long | +| 默认值 | 1048576(V2.0.6 之前版本)
0(V2.0.6 及之后版本),当值小于等于 0 时,由系统自动进行计算,计算公式为:`sort_buffer_size_in_bytes = Math.min(32 * 1024 * 1024, 堆内内存 * 查询引擎内存比例 * 查询执行内存比例 / 查询线程数 / 2)` | +| 改后生效方式 | 热加载 | - merge_threshold_of_explain_analyze @@ -2276,7 +2332,7 @@ IoTDB 配置文件位于 IoTDB 安装目录:`conf`文件夹下。 - encrypt_flag -| 名字 | compressor | +| 名字 | encrypt_flag | | ------------ | ---------------------------- | | 描述 | 用于开启或关闭数据加密功能。 | | 类型 | Boolean | @@ -2285,7 +2341,7 @@ IoTDB 配置文件位于 IoTDB 安装目录:`conf`文件夹下。 - encrypt_type -| 名字 | compressor | +| 名字 | encrypt_type | | ------------ | ------------------------------------- | | 描述 | 数据加密的方法。 | | 类型 | String | diff --git a/src/zh/UserGuide/Master/Tree/Reference/Common-Config-Manual.md b/src/zh/UserGuide/Master/Tree/Reference/Common-Config-Manual.md index dee3d981b..02ada5951 100644 --- a/src/zh/UserGuide/Master/Tree/Reference/Common-Config-Manual.md +++ b/src/zh/UserGuide/Master/Tree/Reference/Common-Config-Manual.md @@ -446,7 +446,7 @@ IoTDB ConfigNode 和 DataNode 的公共配置参数位于 `conf` 目录下。 | 描述 | "true" 或者 "false" 字符串被推断的数据类型 | | 取值 | BOOLEAN 或者 TEXT | | 默认值 | BOOLEAN | -| 改后生效方式 | 重启生效 | +| 改后生效方式 | 热加载 | * integer\_string\_infer\_type @@ -455,7 +455,7 @@ IoTDB ConfigNode 和 DataNode 的公共配置参数位于 `conf` 目录下。 | 描述 | 整型字符串推断的数据类型 | | 取值 | INT32, INT64, FLOAT, DOUBLE, TEXT | | 默认值 | DOUBLE | -| 改后生效方式 | 重启生效 | +| 改后生效方式 | 热加载 | * floating\_string\_infer\_type @@ -464,7 +464,7 @@ IoTDB ConfigNode 和 DataNode 的公共配置参数位于 `conf` 目录下。 | 描述 | "6.7"等字符串被推断的数据类型 | | 取值 | DOUBLE, FLOAT or TEXT | | 默认值 | DOUBLE | -| 改后生效方式 | 重启生效 | +| 改后生效方式 | 热加载 | * nan\_string\_infer\_type @@ -473,7 +473,7 @@ IoTDB ConfigNode 和 DataNode 的公共配置参数位于 `conf` 目录下。 | 描述 | "NaN" 字符串被推断的数据类型 | | 取值 | DOUBLE, FLOAT or TEXT | | 默认值 | DOUBLE | -| 改后生效方式 | 重启生效 | +| 改后生效方式 | 热加载 | * default\_boolean\_encoding @@ -482,7 +482,7 @@ IoTDB ConfigNode 和 DataNode 的公共配置参数位于 `conf` 目录下。 | 描述 | BOOLEAN 类型编码格式 | | 取值 | PLAIN, RLE | | 默认值 | RLE | -| 改后生效方式 | 重启生效 | +| 改后生效方式 | 热加载 | * default\_int32\_encoding @@ -500,7 +500,7 @@ IoTDB ConfigNode 和 DataNode 的公共配置参数位于 `conf` 目录下。 | 描述 | int64 类型编码格式 | | 取值 | PLAIN, RLE, TS\_2DIFF, REGULAR, GORILLA | | 默认值 | RLE | -| 改后生效方式 | 重启生效 | +| 改后生效方式 | 热加载 | * default\_float\_encoding @@ -509,7 +509,7 @@ IoTDB ConfigNode 和 DataNode 的公共配置参数位于 `conf` 目录下。 | 描述 | float 类型编码格式 | | 取值 | PLAIN, RLE, TS\_2DIFF, GORILLA | | 默认值 | GORILLA | -| 改后生效方式 | 重启生效 | +| 改后生效方式 | 热加载 | * default\_double\_encoding @@ -518,7 +518,7 @@ IoTDB ConfigNode 和 DataNode 的公共配置参数位于 `conf` 目录下。 | 描述 | double 类型编码格式 | | 取值 | PLAIN, RLE, TS\_2DIFF, GORILLA | | 默认值 | GORILLA | -| 改后生效方式 | 重启生效 | +| 改后生效方式 | 热加载 | * default\_text\_encoding @@ -527,7 +527,62 @@ IoTDB ConfigNode 和 DataNode 的公共配置参数位于 `conf` 目录下。 | 描述 | text 类型编码格式 | | 取值 | PLAIN | | 默认值 | PLAIN | -| 改后生效方式 | 重启生效 | +| 改后生效方式 | 热加载 | + + +* boolean\_compressor + +| 名字 | boolean\_compressor | +| -------------- | ------------------------------------------------------------------------ | +| 描述 | 启用自动创建模式时,BOOLEAN 数据类型的压缩方式 (V2.0.6 版本开始支持) | +| 类型 | String | +| 默认值 | LZ4 | +| 改后生效方式 | 热加载 | + +* int32\_compressor + +| 名字 | int32\_compressor | +| -------------- | -------------------------------------------------------------------------- | +| 描述 | 启用自动创建模式时,INT32/DATE 数据类型的压缩方式(V2.0.6 版本开始支持) | +| 类型 | String | +| 默认值 | LZ4 | +| 改后生效方式 | 热加载 | + +* int64\_compressor + +| 名字 | int64\_compressor | +| -------------- | ------------------------------------------------------------------------------- | +| 描述 | 启用自动创建模式时,INT64/TIMESTAMP 数据类型的压缩方式(V2.0.6 版本开始支持) | +| 类型 | String | +| 默认值 | LZ4 | +| 改后生效方式 | 热加载 | + +* float\_compressor + +| 名字 | float\_compressor | +| -------------- | --------------------------------------------------------------------- | +| 描述 | 启用自动创建模式时,FLOAT 数据类型的压缩方式(V2.0.6 版本开始支持) | +| 类型 | String | +| 默认值 | LZ4 | +| 改后生效方式 | 热加载 | + +* double\_compressor + +| 名字 | double\_compressor | +| -------------- | ---------------------------------------------------------------------- | +| 描述 | 启用自动创建模式时,DOUBLE 数据类型的压缩方式(V2.0.6 版本开始支持) | +| 类型 | String | +| 默认值 | LZ4 | +| 改后生效方式 | 热加载 | + +* text\_compressor + +| 名字 | text\_compressor | +| -------------- | --------------------------------------------------------------------------------- | +| 描述 | 启用自动创建模式时,TEXT/BINARY/BLOB 数据类型的压缩方式(V2.0.6 版本开始支持 ) | +| 类型 | String | +| 默认值 | LZ4 | +| 改后生效方式 | 热加载 | #### 查询配置 @@ -666,6 +721,16 @@ IoTDB ConfigNode 和 DataNode 的公共配置参数位于 `conf` 目录下。 |默认值| 100000 | |改后生效方式|重启生效| +* sort\_buffer\_size\_in\_bytes + +| 名字 | sort\_buffer\_size\_in\_bytes | +| -------------- |----------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| 描述 | 设置外部排序操作中使用的内存缓冲区大小 | +| 类型 | long | +| 默认值 | 1048576(V2.0.6 之前版本)
0(V2.0.6 及之后版本),当值小于等于 0 时,由系统自动进行计算,计算公式为:`sort_buffer_size_in_bytes = Math.min(32 * 1024 * 1024, 堆内内存 * 查询引擎内存比例 * 查询执行内存比例 / 查询线程数 / 2)` | +| 改后生效方式 | 热加载 | + + #### TTL 配置 * ttl\_check\_interval @@ -1366,7 +1431,7 @@ IoTDB ConfigNode 和 DataNode 的公共配置参数位于 `conf` 目录下。 |:------:|:-------------------------------------------------------------| | 描述 | 数据压缩方法; 对齐序列中时间列的压缩方法 | | 类型 | 枚举 String : "UNCOMPRESSED", "SNAPPY", "LZ4", "ZSTD", "LZMA2" | -| 默认值 | SNAPPY | +| 默认值 | LZ4 | | 改后生效方式 | 热加载 | * max\_degree\_of\_index\_node @@ -2248,7 +2313,6 @@ IoTDB ConfigNode 和 DataNode 的公共配置参数位于 `conf` 目录下。 |默认值| 5| |改后生效方式|重启后生效| - * last\_cache\_operation\_on\_load |名字| last\_cache\_operation\_on\_load | diff --git a/src/zh/UserGuide/latest-Table/Reference/System-Config-Manual.md b/src/zh/UserGuide/latest-Table/Reference/System-Config-Manual.md index 710d9ea80..86ee645c0 100644 --- a/src/zh/UserGuide/latest-Table/Reference/System-Config-Manual.md +++ b/src/zh/UserGuide/latest-Table/Reference/System-Config-Manual.md @@ -1275,7 +1275,7 @@ IoTDB 配置文件位于 IoTDB 安装目录:`conf`文件夹下。 | 描述 | "true" 或者 "false" 字符串被推断的数据类型 | | 取值 | BOOLEAN 或者 TEXT | | 默认值 | BOOLEAN | -| 改后生效方式 | 重启服务生效 | +| 改后生效方式 | 热加载 | - integer_string_infer_type @@ -1284,7 +1284,7 @@ IoTDB 配置文件位于 IoTDB 安装目录:`conf`文件夹下。 | 描述 | 整型字符串推断的数据类型 | | 取值 | INT32, INT64, FLOAT, DOUBLE, TEXT | | 默认值 | DOUBLE | -| 改后生效方式 | 重启服务生效 | +| 改后生效方式 | 热加载 | - floating_string_infer_type @@ -1293,7 +1293,7 @@ IoTDB 配置文件位于 IoTDB 安装目录:`conf`文件夹下。 | 描述 | "6.7"等字符串被推断的数据类型 | | 取值 | DOUBLE, FLOAT or TEXT | | 默认值 | DOUBLE | -| 改后生效方式 | 重启服务生效 | +| 改后生效方式 | 热加载 | - nan_string_infer_type @@ -1302,7 +1302,7 @@ IoTDB 配置文件位于 IoTDB 安装目录:`conf`文件夹下。 | 描述 | "NaN" 字符串被推断的数据类型 | | 取值 | DOUBLE, FLOAT or TEXT | | 默认值 | DOUBLE | -| 改后生效方式 | 重启服务生效 | +| 改后生效方式 | 热加载 | - default_boolean_encoding @@ -1311,7 +1311,7 @@ IoTDB 配置文件位于 IoTDB 安装目录:`conf`文件夹下。 | 描述 | BOOLEAN 类型编码格式 | | 取值 | PLAIN, RLE | | 默认值 | RLE | -| 改后生效方式 | 重启服务生效 | +| 改后生效方式 | 热加载 | - default_int32_encoding @@ -1320,7 +1320,7 @@ IoTDB 配置文件位于 IoTDB 安装目录:`conf`文件夹下。 | 描述 | int32 类型编码格式 | | 取值 | PLAIN, RLE, TS_2DIFF, REGULAR, GORILLA | | 默认值 | TS_2DIFF | -| 改后生效方式 | 重启服务生效 | +| 改后生效方式 | 热加载 | - default_int64_encoding @@ -1329,7 +1329,7 @@ IoTDB 配置文件位于 IoTDB 安装目录:`conf`文件夹下。 | 描述 | int64 类型编码格式 | | 取值 | PLAIN, RLE, TS_2DIFF, REGULAR, GORILLA | | 默认值 | TS_2DIFF | -| 改后生效方式 | 重启服务生效 | +| 改后生效方式 | 热加载 | - default_float_encoding @@ -1338,7 +1338,7 @@ IoTDB 配置文件位于 IoTDB 安装目录:`conf`文件夹下。 | 描述 | float 类型编码格式 | | 取值 | PLAIN, RLE, TS_2DIFF, GORILLA | | 默认值 | GORILLA | -| 改后生效方式 | 重启服务生效 | +| 改后生效方式 | 热加载 | - default_double_encoding @@ -1347,7 +1347,7 @@ IoTDB 配置文件位于 IoTDB 安装目录:`conf`文件夹下。 | 描述 | double 类型编码格式 | | 取值 | PLAIN, RLE, TS_2DIFF, GORILLA | | 默认值 | GORILLA | -| 改后生效方式 | 重启服务生效 | +| 改后生效方式 | 热加载 | - default_text_encoding @@ -1356,7 +1356,63 @@ IoTDB 配置文件位于 IoTDB 安装目录:`conf`文件夹下。 | 描述 | text 类型编码格式 | | 取值 | PLAIN | | 默认值 | PLAIN | -| 改后生效方式 | 重启服务生效 | +| 改后生效方式 | 热加载 | + +* boolean_compressor + +| 名字 | boolean_compressor | +| -------------- | ----------------------------------------------------------------------- | +| 描述 | 启用自动创建模式时,BOOLEAN 数据类型的压缩方式 (V2.0.6 版本开始支持) | +| 类型 | String | +| 默认值 | LZ4 | +| 改后生效方式 | 热加载 | + +* int32_compressor + +| 名字 | int32_compressor | +| -------------- | ------------------------------------------------------------------------- | +| 描述 | 启用自动创建模式时,INT32/DATE 数据类型的压缩方式(V2.0.6 版本开始支持) | +| 类型 | String | +| 默认值 | LZ4 | +| 改后生效方式 | 热加载 | + +* int64_compressor + +| 名字 | int64_compressor | +| -------------- | ------------------------------------------------------------------------------ | +| 描述 | 启用自动创建模式时,INT64/TIMESTAMP 数据类型的压缩方式(V2.0.6 版本开始支持) | +| 类型 | String | +| 默认值 | LZ4 | +| 改后生效方式 | 热加载 | + +* float_compressor + +| 名字 | float_compressor | +| -------------- | -------------------------------------------------------------------- | +| 描述 | 启用自动创建模式时,FLOAT 数据类型的压缩方式(V2.0.6 版本开始支持) | +| 类型 | String | +| 默认值 | LZ4 | +| 改后生效方式 | 热加载 | + +* double_compressor + +| 名字 | double_compressor | +| -------------- | --------------------------------------------------------------------- | +| 描述 | 启用自动创建模式时,DOUBLE 数据类型的压缩方式(V2.0.6 版本开始支持) | +| 类型 | String | +| 默认值 | LZ4 | +| 改后生效方式 | 热加载 | + +* text_compressor + +| 名字 | text_compressor | +| -------------- | -------------------------------------------------------------------------------- | +| 描述 | 启用自动创建模式时,TEXT/BINARY/BLOB 数据类型的压缩方式(V2.0.6 版本开始支持 ) | +| 类型 | String | +| 默认值 | LZ4 | +| 改后生效方式 | 热加载 | + + ### 3.17 查询配置 @@ -1515,12 +1571,12 @@ IoTDB 配置文件位于 IoTDB 安装目录:`conf`文件夹下。 - sort_buffer_size_in_bytes -| 名字 | sort_buffer_size_in_bytes | -| ------------ | -------------------------------------- | -| 描述 | 设置外部排序操作中使用的内存缓冲区大小 | -| 类型 | long | -| 默认值 | 1048576 | -| 改后生效方式 | 重启服务生效 | +| 名字 | sort_buffer_size_in_bytes | +| ------------ |------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| 描述 | 设置外部排序操作中使用的内存缓冲区大小 | +| 类型 | long | +| 默认值 | 1048576(V2.0.6 之前版本)
0(V2.0.6 及之后版本),当值小于等于 0 时,由系统自动进行计算,计算公式为:`sort_buffer_size_in_bytes = Math.min(32 * 1024 * 1024, 堆内内存 * 查询引擎内存比例 * 查询执行内存比例 / 查询线程数 / 2)` | +| 改后生效方式 | 热加载 | - merge_threshold_of_explain_analyze @@ -2276,7 +2332,7 @@ IoTDB 配置文件位于 IoTDB 安装目录:`conf`文件夹下。 - encrypt_flag -| 名字 | compressor | +| 名字 | encrypt_flag | | ------------ | ---------------------------- | | 描述 | 用于开启或关闭数据加密功能。 | | 类型 | Boolean | @@ -2285,7 +2341,7 @@ IoTDB 配置文件位于 IoTDB 安装目录:`conf`文件夹下。 - encrypt_type -| 名字 | compressor | +| 名字 | encrypt_type | | ------------ | ------------------------------------- | | 描述 | 数据加密的方法。 | | 类型 | String | diff --git a/src/zh/UserGuide/latest/Reference/Common-Config-Manual.md b/src/zh/UserGuide/latest/Reference/Common-Config-Manual.md index d98863754..02ada5951 100644 --- a/src/zh/UserGuide/latest/Reference/Common-Config-Manual.md +++ b/src/zh/UserGuide/latest/Reference/Common-Config-Manual.md @@ -446,7 +446,7 @@ IoTDB ConfigNode 和 DataNode 的公共配置参数位于 `conf` 目录下。 | 描述 | "true" 或者 "false" 字符串被推断的数据类型 | | 取值 | BOOLEAN 或者 TEXT | | 默认值 | BOOLEAN | -| 改后生效方式 | 重启生效 | +| 改后生效方式 | 热加载 | * integer\_string\_infer\_type @@ -455,7 +455,7 @@ IoTDB ConfigNode 和 DataNode 的公共配置参数位于 `conf` 目录下。 | 描述 | 整型字符串推断的数据类型 | | 取值 | INT32, INT64, FLOAT, DOUBLE, TEXT | | 默认值 | DOUBLE | -| 改后生效方式 | 重启生效 | +| 改后生效方式 | 热加载 | * floating\_string\_infer\_type @@ -464,7 +464,7 @@ IoTDB ConfigNode 和 DataNode 的公共配置参数位于 `conf` 目录下。 | 描述 | "6.7"等字符串被推断的数据类型 | | 取值 | DOUBLE, FLOAT or TEXT | | 默认值 | DOUBLE | -| 改后生效方式 | 重启生效 | +| 改后生效方式 | 热加载 | * nan\_string\_infer\_type @@ -473,7 +473,7 @@ IoTDB ConfigNode 和 DataNode 的公共配置参数位于 `conf` 目录下。 | 描述 | "NaN" 字符串被推断的数据类型 | | 取值 | DOUBLE, FLOAT or TEXT | | 默认值 | DOUBLE | -| 改后生效方式 | 重启生效 | +| 改后生效方式 | 热加载 | * default\_boolean\_encoding @@ -482,7 +482,7 @@ IoTDB ConfigNode 和 DataNode 的公共配置参数位于 `conf` 目录下。 | 描述 | BOOLEAN 类型编码格式 | | 取值 | PLAIN, RLE | | 默认值 | RLE | -| 改后生效方式 | 重启生效 | +| 改后生效方式 | 热加载 | * default\_int32\_encoding @@ -500,7 +500,7 @@ IoTDB ConfigNode 和 DataNode 的公共配置参数位于 `conf` 目录下。 | 描述 | int64 类型编码格式 | | 取值 | PLAIN, RLE, TS\_2DIFF, REGULAR, GORILLA | | 默认值 | RLE | -| 改后生效方式 | 重启生效 | +| 改后生效方式 | 热加载 | * default\_float\_encoding @@ -509,7 +509,7 @@ IoTDB ConfigNode 和 DataNode 的公共配置参数位于 `conf` 目录下。 | 描述 | float 类型编码格式 | | 取值 | PLAIN, RLE, TS\_2DIFF, GORILLA | | 默认值 | GORILLA | -| 改后生效方式 | 重启生效 | +| 改后生效方式 | 热加载 | * default\_double\_encoding @@ -518,7 +518,7 @@ IoTDB ConfigNode 和 DataNode 的公共配置参数位于 `conf` 目录下。 | 描述 | double 类型编码格式 | | 取值 | PLAIN, RLE, TS\_2DIFF, GORILLA | | 默认值 | GORILLA | -| 改后生效方式 | 重启生效 | +| 改后生效方式 | 热加载 | * default\_text\_encoding @@ -527,7 +527,62 @@ IoTDB ConfigNode 和 DataNode 的公共配置参数位于 `conf` 目录下。 | 描述 | text 类型编码格式 | | 取值 | PLAIN | | 默认值 | PLAIN | -| 改后生效方式 | 重启生效 | +| 改后生效方式 | 热加载 | + + +* boolean\_compressor + +| 名字 | boolean\_compressor | +| -------------- | ------------------------------------------------------------------------ | +| 描述 | 启用自动创建模式时,BOOLEAN 数据类型的压缩方式 (V2.0.6 版本开始支持) | +| 类型 | String | +| 默认值 | LZ4 | +| 改后生效方式 | 热加载 | + +* int32\_compressor + +| 名字 | int32\_compressor | +| -------------- | -------------------------------------------------------------------------- | +| 描述 | 启用自动创建模式时,INT32/DATE 数据类型的压缩方式(V2.0.6 版本开始支持) | +| 类型 | String | +| 默认值 | LZ4 | +| 改后生效方式 | 热加载 | + +* int64\_compressor + +| 名字 | int64\_compressor | +| -------------- | ------------------------------------------------------------------------------- | +| 描述 | 启用自动创建模式时,INT64/TIMESTAMP 数据类型的压缩方式(V2.0.6 版本开始支持) | +| 类型 | String | +| 默认值 | LZ4 | +| 改后生效方式 | 热加载 | + +* float\_compressor + +| 名字 | float\_compressor | +| -------------- | --------------------------------------------------------------------- | +| 描述 | 启用自动创建模式时,FLOAT 数据类型的压缩方式(V2.0.6 版本开始支持) | +| 类型 | String | +| 默认值 | LZ4 | +| 改后生效方式 | 热加载 | + +* double\_compressor + +| 名字 | double\_compressor | +| -------------- | ---------------------------------------------------------------------- | +| 描述 | 启用自动创建模式时,DOUBLE 数据类型的压缩方式(V2.0.6 版本开始支持) | +| 类型 | String | +| 默认值 | LZ4 | +| 改后生效方式 | 热加载 | + +* text\_compressor + +| 名字 | text\_compressor | +| -------------- | --------------------------------------------------------------------------------- | +| 描述 | 启用自动创建模式时,TEXT/BINARY/BLOB 数据类型的压缩方式(V2.0.6 版本开始支持 ) | +| 类型 | String | +| 默认值 | LZ4 | +| 改后生效方式 | 热加载 | #### 查询配置 @@ -666,6 +721,16 @@ IoTDB ConfigNode 和 DataNode 的公共配置参数位于 `conf` 目录下。 |默认值| 100000 | |改后生效方式|重启生效| +* sort\_buffer\_size\_in\_bytes + +| 名字 | sort\_buffer\_size\_in\_bytes | +| -------------- |----------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| 描述 | 设置外部排序操作中使用的内存缓冲区大小 | +| 类型 | long | +| 默认值 | 1048576(V2.0.6 之前版本)
0(V2.0.6 及之后版本),当值小于等于 0 时,由系统自动进行计算,计算公式为:`sort_buffer_size_in_bytes = Math.min(32 * 1024 * 1024, 堆内内存 * 查询引擎内存比例 * 查询执行内存比例 / 查询线程数 / 2)` | +| 改后生效方式 | 热加载 | + + #### TTL 配置 * ttl\_check\_interval @@ -1366,7 +1431,7 @@ IoTDB ConfigNode 和 DataNode 的公共配置参数位于 `conf` 目录下。 |:------:|:-------------------------------------------------------------| | 描述 | 数据压缩方法; 对齐序列中时间列的压缩方法 | | 类型 | 枚举 String : "UNCOMPRESSED", "SNAPPY", "LZ4", "ZSTD", "LZMA2" | -| 默认值 | SNAPPY | +| 默认值 | LZ4 | | 改后生效方式 | 热加载 | * max\_degree\_of\_index\_node