You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2020/12/01 02:54:26 UTC
[iotdb] 02/04: add some properties discription
This is an automated email from the ASF dual-hosted git repository.
haonan pushed a commit to branch mem_control_op
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 4d2dbda2c7728453c40ecb03fc077364f799e976
Author: HTHou <hh...@outlook.com>
AuthorDate: Tue Nov 24 23:25:18 2020 +0800
add some properties discription
---
server/src/assembly/resources/conf/iotdb-engine.properties | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/server/src/assembly/resources/conf/iotdb-engine.properties b/server/src/assembly/resources/conf/iotdb-engine.properties
index aae3444..fe5f7bb 100644
--- a/server/src/assembly/resources/conf/iotdb-engine.properties
+++ b/server/src/assembly/resources/conf/iotdb-engine.properties
@@ -174,6 +174,7 @@ timestamp_precision=ms
wal_buffer_size=16777216
# When a TsFile's file size (in byte) exceeds this, the TsFile is forced closed.
+# It may cause memTable size smaller, if it sets a large value
tsfile_size_threshold=1
# When a memTable's size (in byte) exceeds this, the memtable is flushed to disk. The default threshold is 1 GB.
@@ -224,18 +225,23 @@ enable_mem_control=true
# Memory Allocation Ratio: Write, Read, Schema and Free Memory.
# The parameter form is a:b:c:d, where a, b, c and d are integers. for example: 1:1:1:1 , 6:2:1:1
+# If you have high level of writing pressure and low level of reading pressure, please adjust it to for example 6:1:1:2
write_read_schema_free_memory_proportion=4:3:1:2
# primitive array size (length of each array) in array pool
primitive_array_size=128
# Ratio of write memory for invoking flush disk, 0.4 by default
+# If you have extremely high level of writing pressure (like batch=1000) and the physical memory size is large enough,
+# it can be set lower than the default value like 0.2
flush_proportion=0.4
# Ratio of write memory allocated for buffered arrays, 0.6 by default
buffered_arrays_memory_proportion=0.6
# Ratio of write memory for rejecting insertion, 0.8 by default
+# If you have extremely high level of writing pressure (like batch=1000) and the physical memory size is large enough,
+# it can be set higher than the default value like 0.9
reject_proportion=0.8
# If memory (in byte) of storage group increased more than this threshold, report to system. The default value is 16MB
@@ -246,9 +252,13 @@ storage_group_report_threshold=16777216
max_deduplicated_path_num=1000
# When an inserting is rejected, waiting time (in ms) to check system again, 0 by default.
+# If you have high level of writing pressure and low level of reading pressure,
+# it can be set larger than 0, like 10.
waiting_time_when_insert_blocked=0
# When the waiting time (in ms) of an inserting exceeds this, throw an exception. 0 by default.
+# If you have high level of writing pressure and low level of reading pressure,
+# it can be set larger than 0, like 10000.
max_waiting_time_when_insert_blocked=0
# estimated metadata size (in byte) of one timeseries in Mtree