Skip to content

Commit 1173dac

Browse files
authored
add new compressor params 206 (#950)
1 parent 5024006 commit 1173dac

File tree

8 files changed

+760
-168
lines changed

8 files changed

+760
-168
lines changed

src/UserGuide/Master/Table/Reference/System-Config-Manual.md

Lines changed: 103 additions & 48 deletions
Large diffs are not rendered by default.

src/UserGuide/Master/Tree/Reference/Common-Config-Manual.md

Lines changed: 128 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -458,20 +458,20 @@ Different configuration parameters take effect in the following three ways:
458458
* boolean\_string\_infer\_type
459459

460460
| Name | boolean\_string\_infer\_type |
461-
| :---------: | :------------------------------------------------------------ |
461+
| :---------: |:--------------------------------------------------------------|
462462
| Description | To which type the values "true" and "false" should be reslved |
463463
| Type | BOOLEAN or TEXT |
464464
| Default | BOOLEAN |
465-
| Effective | After restarting system |
465+
| Effective | Hot_reload |
466466

467467
* integer\_string\_infer\_type
468468

469469
| Name | integer\_string\_infer\_type |
470-
| :---------: | :---------------------------------------------------------------------- |
470+
| :---------: |:------------------------------------------------------------------------|
471471
| Description | To which type an integer string like "67" in a query should be resolved |
472472
| Type | INT32, INT64, DOUBLE, FLOAT or TEXT |
473473
| Default | DOUBLE |
474-
| Effective | After restarting system |
474+
| Effective | Hot_reload |
475475

476476
* floating\_string\_infer\_type
477477

@@ -480,16 +480,126 @@ Different configuration parameters take effect in the following three ways:
480480
| Description | To which type a floating number string like "6.7" in a query should be resolved |
481481
| Type | DOUBLE, FLOAT or TEXT |
482482
| Default | DOUBLE |
483-
| Effective | After restarting system |
483+
| Effective | Hot_reload |
484484

485485
* nan\_string\_infer\_type
486486

487487
| Name | nan\_string\_infer\_type |
488-
| :---------: | :-------------------------------------------------------- |
488+
| :---------: |:----------------------------------------------------------|
489489
| Description | To which type the value NaN in a query should be resolved |
490490
| Type | DOUBLE, FLOAT or TEXT |
491491
| Default | FLOAT |
492-
| Effective | After restarting system |
492+
| Effective | Hot_reload |
493+
494+
* default\_boolean\_encoding
495+
496+
| Name | default\_boolean\_encoding |
497+
|:---------------:|:---------------------------------------------------------------|
498+
| Description | BOOLEAN encoding when creating schema automatically is enabled |
499+
| Type | PLAIN, RLE |
500+
| Default | RLE |
501+
| Effective | Hot_reload |
502+
503+
* default\_int32\_encoding
504+
505+
| Name | default\_int32\_encoding |
506+
|:------------:|:-------------------------------------------------------------|
507+
| Description | INT32 encoding when creating schema automatically is enabled |
508+
| Type | PLAIN, RLE, TS\_2DIFF, REGULAR, GORILLA |
509+
| Default | RLE |
510+
| Effective | Hot_reload |
511+
512+
* default\_int64\_encoding
513+
514+
| Name | default\_int64\_encoding |
515+
|:---------------:|:--------------------------------------------------------------|
516+
| Description | INT64 encoding when creating schema automatically is enabled |
517+
| Type | PLAIN, RLE, TS\_2DIFF, REGULAR, GORILLA |
518+
| Default | RLE |
519+
| Effective | Hot_reload |
520+
521+
* default\_float\_encoding
522+
523+
| Name | default\_float\_encoding |
524+
|:----------------:|:--------------------------------------------------------------|
525+
| Description | FLOAT encoding when creating schema automatically is enabled |
526+
| Type | PLAIN, RLE, TS\_2DIFF, GORILLA |
527+
| Default | GORILLA |
528+
| Effective | Hot_reload |
529+
530+
* default\_double\_encoding
531+
532+
| Name | default\_double\_encoding |
533+
|:--------------:|:---------------------------------------------------------------|
534+
| Description | DOUBLE encoding when creating schema automatically is enabled |
535+
| Type | PLAIN, RLE, TS\_2DIFF, GORILLA |
536+
| Default | GORILLA |
537+
| Effective | Hot_reload |
538+
539+
* default\_text\_encoding
540+
541+
| Name | default\_text\_encoding |
542+
|:---------------:|:-------------------------------------------------------------|
543+
| Description | TEXT encoding when creating schema automatically is enabled |
544+
| Type | PLAIN |
545+
| Default | PLAIN |
546+
| Effective | Hot_reload |
547+
548+
549+
* boolean\_compressor
550+
551+
| Name | boolean\_compressor |
552+
|------------------|------------------------------------------------------------------------------------------|
553+
| Description | BOOLEAN compression when creating schema automatically is enabled (Supports from V2.0.6) |
554+
| Type | String |
555+
| Default | LZ4 |
556+
| Effective | Hot_reload |
557+
558+
* int32\_compressor
559+
560+
| Name | int32\_compressor |
561+
|----------------------|---------------------------------------------------------------------------------------------|
562+
| Description | INT32/DATE compression when creating schema automatically is enabled(Supports from V2.0.6) |
563+
| Type | String |
564+
| Default | LZ4 |
565+
| Effective | Hot_reload |
566+
567+
* int64\_compressor
568+
569+
| Name | int64\_compressor |
570+
|--------------------|--------------------------------------------------------------------------------------------------|
571+
| Description | INT64/TIMESTAMP compression when creating schema automatically is enabled (Supports from V2.0.6) |
572+
| Type | String |
573+
| Default | LZ4 |
574+
| Effective | Hot_reload |
575+
576+
* float\_compressor
577+
578+
| Name | float\_compressor |
579+
|-----------------------|----------------------------------------------------------------------------------------|
580+
| Description | FLOAT compression when creating schema automatically is enabled (Supports from V2.0.6) |
581+
| Type | String |
582+
| Default | LZ4 |
583+
| Effective | Hot_reload |
584+
585+
* double\_compressor
586+
587+
| Name | double\_compressor |
588+
|-------------------|-----------------------------------------------------------------------------------------|
589+
| Description | DOUBLE compression when creating schema automatically is enabled (Supports from V2.0.6) |
590+
| Type | String |
591+
| Default | LZ4 |
592+
| Effective | Hot_reload |
593+
594+
* text\_compressor
595+
596+
| Name | text\_compressor |
597+
|--------------------|---------------------------------------------------------------------------------------------------|
598+
| Description | TEXT/BINARY/BLOB compression when creating schema automatically is enabled (Supports from V2.0.6) |
599+
| Type | String |
600+
| Default | LZ4 |
601+
| Effective | Hot_reload |
602+
493603

494604
### 2.7 Query Configurations
495605

@@ -636,6 +746,16 @@ Different configuration parameters take effect in the following three ways:
636746
|Default| 100000 |
637747
|Effective|After restarting system|
638748

749+
* sort\_buffer\_size\_in\_bytes
750+
751+
| Name | sort\_buffer\_size\_in\_bytes |
752+
|----------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
753+
| 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. |
754+
| Type | long |
755+
| Default | 1048576(Before V2.0.6) <br> 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. |
756+
| Effective | Hot_reload |
757+
758+
639759
### 2.8 TTL Configuration
640760
* ttl\_check\_interval
641761

@@ -1310,7 +1430,7 @@ Different configuration parameters take effect in the following three ways:
13101430
|:-----------:|:-----------------------------------------------------------------------|
13111431
| Description | Data compression method; Time compression method in aligned timeseries |
13121432
| Type | Enum String : "UNCOMPRESSED", "SNAPPY", "LZ4", "ZSTD", "LZMA2" |
1313-
| Default | SNAPPY |
1433+
| Default | LZ4 |
13141434
| Effective | hot-load |
13151435

13161436
* bloomFilterErrorRate

0 commit comments

Comments
 (0)