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/05/29 05:26:05 UTC
[incubator-iotdb] branch change_default_config created (now 9df7a90)
This is an automated email from the ASF dual-hosted git repository.
qiaojialin pushed a change to branch change_default_config
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git.
at 9df7a90 change max avg point to 10k
This branch includes the following new commits:
new 9df7a90 change max avg point to 10k
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.
[incubator-iotdb] 01/01: change max avg point to 10k
Posted by qi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
qiaojialin pushed a commit to branch change_default_config
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git
commit 9df7a905c3105d06085fa01681d1acb0dfafb76d
Author: qiaojialin <64...@qq.com>
AuthorDate: Fri May 29 13:26:25 2020 +0800
change max avg point to 10k
---
docs/UserGuide/Server/Config Manual.md | 2 +-
docs/zh/UserGuide/Server/Config Manual.md | 2 +-
server/src/assembly/resources/conf/iotdb-engine.properties | 2 +-
server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/docs/UserGuide/Server/Config Manual.md b/docs/UserGuide/Server/Config Manual.md
index dbc40fb..33c92dc 100644
--- a/docs/UserGuide/Server/Config Manual.md
+++ b/docs/UserGuide/Server/Config Manual.md
@@ -296,7 +296,7 @@ The permission definitions are in ${IOTDB\_CONF}/conf/jmx.access.
|:---:|:---|
|Description| max average number of point of each series in memtable|
|Type|Int32|
-|Default| 5000 |
+|Default| 10000 |
|Effective|After restart system|
* tsfile\_size\_threshold
diff --git a/docs/zh/UserGuide/Server/Config Manual.md b/docs/zh/UserGuide/Server/Config Manual.md
index 7589fed..893cd8d 100644
--- a/docs/zh/UserGuide/Server/Config Manual.md
+++ b/docs/zh/UserGuide/Server/Config Manual.md
@@ -277,7 +277,7 @@
|:---:|:---|
|Description| 内存中平均每个时间序列点数最大值,达到触发flush|
|Type|Int32|
-|Default| 5000 |
+|Default| 10000 |
|Effective|重启服务器生效|
* tsfile\_size\_threshold
diff --git a/server/src/assembly/resources/conf/iotdb-engine.properties b/server/src/assembly/resources/conf/iotdb-engine.properties
index 19f1f40..cafc959 100644
--- a/server/src/assembly/resources/conf/iotdb-engine.properties
+++ b/server/src/assembly/resources/conf/iotdb-engine.properties
@@ -181,7 +181,7 @@ tsfile_size_threshold=536870912
# When a memTable's size (in byte) exceeds this, the memtable is flushed to disk. The default threshold is 1 GB.
memtable_size_threshold=1073741824
-avg_series_point_number_threshold=5000
+avg_series_point_number_threshold=10000
# How many threads can concurrently flush. When <= 0, use CPU core number.
concurrent_flush_thread=0
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 1aecad9..c8e6451 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
@@ -232,7 +232,7 @@ public class IoTDBConfig {
/**
* When average series point number reaches this, flush the memtable to disk
*/
- private int avgSeriesPointNumberThreshold = 5000;
+ private int avgSeriesPointNumberThreshold = 10000;
/**
* whether to cache meta data(ChunkMetaData and TsFileMetaData) or not.