@@ -56,12 +56,12 @@ period_time_for_merge_in_second=7200
5656# default value is +08:00
5757# eg. +08:00, -01:00
5858time_zone =+08:00
59+
60+ # if memory used by write reaches this threshold, auto flush will be triggered, percentile of Java heap memory
61+ mem_threshold_warning =0.8
5962
60- # if memory used by write reaches this threshold, auto flush will be triggered, in byte, 8GB by default
61- mem_threshold_warning =23622320128
62-
63- # if memory used by write reaches this threshold, write will be blocked, in byte, 16GB by default
64- mem_threshold_dangerous =25769803776
63+ # if memory used by write reaches this threshold, write will be blocked, percentile of Java heap memory
64+ mem_threshold_dangerous =0.9
6565
6666# every such interval, a thread will check if memory exceeds mem_threshold_warning
6767# if do exceed, auto flush will be triggered, in ms, 1s by default
@@ -72,8 +72,25 @@ mem_monitor_interval=1000
7272# 1 is JVMMemController, which use JVM heap memory as threshold.
7373mem_controller_type =1
7474
75+ # When a bufferwrite's metadata size (in byte) exceed this, the bufferwrite is forced closed.
76+ bufferwrite_meta_size_threshold =209715200
77+
78+ # When a bufferwrite's file size (in byte) exceed this, the bufferwrite is forced closed.
79+ bufferwrite_file_size_threshold =2147483648
80+
81+ # When a overflow's metadata size (in byte) exceed this, the bufferwrite is forced closed.
82+ overflow_meta_size_threshold =209715200
83+
84+ # When a overflow's file size (in byte) exceed this, the bufferwrite is forced closed.
85+ overflow_file_size_threshold =2147483648
86+
87+ # How many thread can concurrently flush. When <= 0, use CPU core number.
88+ concurrent_flush_thread =0
89+
90+
7591# Statistics Monitor configuration
7692# default monitor is enabled, and write statistics info to IoTDB every 5 seconds
7793# Choose to change the back_loop_period >= 1 seconds
7894enable_stat_monitor = true
79- back_loop_period = 5
95+ back_loop_period = 5
96+
0 commit comments