This is an automated email from the ASF dual-hosted git repository.
critas pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iotdb-docs.git
The following commit(s) were added to refs/heads/main by this push:
new 284c9f98 Add operation and maintenance statements (#685)
284c9f98 is described below
commit 284c9f989424c3c711633898f9ce6db806f5d9e9
Author: W1y1r <[email protected]>
AuthorDate: Tue Apr 1 11:33:19 2025 +0800
Add operation and maintenance statements (#685)
---
.../Master/Table/User-Manual/Maintenance-commands.md | 12 ++++++------
.../latest-Table/User-Manual/Maintenance-commands.md | 12 ++++++------
.../Master/Table/User-Manual/Maintenance-statement.md | 10 +++++-----
.../latest-Table/User-Manual/Maintenance-statement.md | 10 +++++-----
4 files changed, 22 insertions(+), 22 deletions(-)
diff --git a/src/UserGuide/Master/Table/User-Manual/Maintenance-commands.md
b/src/UserGuide/Master/Table/User-Manual/Maintenance-commands.md
index 09961050..ddf9e9ef 100644
--- a/src/UserGuide/Master/Table/User-Manual/Maintenance-commands.md
+++ b/src/UserGuide/Master/Table/User-Manual/Maintenance-commands.md
@@ -308,7 +308,7 @@ IoTDB> SHOW QUERIES WHERE elapsed_time > 30;
#### 2.1 Setting the Connected Model
-**Description**: Sets the current SQL dialect model to `Tree` or `Table`.
+**Description**: Sets the current SQL dialect model to `Tree` or `Table` which
can be used in both tree and table models.
**Syntax**:
@@ -396,8 +396,8 @@ localOrClusterMode
1. Specifies the scope of configuration loading.
2. Default: `CLUSTER`.
3. Values:
- - `ON LOCAL`: Loads configuration only on the DataNode directly
connected to the client.
- - `ON CLUSTER`: Loads configuration on all DataNodes in the cluster.
+ - `LOCAL`: Loads configuration only on the DataNode directly connected
to the client.
+ - `CLUSTER`: Loads configuration on all DataNodes in the cluster.
**Example**:
@@ -427,9 +427,9 @@ localOrClusterMode
1. **RUNNING**: Sets the system to running mode, allowing both read and
write operations.
2. **READONLY**: Sets the system to read-only mode, allowing only read
operations and prohibiting writes.
2. **localOrClusterMode** **(Optional):**
- 1. **ON LOCAL**: Applies the status change only to the DataNode directly
connected to the client.
- 2. **ON CLUSTER**: Applies the status change to all DataNodes in the
cluster.
- 3. **Default**: `ON ``CLUSTER`.
+ 1. **LOCAL**: Applies the status change only to the DataNode directly
connected to the client.
+ 2. **CLUSTER**: Applies the status change to all DataNodes in the cluster.
+ 3. **Default**: `ON CLUSTER`.
**Example**:
diff --git a/src/UserGuide/latest-Table/User-Manual/Maintenance-commands.md
b/src/UserGuide/latest-Table/User-Manual/Maintenance-commands.md
index 09961050..ddf9e9ef 100644
--- a/src/UserGuide/latest-Table/User-Manual/Maintenance-commands.md
+++ b/src/UserGuide/latest-Table/User-Manual/Maintenance-commands.md
@@ -308,7 +308,7 @@ IoTDB> SHOW QUERIES WHERE elapsed_time > 30;
#### 2.1 Setting the Connected Model
-**Description**: Sets the current SQL dialect model to `Tree` or `Table`.
+**Description**: Sets the current SQL dialect model to `Tree` or `Table` which
can be used in both tree and table models.
**Syntax**:
@@ -396,8 +396,8 @@ localOrClusterMode
1. Specifies the scope of configuration loading.
2. Default: `CLUSTER`.
3. Values:
- - `ON LOCAL`: Loads configuration only on the DataNode directly
connected to the client.
- - `ON CLUSTER`: Loads configuration on all DataNodes in the cluster.
+ - `LOCAL`: Loads configuration only on the DataNode directly connected
to the client.
+ - `CLUSTER`: Loads configuration on all DataNodes in the cluster.
**Example**:
@@ -427,9 +427,9 @@ localOrClusterMode
1. **RUNNING**: Sets the system to running mode, allowing both read and
write operations.
2. **READONLY**: Sets the system to read-only mode, allowing only read
operations and prohibiting writes.
2. **localOrClusterMode** **(Optional):**
- 1. **ON LOCAL**: Applies the status change only to the DataNode directly
connected to the client.
- 2. **ON CLUSTER**: Applies the status change to all DataNodes in the
cluster.
- 3. **Default**: `ON ``CLUSTER`.
+ 1. **LOCAL**: Applies the status change only to the DataNode directly
connected to the client.
+ 2. **CLUSTER**: Applies the status change to all DataNodes in the cluster.
+ 3. **Default**: `ON CLUSTER`.
**Example**:
diff --git a/src/zh/UserGuide/Master/Table/User-Manual/Maintenance-statement.md
b/src/zh/UserGuide/Master/Table/User-Manual/Maintenance-statement.md
index 525a4bde..2474f934 100644
--- a/src/zh/UserGuide/Master/Table/User-Manual/Maintenance-statement.md
+++ b/src/zh/UserGuide/Master/Table/User-Manual/Maintenance-statement.md
@@ -308,7 +308,7 @@ IoTDB> SHOW QUERIES WHERE elapsed_time > 30
### 2.1 设置连接的模型
-**含义**:将当前连接的 sql_dialect 置为树模型/表模型。
+**含义**:将当前连接的 sql_dialect 置为树模型/表模型,在树模型和表模型中均可使用该命令。
#### 语法:
@@ -398,8 +398,8 @@ localOrClusterMode
- **含义**:指定配置热加载的范围。
- **可选性**:可选。默认值为 `CLUSTER`。
- **取值**:
- - `ON LOCAL`:只对客户端直连的 DataNode 进行配置热加载。
- - `ON CLUSTER`:对集群中所有 DataNode 进行配置热加载。
+ - `LOCAL`:只对客户端直连的 DataNode 进行配置热加载。
+ - `CLUSTER`:对集群中所有 DataNode 进行配置热加载。
#### 示例:
@@ -434,8 +434,8 @@ localOrClusterMode
- **含义**:指定状态变更的范围。
- **可选性**:可选。默认值为 `CLUSTER`。
- **取值**:
- - `ON LOCAL`:仅对客户端直连的 DataNode 生效。
- - `ON CLUSTER`:对集群中所有 DataNode 生效。
+ - `LOCAL`:仅对客户端直连的 DataNode 生效。
+ - `CLUSTER`:对集群中所有 DataNode 生效。
#### 示例:
diff --git a/src/zh/UserGuide/latest-Table/User-Manual/Maintenance-statement.md
b/src/zh/UserGuide/latest-Table/User-Manual/Maintenance-statement.md
index 525a4bde..2474f934 100644
--- a/src/zh/UserGuide/latest-Table/User-Manual/Maintenance-statement.md
+++ b/src/zh/UserGuide/latest-Table/User-Manual/Maintenance-statement.md
@@ -308,7 +308,7 @@ IoTDB> SHOW QUERIES WHERE elapsed_time > 30
### 2.1 设置连接的模型
-**含义**:将当前连接的 sql_dialect 置为树模型/表模型。
+**含义**:将当前连接的 sql_dialect 置为树模型/表模型,在树模型和表模型中均可使用该命令。
#### 语法:
@@ -398,8 +398,8 @@ localOrClusterMode
- **含义**:指定配置热加载的范围。
- **可选性**:可选。默认值为 `CLUSTER`。
- **取值**:
- - `ON LOCAL`:只对客户端直连的 DataNode 进行配置热加载。
- - `ON CLUSTER`:对集群中所有 DataNode 进行配置热加载。
+ - `LOCAL`:只对客户端直连的 DataNode 进行配置热加载。
+ - `CLUSTER`:对集群中所有 DataNode 进行配置热加载。
#### 示例:
@@ -434,8 +434,8 @@ localOrClusterMode
- **含义**:指定状态变更的范围。
- **可选性**:可选。默认值为 `CLUSTER`。
- **取值**:
- - `ON LOCAL`:仅对客户端直连的 DataNode 生效。
- - `ON CLUSTER`:对集群中所有 DataNode 生效。
+ - `LOCAL`:仅对客户端直连的 DataNode 生效。
+ - `CLUSTER`:对集群中所有 DataNode 生效。
#### 示例: