This is an automated email from the ASF dual-hosted git repository.
zyk pushed a commit to branch rel/1.2
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/rel/1.2 by this push:
new f8f3ad79a61 [To rel/1.2] Add schema_ engine_mode config to
iotdb-commons.properties and User-Guide (#10047)
f8f3ad79a61 is described below
commit f8f3ad79a61c398da924891dbdb866011ef6ea28
Author: Marcos_Zyk <[email protected]>
AuthorDate: Sun Jun 4 01:01:49 2023 +0800
[To rel/1.2] Add schema_ engine_mode config to iotdb-commons.properties and
User-Guide (#10047)
---
docs/UserGuide/Reference/Common-Config-Manual.md | 9 +++++++++
docs/zh/UserGuide/Reference/Common-Config-Manual.md | 9 +++++++++
node-commons/src/assembly/resources/conf/iotdb-common.properties | 5 +++++
3 files changed, 23 insertions(+)
diff --git a/docs/UserGuide/Reference/Common-Config-Manual.md
b/docs/UserGuide/Reference/Common-Config-Manual.md
index 1f098ba49ad..a499c57e1b0 100644
--- a/docs/UserGuide/Reference/Common-Config-Manual.md
+++ b/docs/UserGuide/Reference/Common-Config-Manual.md
@@ -371,6 +371,15 @@ Different configuration parameters take effect in the
following three ways:
### Schema Engine Configuration
+* schema\_engine\_mode
+
+|名字| schema\_engine\_mode |
+|:---:|:---|
+|Description| Schema engine mode, supporting Memory and Schema_File modes;
Schema_File mode support evict the timeseries schema temporarily not used in
memory at runtime, and load it into memory from disk when needed. This
parameter must be the same on all DataNodes in one cluster.|
+|Type| string |
+|Default| Memory |
+|Effective| Only allowed to be modified in first start up |
+
* mlog\_buffer\_size
|Name| mlog\_buffer\_size |
diff --git a/docs/zh/UserGuide/Reference/Common-Config-Manual.md
b/docs/zh/UserGuide/Reference/Common-Config-Manual.md
index 0db310901ec..d5ac85ad9a0 100644
--- a/docs/zh/UserGuide/Reference/Common-Config-Manual.md
+++ b/docs/zh/UserGuide/Reference/Common-Config-Manual.md
@@ -364,6 +364,15 @@ IoTDB ConfigNode 和 DataNode 的公共配置参数位于 `conf` 目录下。
#### 元数据引擎配置
+* schema\_engine\_mode
+
+|名字| schema\_engine\_mode |
+|:---:|:---|
+|描述| 元数据引擎的运行模式,支持 Memory 和 Schema_File两种模式;Schema_File
模式下支持将内存中暂时不用的序列元数据实时置换到磁盘上,需要使用时再加载进内存;此参数在集群中所有的 DataNode 上务必保持相同。|
+|类型| string |
+|默认值| Memory |
+|改后生效方式|仅允许在第一次启动服务前修改|
+
* mlog\_buffer\_size
|名字| mlog\_buffer\_size |
diff --git a/node-commons/src/assembly/resources/conf/iotdb-common.properties
b/node-commons/src/assembly/resources/conf/iotdb-common.properties
index bcf8e262304..d1fefbca83e 100644
--- a/node-commons/src/assembly/resources/conf/iotdb-common.properties
+++ b/node-commons/src/assembly/resources/conf/iotdb-common.properties
@@ -248,6 +248,11 @@ cluster_name=defaultCluster
### Schema Engine Configuration
####################
+# The schema management mode of schema engine. Currently support Memory and
Schema_File.
+# This config of all DataNodes in one cluster must keep same.
+# Datatype: string
+# schema_engine_mode=Memory
+
# thread pool size for read operation in DataNode's coordinator.
# Datatype: int
# coordinator_read_executor_size=20