You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by qi...@apache.org on 2020/06/06 02:07:46 UTC

[incubator-iotdb] 01/01: add config comment

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

qiaojialin pushed a commit to branch describe_parameter
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git

commit 36181461d83029f545f478ca1c7ab8a732f5b499
Author: qiaojialin <64...@qq.com>
AuthorDate: Sat Jun 6 10:07:22 2020 +0800

    add config comment
---
 .../assembly/resources/conf/iotdb-engine.properties    | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/server/src/assembly/resources/conf/iotdb-engine.properties b/server/src/assembly/resources/conf/iotdb-engine.properties
index 577bbff..ad2d965 100644
--- a/server/src/assembly/resources/conf/iotdb-engine.properties
+++ b/server/src/assembly/resources/conf/iotdb-engine.properties
@@ -208,12 +208,13 @@ enable_partial_insert=true
 ### Memory Control Configuration
 ####################
 
-# Is dynamic parameter adapter enable. It's recommended for users to enable parameter adapter.
-# The adapter can dynamically adjust the following two parameters according to the memory load of the system:
-# 1. tsfile_size_threshold which is introduced below.
-# 2. memtable_size_threshold which is introduced below.
-# By dynamically adjusting these two parameters, the probability of system memory explosion is greatly reduced.
-# When this parameter is set true, it will refuse to create time series or add storage groups under high system load.
+# This adapter could adjust the system memory to avoid OOM.
+# It will refuse to create time series or add storage groups under high system load.
+#
+# Attention!!!
+# If disable this parameter, you need to set some parameter according to your system load:
+# Normal scenario: 1-50 storage groups. <100k devices, <10M time series
+# memtable_size_threshold = tsfile_size_threshold = IoTDB memory allocation / 2 / 4
 enable_parameter_adapter=true
 
 # Memory Allocation Ratio: Write, Read, and Free Memory.
@@ -221,8 +222,7 @@ enable_parameter_adapter=true
 write_read_free_memory_proportion=6:3:1
 
 # primitive array size (length of each array) in array pool
-primitive_array_size=64
-
+primitive_array_size=128
 
 ####################
 ### Upgrade Configurations
@@ -237,7 +237,7 @@ upgrade_thread_num=1
 ### Query Configurations
 ####################
 
-# the default time period that used in fill query, -1 by default means infinite past time
+# the default time period that used in fill query, -1 by default means infinite past time, in ms
 default_fill_interval=-1
 
 ####################