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 2022/08/03 05:53:11 UTC

[iotdb] branch iotdb308713 created (now 7eb820b823)

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

haonan pushed a change to branch iotdb308713
in repository https://gitbox.apache.org/repos/asf/iotdb.git


      at 7eb820b823 [IOTDB-3087] enlarge default value of avg_series_point_number_threhold (#5961)

This branch includes the following new commits:

     new 7eb820b823 [IOTDB-3087] enlarge default value of avg_series_point_number_threhold (#5961)

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[iotdb] 01/01: [IOTDB-3087] enlarge default value of avg_series_point_number_threhold (#5961)

Posted by ha...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

haonan pushed a commit to branch iotdb308713
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit 7eb820b823305df25082c615a6ae84f78d28620a
Author: Haonan <hh...@outlook.com>
AuthorDate: Tue May 24 10:51:07 2022 +0800

    [IOTDB-3087] enlarge default value of avg_series_point_number_threhold (#5961)
---
 docs/UserGuide/Reference/Config-Manual.md                    | 12 ++++++------
 docs/zh/UserGuide/Reference/Config-Manual.md                 | 10 +++++-----
 server/src/assembly/resources/conf/iotdb-engine.properties   |  4 ++--
 .../src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java  |  2 +-
 4 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/docs/UserGuide/Reference/Config-Manual.md b/docs/UserGuide/Reference/Config-Manual.md
index cdf3c846bc..5596cb2098 100644
--- a/docs/UserGuide/Reference/Config-Manual.md
+++ b/docs/UserGuide/Reference/Config-Manual.md
@@ -383,12 +383,12 @@ The permission definitions are in ${IOTDB\_CONF}/conf/jmx.access.
 
 * avg\_series\_point\_number\_threshold
 
-|Name| avg\_series\_point\_number\_threshold |
-|:---:|:---|
-|Description| max average number of point of each series in memtable|
-|Type|Int32|
-|Default| 10000 |
-|Effective|After restarting system|
+|Name| avg\_series\_point\_number\_threshold                  |
+|:---:|:-------------------------------------------------------|
+|Description| max average number of point of each series in memtable |
+|Type| Int32                                                  |
+|Default| 100000                                                 |
+|Effective| After restarting system                                |
 
 * tsfile\_size\_threshold
 
diff --git a/docs/zh/UserGuide/Reference/Config-Manual.md b/docs/zh/UserGuide/Reference/Config-Manual.md
index 2c7907d897..6235907171 100644
--- a/docs/zh/UserGuide/Reference/Config-Manual.md
+++ b/docs/zh/UserGuide/Reference/Config-Manual.md
@@ -514,11 +514,11 @@ Server,客户端的使用方式详见 [SQL 命令行终端(CLI)](https://i
 * avg\_series\_point\_number\_threshold
 
 |名字| avg\_series\_point\_number\_threshold |
-|:---:|:---|
-|描述| 内存中平均每个时间序列点数最大值,达到触发 flush |
-|类型| Int32 |
-|默认值| 10000 |
-|改后生效方式|重启服务生效|
+|:---:|:--------------------------------------|
+|描述| 内存中平均每个时间序列点数最大值,达到触发 flush           |
+|类型| Int32                                 |
+|默认值| 100000                                |
+|改后生效方式| 重启服务生效                                |
 
 * concurrent\_flush\_thread
 
diff --git a/server/src/assembly/resources/conf/iotdb-engine.properties b/server/src/assembly/resources/conf/iotdb-engine.properties
index 290b685ca9..0be00a433d 100644
--- a/server/src/assembly/resources/conf/iotdb-engine.properties
+++ b/server/src/assembly/resources/conf/iotdb-engine.properties
@@ -263,9 +263,9 @@ timestamp_precision=ms
 # Datatype: long
 # close_tsfile_check_interval_in_ms=600000
 
-# When the average point number of timeseries in memtable exceeds this, the memtable is flushed to disk. The default threshold is 10000.
+# When the average point number of timeseries in memtable exceeds this, the memtable is flushed to disk. The default threshold is 100000.
 # Datatype: int
-# avg_series_point_number_threshold=10000
+# avg_series_point_number_threshold=100000
 
 # How many threads can concurrently flush. When <= 0, use CPU core number.
 # Datatype: int
diff --git a/server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java b/server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java
index 4cea02fa93..adff76ea4e 100644
--- a/server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java
+++ b/server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java
@@ -358,7 +358,7 @@ public class IoTDBConfig {
   private long closeTsFileCheckInterval = 10 * 60 * 1000L;
 
   /** When average series point number reaches this, flush the memtable to disk */
-  private int avgSeriesPointNumberThreshold = 10000;
+  private int avgSeriesPointNumberThreshold = 100000;
 
   /** Enable inner space copaction for sequence files */
   private boolean enableSeqSpaceCompaction = true;