This is an automated email from the ASF dual-hosted git repository.

morningman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 0eda527  [Docs] Add doc of be_config.md and change some default value 
of BE config (#4906)
0eda527 is described below

commit 0eda5270c829cf2ef0f12f973bf706afafa2dc69
Author: HappenLee <happen...@hotmail.com>
AuthorDate: Wed Nov 18 21:56:58 2020 +0800

    [Docs] Add doc of be_config.md and change some default value of BE config 
(#4906)
    
    Add doc of be_config.md and change some default value of BE config
---
 be/src/common/config.h                             |   7 +-
 docs/en/administrator-guide/config/be_config.md    | 129 ++++++++++++++++++++
 docs/zh-CN/administrator-guide/config/be_config.md | 133 ++++++++++++++++++++-
 3 files changed, 263 insertions(+), 6 deletions(-)

diff --git a/be/src/common/config.h b/be/src/common/config.h
index 33e64a2..f277326 100644
--- a/be/src/common/config.h
+++ b/be/src/common/config.h
@@ -27,7 +27,7 @@ namespace config {
 
     // cluster id
     CONF_Int32(cluster_id, "-1");
-    // port on which ImpalaInternalService is exported
+    // port on which BackendService is exported
     CONF_Int32(be_port, "9060");
 
     // port for brpc
@@ -177,7 +177,7 @@ namespace config {
     CONF_String(local_library_dir, "${UDF_RUNTIME_DIR}");
     // number of olap scanner thread pool size
     CONF_Int32(doris_scanner_thread_pool_thread_num, "48");
-    // number of olap scanner thread pool size
+    // number of olap scanner thread pool queue size
     CONF_Int32(doris_scanner_thread_pool_queue_size, "102400");
     // number of etl thread pool size
     CONF_Int32(etl_thread_pool_size, "8");
@@ -236,7 +236,6 @@ namespace config {
     CONF_mInt32(max_percentage_of_error_disk, "0");
     // CONF_Int32(default_num_rows_per_data_block, "1024");
     CONF_mInt32(default_num_rows_per_column_file_block, "1024");
-    CONF_Int32(max_tablet_num_per_shard, "1024");
     // pending data policy
     CONF_mInt32(pending_data_expire_time_sec, "1800");
     // inc_rowset expired interval
@@ -557,7 +556,7 @@ namespace config {
 
     // config for default rowset type
     // Valid configs: ALPHA, BETA
-    CONF_String(default_rowset_type, "ALPHA");
+    CONF_String(default_rowset_type, "BETA");
 
     // Maximum size of a single message body in all protocols
     CONF_Int64(brpc_max_body_size, "209715200");
diff --git a/docs/en/administrator-guide/config/be_config.md 
b/docs/en/administrator-guide/config/be_config.md
index 6b7b739..eafd6b0 100644
--- a/docs/en/administrator-guide/config/be_config.md
+++ b/docs/en/administrator-guide/config/be_config.md
@@ -140,8 +140,16 @@ Metrics: 
{"filtered_rows":0,"input_row_num":3346807,"input_rowsets_count":42,"in
 
 ### `be_port`
 
+* Type: int32
+* Description: The port of the thrift server on BE which used to receive 
requests from FE
+* Default value: 9060
+
 ### `be_service_threads`
 
+* Type: int32
+* Description: The number of execution threads of the thrift server service on 
BE which represents the number of threads that can be used to execute FE 
requests.
+* Default value: 64
+
 ### `brpc_max_body_size`
 
 This configuration is mainly used to modify the parameter `max_body_size` of 
brpc.
@@ -168,9 +176,18 @@ User can set this configuration to a larger value to get 
better QPS performance.
 
 ### `brpc_port`
 
+* Type: int32
+* Description: The port of BRPC on BE, used for communication between BEs
+* Default value: 9060
+
 ### `buffer_pool_clean_pages_limit`
 
 ### `buffer_pool_limit`
+* Type: string
+* Description: The largest allocatable memory of the buffer pool
+* Default value: 80G
+
+The maximum amount of memory available in the BE buffer pool. The buffer pool 
is a new memory management structure of BE, which manages the memory by the 
buffer page and enables spill data to disk. The memory for all concurrent 
queries will be allocated from the buffer pool. The current buffer pool only 
works on **AggregationNode** and **ExchangeNode**.
 
 ### `check_consistency_worker_count`
 
@@ -182,6 +199,12 @@ User can set this configuration to a larger value to get 
better QPS performance.
 
 ### `cluster_id`
 
+* Type: int32
+* Description: Configure the cluster id to which the BE belongs.
+* Default value: -1
+
+This value is usually delivered by the FE to the BE by the heartbeat, no need 
to configure. When it is confirmed that a BE belongs to a certain Drois 
cluster, it can be configured. The cluster_id file under the data directory 
needs to be modified to make sure same as this parament.
+
 ### `column_dictionary_key_ratio_threshold`
 
 ### `column_dictionary_key_size_threshold`
@@ -205,6 +228,10 @@ tablet_score = compaction_tablet_scan_frequency_factor * 
tablet_scan_frequency +
 
 ### `compress_rowbatches`
 
+* Type: bool
+* Description: enable to use Snappy compression algorithm for data compression 
when serializing RowBatch
+* Default value: true
+
 ### `create_tablet_worker_count`
 
 ### `disable_auto_compaction`
@@ -279,22 +306,40 @@ In some deployment environments, the `conf/` directory 
may be overwritten due to
 
 ### `default_num_rows_per_column_file_block`
 
+* Type: int32
+* Description: Configure how many rows of data are contained in a single 
RowBlock.
+* Default value: 1024
+
 ### `default_query_options`
 
 ### `default_rowset_type`
 
+* Type: string
+* Description: Identifies the storage format selected by BE by default. The 
configurable parameters are: "**ALPHA**", "**BETA**". Mainly play the following 
two roles
+1. When the storage_format of the table is set to Default, select the storage 
format of BE through this configuration.
+2. Select the storage format of when BE performing Compaction
+* Default value: BETA
+
 ### `delete_worker_count`
 
 ### `disable_mem_pools`
 
 ### `disable_storage_page_cache`
 
+* Type: bool
+* Description: Disable to use page cache for index caching, this configuration 
only takes effect in BETA storage format, usually it is recommended to false
+* Default value: false
+
 ### `disk_stat_monitor_interval`
 
 ### `doris_cgroups`
 
 ### `doris_max_pushdown_conjuncts_return_rate`
 
+* Type: int32
+* Description: When BE performs HashJoin, it will adopt a dynamic partitioning 
method to push the join condition to OlapScanner. When the data scanned by 
OlapScanner is larger than 32768 rows, BE will check the filter condition. If 
the filter rate of the filter condition is lower than this configuration, Doris 
will stop using the dynamic partition clipping condition for data filtering.
+* Default value: 90
+
 ### `doris_max_scan_key_num`
 
 * Type: int
@@ -305,14 +350,30 @@ When the concurrency cannot be improved in high 
concurrency scenarios, try to re
 
 ### `doris_scan_range_row_count`
 
+* Type: int32
+* Description: When BE performs data scanning, it will split the same scanning 
range into multiple ScanRanges. This parameter represents the scan data range 
of each ScanRange. This parameter can limit the time that a single OlapScanner 
occupies the io thread.
+* Default value: 524288
+
 ### `doris_scanner_queue_size`
 
+* Type: int32
+* Description: The length of the RowBatch buffer queue between TransferThread 
and OlapScanner. When Doris performs data scanning, it is performed 
asynchronously. The Rowbatch scanned by OlapScanner will be placed in the 
scanner buffer queue, waiting for the upper TransferThread to take it away.
+* Default value: 1024
+
 ### `doris_scanner_row_num`
 
 ### `doris_scanner_thread_pool_queue_size`
 
+* Type: int32
+* Description: The queue length of the Scanner thread pool. In Doris' scanning 
tasks, each Scanner will be submitted as a thread task to the thread pool 
waiting to be scheduled, and after the number of submitted tasks exceeds the 
length of the thread pool queue, subsequent submitted tasks will be blocked 
until there is a empty slot in the queue. 
+* Default value: 102400
+
 ### `doris_scanner_thread_pool_thread_num`
 
+* Type: int32
+* Description: The number of threads in the Scanner thread pool. In Doris' 
scanning tasks, each Scanner will be submitted as a thread task to the thread 
pool to be scheduled. This parameter determines the size of the Scanner thread 
pool.
+* Default value: 48
+
 ### `download_low_speed_limit_kbps`
 
 ### `download_low_speed_time`
@@ -325,10 +386,21 @@ When the concurrency cannot be improved in high 
concurrency scenarios, try to re
 
 ### `enable_partitioned_aggregation`
 
+* Type: bool
+* Description: Whether the BE node implements the aggregation operation by 
PartitionAggregateNode, if false, AggregateNode will be executed to complete 
the aggregation. It is not recommended to set it to false in non-special demand 
scenarios.
+* Default value: true
+
 ### `enable_prefetch`
+* Type: bool
+* Description: When using PartitionedHashTable for aggregation and join 
calculations, whether to perform HashBuket prefetch. Recommended to be set to 
true
+* Default value: true
 
 ### `enable_quadratic_probing`
 
+* Type: bool
+* Description: When a Hash conflict occurs when using PartitionedHashTable, 
enable to use the square detection method to resolve the Hash conflict. If the 
value is false, linear detection is used to resolve the Hash conflict. For the 
square detection method, please refer to: 
[quadratic_probing](https://en.wikipedia.org/wiki/Quadratic_probing)
+* Default value: true
+
 ### `enable_system_metrics`
 
 ### `enable_token_check`
@@ -343,6 +415,10 @@ When the concurrency cannot be improved in high 
concurrency scenarios, try to re
 
 ### `exchg_node_buffer_size_bytes`
 
+* Type: int32
+* Description: The size of the Buffer queue of the ExchangeNode node, in 
bytes. After the amount of data sent from the Sender side is larger than the 
Buffer size of ExchangeNode, subsequent data sent will block until the Buffer 
frees up space for writing.
+* Default value: 10485760
+
 ### `file_descriptor_cache_capacity`
 
 ### `file_descriptor_cache_clean_interval`
@@ -356,9 +432,16 @@ When the concurrency cannot be improved in high 
concurrency scenarios, try to re
 ### `fragment_pool_thread_num`
 
 ### `heartbeat_service_port`
+* Type: int32
+* Description: Heartbeat service port (thrift) on BE, used to receive 
heartbeat from FE
+* Default value: 9050
 
 ### `heartbeat_service_thread_count`
 
+* Type: int32
+* Description: The number of threads that execute the heartbeat service on BE。 
the default is 1, it is not recommended to modify
+* Default value: 1
+
 ### `ignore_broken_disk`
 
 ### `ignore_load_tablet_failure`
@@ -436,6 +519,10 @@ Indicates how many tablets in this data directory failed 
to load. At the same ti
 
 ### `max_percentage_of_error_disk`
 
+* Type: int32
+* Description: The storage engine allows the percentage of damaged hard disks 
to exist. After the damaged hard disk exceeds the changed ratio, BE will 
automatically exit.
+* Default value: 0
+
 ### `max_pushdown_conditions_per_column`
 
 * Type: int
@@ -462,6 +549,10 @@ Indicates how many tablets in this data directory failed 
to load. At the same ti
 
 ### `mem_limit`
 
+* Type: string
+* Description: Limit the percentage of the server's maximum memory used by the 
BE process. It is used to prevent BE memory from occupying to many the 
machine's memory. This parameter must be greater than 0. When the percentage is 
greater than 100%, the value will default to 100%.
+* Default value: 80%
+
 ### `memory_limitation_per_thread_for_schema_change`
 
 ### `memory_maintenance_sleep_time_s`
@@ -487,6 +578,10 @@ Indicates how many tablets in this data directory failed 
to load. At the same ti
 
 ### `num_cores`
 
+* Type: int32
+* Description: The number of CPU cores that BE can use. When the value is 0, 
BE will obtain the number of CPU cores of the machine from /proc/cpuinfo.
+* Default value: 0
+
 ### `num_disks`
 
 ### `num_threads_per_core`
@@ -513,6 +608,10 @@ Indicates how many tablets in this data directory failed 
to load. At the same ti
 
 ### `port`
 
+* Type: int32
+* Description: The port used in UT. Meaningless in the actual environment and 
can be ignored.
+* Default value: 20001
+
 ### `pprof_profile_dir`
 
 ### `priority_networks`
@@ -536,6 +635,10 @@ Indicates how many tablets in this data directory failed 
to load. At the same ti
 
 ### `query_scratch_dirs`
 
++ Type: string
++ Description: The directory selected by BE to store temporary data during 
spill to disk. which is similar to the storage path configuration, multiple 
directories are separated by ;.
++ Default value: ${DORIS_HOME}
+
 ### `read_size`
 
 ### `release_snapshot_worker_count`
@@ -559,9 +662,16 @@ Indicates how many tablets in this data directory failed 
to load. At the same ti
 ### `serialize_batch`
 
 ### `sleep_five_seconds`
++ Type: int32
++ Description: Global variables, used for BE thread sleep for 5 seconds, 
should not be modified
++ Default value: 5
 
 ### `sleep_one_second`
 
++ Type: int32
++ Description: Global variables, used for BE thread sleep for 1 seconds, 
should not be modified
++ Default value: 1
+
 ### `small_file_dir`
 
 ### `snapshot_expire_time_sec`
@@ -580,6 +690,17 @@ Indicates how many tablets in this data directory failed 
to load. At the same ti
 
 ### `storage_root_path`
 
+* Type: string
+
+* Description: data root path, separate by ';'.you can specify the storage 
medium of each root path, HDD or SSD. you can add capacity limit at the end of 
each root path, seperate by ','
+eg: 
storage_root_path=/home/disk1/doris.HDD,50;/home/disk2/doris.SSD,1;/home/disk2/doris
+
+    * 1./home/disk1/doris.HDD, capacity limit is 50GB, HDD;
+    * 2./home/disk2/doris.SSD, capacity limit is 1GB, SSD;
+    * 3./home/disk2/doris, capacity limit is disk capacity, HDD(default)
+
+* Default: ${DORIS_HOME}
+
 ### `storage_strict_check_incompatible_old_format`
 * Type: bool
 * Description: Used to check incompatible old format strictly
@@ -615,6 +736,10 @@ Some data formats, such as JSON, cannot be split. Doris 
must read all the data i
 
 ### `sys_log_level`
 
+* Type: string
+* Description: Storage directory of BE log data
+* Default: ${DORIS_HOME}/log
+
 ### `sys_log_roll_mode`
 
 ### `sys_log_roll_num`
@@ -691,4 +816,8 @@ If the system is found to be in a high-stress scenario and 
a large number of thr
 
 ### `webserver_port`
 
+* Type: int32
+* Description: Service port of http server on BE
+* Default: 8040
+
 ### `write_buffer_size`
diff --git a/docs/zh-CN/administrator-guide/config/be_config.md 
b/docs/zh-CN/administrator-guide/config/be_config.md
index 85601f3..c761545 100644
--- a/docs/zh-CN/administrator-guide/config/be_config.md
+++ b/docs/zh-CN/administrator-guide/config/be_config.md
@@ -136,7 +136,14 @@ Metrics: 
{"filtered_rows":0,"input_row_num":3346807,"input_rowsets_count":42,"in
 
 ### `be_port`
 
+* 类型:int32
+* 描述:BE 上 thrift server 的端口号,用于接收来自 FE 的请求
+* 默认值:9060
+
 ### `be_service_threads`
+* 类型:int32
+* 描述:BE 上 thrift server service的执行线程数,代表可以用于执行FE请求的线程数。
+* 默认值:64
 
 ### `brpc_max_body_size`
 
@@ -161,10 +168,18 @@ Metrics: 
{"filtered_rows":0,"input_row_num":3346807,"input_rowsets_count":42,"in
 
用户可以将该配置的值调大来获取更好的QPS性能。更多的信息可以参考`https://github.com/apache/incubator-brpc/blob/master/docs/cn/benchmark.md`。
 
 ### `brpc_port`
+* 类型:int32
+* 描述:BE 上的 brpc 的端口,用于 BE 之间通讯
+* 默认值:8060
 
 ### `buffer_pool_clean_pages_limit`
 
 ### `buffer_pool_limit`
+* 类型:string
+* 描述:buffer pool之中最大的可分配内存
+* 默认值:80G
+
+BE缓存池最大的内存可用量,buffer pool是BE新的内存管理结构,通过buffer 
page来进行内存管理,并能够实现数据的落盘。并发的所有查询的内存申请都会通过buffer pool来申请。当前buffer 
pool仅作用在**AggregationNode**与**ExchangeNode**。
 
 ### `check_consistency_worker_count`
 
@@ -176,6 +191,14 @@ Metrics: 
{"filtered_rows":0,"input_row_num":3346807,"input_rowsets_count":42,"in
 
 ### `cluster_id`
 
+* 类型:int32
+
+* 描述:配置BE的所属于的集群id。
+
+* 默认值:-1
+
+该值通常由FE通过心跳向BE下发,不需要额外进行配置。当确认某BE属于某一个确定的Drois集群时,可以进行配置,同时需要修改数据目录下的cluster_id文件,使二者相同。
+
 ### `column_dictionary_key_ratio_threshold`
 
 ### `column_dictionary_key_size_threshold`
@@ -199,6 +222,11 @@ tablet_score = compaction_tablet_scan_frequency_factor * 
tablet_scan_frequency +
 
 
 ### `compress_rowbatches`
+* 类型:bool
+
+* 描述:序列化RowBatch时是否使用Snappy压缩算法进行数据压缩
+
+* 默认值:true
 
 ### `create_tablet_worker_count`
 
@@ -273,10 +301,18 @@ tablet_score = compaction_tablet_scan_frequency_factor * 
tablet_scan_frequency +
 在某些部署环境下,`conf/` 目录可能因为系统的版本升级被覆盖掉。这会导致用户在运行是持久化修改的配置项也被覆盖。这时,我们可以将 
`be_custom.conf` 存储在另一个指定的目录中,以防止配置文件被覆盖。
 
 ### `default_num_rows_per_column_file_block`
+* 类型:int32
+* 描述:配置单个RowBlock之中包含多少行的数据。
+* 默认值:1024
 
 ### `default_query_options`
 
 ### `default_rowset_type`
+* 类型:string
+* 描述:标识BE默认选择的存储格式,可配置的参数为:"**ALPHA**", "**BETA**"。主要起以下两个作用
+1. 当建表的storage_format设置为Default时,通过该配置来选取BE的存储格式。
+2. 进行Compaction时选择BE的存储格式
+* 默认值:BETA
 
 ### `delete_worker_count`
 
@@ -284,12 +320,21 @@ tablet_score = compaction_tablet_scan_frequency_factor * 
tablet_scan_frequency +
 
 ### `disable_storage_page_cache`
 
+* 类型:bool
+* 描述:是否进行使用page cache进行index的缓存,该配置仅在BETA存储格式时生效
+* 默认值:false
+
 ### `disk_stat_monitor_interval`
 
 ### `doris_cgroups`
 
 ### `doris_max_pushdown_conjuncts_return_rate`
 
+* 类型:int32
+* 
描述:BE在进行HashJoin时,会采取动态分区裁剪的方式将join条件下推到OlapScanner上。当OlapScanner扫描的数据大于32768行时,BE会进行过滤条件检查,如果该过滤条件的过滤率低于该配置,则Doris会停止使用动态分区裁剪的条件进行数据过滤。
+* 默认值:90
+
+
 ### `doris_max_scan_key_num`
 
 * 类型:int
@@ -300,14 +345,30 @@ tablet_score = compaction_tablet_scan_frequency_factor * 
tablet_scan_frequency +
 
 ### `doris_scan_range_row_count`
 
+* 类型:int32
+* 
描述:BE在进行数据扫描时,会将同一个扫描范围拆分为多个ScanRange。该参数代表了每个ScanRange代表扫描数据范围。通过该参数可以限制单个OlapScanner占用io线程的时间。
+* 默认值:524288
+
 ### `doris_scanner_queue_size`
 
+* 类型:int32
+* 
描述:TransferThread与OlapScanner之间RowBatch的缓存队列的长度。Doris进行数据扫描时是异步进行的,OlapScanner扫描上来的Rowbatch会放入缓存队列之中,等待上层TransferThread取走。
+* 默认值:1024
+
 ### `doris_scanner_row_num`
 
 ### `doris_scanner_thread_pool_queue_size`
 
+* 类型:int32
+* 
描述:Scanner线程池的队列长度。在Doris的扫描任务之中,每一个Scanner会作为一个线程task提交到线程池之中等待被调度,而提交的任务数目超过线程池队列的长度之后,后续提交的任务将阻塞直到队列之中有新的空缺。
+* 默认值:102400
+
 ### `doris_scanner_thread_pool_thread_num`
 
+* 类型:int32
+* 
描述:Scanner线程池线程数目。在Doris的扫描任务之中,每一个Scanner会作为一个线程task提交到线程池之中等待被调度,该参数决定了Scanner线程池的大小。
+* 默认值:48
+
 ### `download_low_speed_limit_kbps`
 
 ### `download_low_speed_time`
@@ -320,10 +381,23 @@ tablet_score = compaction_tablet_scan_frequency_factor * 
tablet_scan_frequency +
 
 ### `enable_partitioned_aggregation`
 
+* 类型:bool
+* 
描述:BE节点是否通过PartitionAggregateNode来实现聚合操作,如果false的话将会执行AggregateNode完成聚合。非特殊需求场景不建议设置为false。
+* 默认值:true
+
 ### `enable_prefetch`
 
+* 类型:bool
+* 描述:当使用PartitionedHashTable进行聚合和join计算时,是否进行HashBuket的预取,推荐设置为true。
+* 默认值:true
+
 ### `enable_quadratic_probing`
 
+* 类型:bool
+* 
描述:当使用PartitionedHashTable时发生Hash冲突时,是否采用平方探测法来解决Hash冲突。该值为false的话,则选用线性探测发来解决Hash冲突。关于平方探测法可参考:[quadratic_probing](https://en.wikipedia.org/wiki/Quadratic_probing)
+* 默认值:true
+
+
 ### `enable_system_metrics`
 
 ### `enable_token_check`
@@ -338,6 +412,10 @@ tablet_score = compaction_tablet_scan_frequency_factor * 
tablet_scan_frequency +
 
 ### `exchg_node_buffer_size_bytes`
 
+* 类型:int32
+* 
描述:ExchangeNode节点Buffer队列的大小,单位为byte。来自Sender端发送的数据量大于ExchangeNode的Buffer大小之后,后续发送的数据将阻塞直到Buffer腾出可写入的空间。
+* 默认值:10485760
+
 ### `file_descriptor_cache_capacity`
 
 ### `file_descriptor_cache_clean_interval`
@@ -352,8 +430,16 @@ tablet_score = compaction_tablet_scan_frequency_factor * 
tablet_scan_frequency +
 
 ### `heartbeat_service_port`
 
+* 类型:int32
+* 描述:BE 上心跳服务端口(thrift),用于接收来自 FE 的心跳
+* 默认值:9050
+
 ### `heartbeat_service_thread_count`
 
+* 类型:int32
+* 描述:执行BE上心跳服务的线程数,默认为1,不建议修改
+* 默认值:1
+
 ### `ignore_broken_disk`
 
 ​      当BE启动时,会检查``storage_root_path`` 配置下的所有路径。
@@ -370,7 +456,7 @@ tablet_score = compaction_tablet_scan_frequency_factor * 
tablet_scan_frequency +
 
 ### `ignore_load_tablet_failure`
 
-* 类型:布尔
+* 类型:bool
 * 描述:用来决定在有tablet 加载失败的情况下是否忽略错误,继续启动be
 * 默认值:false
 
@@ -387,7 +473,7 @@ load tablets from header failed, failed tablets size: xxx, 
path=xxx
 
 ### `ignore_rowset_stale_unconsistent_delete`
 
-* 类型:布尔
+* 类型:bool
 * 描述:用来决定当删除过期的合并过的rowset后无法构成一致的版本路径时,是否仍要删除。
 * 默认值:false
 
@@ -432,6 +518,10 @@ load tablets from header failed, failed tablets size: xxx, 
path=xxx
 
 ### `max_percentage_of_error_disk`
 
+* 类型:int32
+* 描述:存储引擎允许存在损坏硬盘的百分比,损坏硬盘超过改比例后,BE将会自动退出。
+* 默认值:0
+
 ### `max_pushdown_conditions_per_column`
 
 * 类型:int
@@ -458,6 +548,10 @@ load tablets from header failed, failed tablets size: xxx, 
path=xxx
 
 ### `mem_limit`
 
+* 类型:string
+* 描述:限制BE进程使用服务器最大内存百分比。用于防止BE内存挤占太多的机器内存,该参数必须大于0,当百分大于100%之后,该值会默认为100%。
+* 默认值:80%
+
 ### `memory_limitation_per_thread_for_schema_change`
 
 ### `memory_maintenance_sleep_time_s`
@@ -483,6 +577,10 @@ load tablets from header failed, failed tablets size: xxx, 
path=xxx
 
 ### `num_cores`
 
+* 类型:int32
+* 描述:BE可以使用CPU的核数。当该值为0时,BE将从/proc/cpuinfo之中获取本机的CPU核数。
+* 默认值:0
+
 ### `num_disks`
 
 ### `num_threads_per_core`
@@ -509,6 +607,10 @@ load tablets from header failed, failed tablets size: xxx, 
path=xxx
 
 ### `port`
 
+* 类型:int32
+* 描述:BE单测时使用的端口,在实际环境之中无意义,可忽略。
+* 默认值:20001
+
 ### `pprof_profile_dir`
 
 ### `priority_networks`
@@ -532,6 +634,10 @@ load tablets from header failed, failed tablets size: xxx, 
path=xxx
 
 ### `query_scratch_dirs`
 
+* 类型:string
+* 描述:BE进行数据落盘时选取的目录来存放临时数据,与存储路径配置类似,多目录之间用;分隔。
+* 默认值:${DORIS_HOME}
+
 ### `read_size`
 
 ### `release_snapshot_worker_count`
@@ -555,8 +661,14 @@ load tablets from header failed, failed tablets size: xxx, 
path=xxx
 ### `serialize_batch`
 
 ### `sleep_five_seconds`
++ 类型:int32
++ 描述:全局变量,用于BE线程休眠5秒,不应该被修改
++ 默认值:5
 
 ### `sleep_one_second`
++ 类型:int32
++ 描述:全局变量,用于BE线程休眠1秒,不应该被修改
++ 默认值:1
 
 ### `small_file_dir`
 
@@ -576,6 +688,16 @@ load tablets from header failed, failed tablets size: xxx, 
path=xxx
 
 ### `storage_root_path`
 
+* 类型:string
+* 描述:BE数据存储的目录,多目录之间用;分隔。可以通过路径区别存储目录的介质,HDD或SSD。可以添加容量限制在每个路径的末尾,通过,隔开。
+eg:storage_root_path=/home/disk1/doris.HDD,50;/home/disk2/doris.SSD,1;/home/disk2/doris
+
+       * 1./home/disk1/doris.HDD, 存储限制为50GB, HDD;
+       * 2./home/disk2/doris.SSD,存储限制为1GB,SSD;
+       * 3./home/disk2/doris,存储限制为磁盘容量,默认为HDD
+
+* 默认值:${DORIS_HOME}
+
 ### `storage_strict_check_incompatible_old_format`
 * 类型:bool
 * 描述:用来检查不兼容的旧版本格式时是否使用严格的验证方式
@@ -609,6 +731,10 @@ Stream Load 一般适用于导入几个GB以内的数据,不适合导入过大
 
 ### `sys_log_dir`
 
+* 类型:string
+* 描述:BE日志数据的存储目录
+* 默认值:${DORIS_HOME}/log
+
 ### `sys_log_level`
 
 ### `sys_log_roll_mode`
@@ -686,5 +812,8 @@ Stream Load 一般适用于导入几个GB以内的数据,不适合导入过大
 ### `webserver_num_workers`
 
 ### `webserver_port`
+* 类型:int32
+* 描述:BE 上的 http server 的服务端口
+* 默认值:8040
 
 ### `write_buffer_size`


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to