Skip to content

Commit 284c9f9

Browse files
authored
Add operation and maintenance statements (#685)
1 parent e059c13 commit 284c9f9

4 files changed

Lines changed: 22 additions & 22 deletions

File tree

src/UserGuide/Master/Table/User-Manual/Maintenance-commands.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ IoTDB> SHOW QUERIES WHERE elapsed_time > 30;
308308

309309
#### 2.1 Setting the Connected Model
310310

311-
**Description**: Sets the current SQL dialect model to `Tree` or `Table`.
311+
**Description**: Sets the current SQL dialect model to `Tree` or `Table` which can be used in both tree and table models.
312312

313313
**Syntax**:
314314

@@ -396,8 +396,8 @@ localOrClusterMode
396396
1. Specifies the scope of configuration loading.
397397
2. Default: `CLUSTER`.
398398
3. Values:
399-
- `ON LOCAL`: Loads configuration only on the DataNode directly connected to the client.
400-
- `ON CLUSTER`: Loads configuration on all DataNodes in the cluster.
399+
- `LOCAL`: Loads configuration only on the DataNode directly connected to the client.
400+
- `CLUSTER`: Loads configuration on all DataNodes in the cluster.
401401

402402
**Example**:
403403

@@ -427,9 +427,9 @@ localOrClusterMode
427427
1. **RUNNING**: Sets the system to running mode, allowing both read and write operations.
428428
2. **READONLY**: Sets the system to read-only mode, allowing only read operations and prohibiting writes.
429429
2. **localOrClusterMode** **(Optional):**
430-
1. **ON LOCAL**: Applies the status change only to the DataNode directly connected to the client.
431-
2. **ON CLUSTER**: Applies the status change to all DataNodes in the cluster.
432-
3. **Default**: `ON ``CLUSTER`.
430+
1. **LOCAL**: Applies the status change only to the DataNode directly connected to the client.
431+
2. **CLUSTER**: Applies the status change to all DataNodes in the cluster.
432+
3. **Default**: `ON CLUSTER`.
433433

434434
**Example**:
435435

src/UserGuide/latest-Table/User-Manual/Maintenance-commands.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ IoTDB> SHOW QUERIES WHERE elapsed_time > 30;
308308

309309
#### 2.1 Setting the Connected Model
310310

311-
**Description**: Sets the current SQL dialect model to `Tree` or `Table`.
311+
**Description**: Sets the current SQL dialect model to `Tree` or `Table` which can be used in both tree and table models.
312312

313313
**Syntax**:
314314

@@ -396,8 +396,8 @@ localOrClusterMode
396396
1. Specifies the scope of configuration loading.
397397
2. Default: `CLUSTER`.
398398
3. Values:
399-
- `ON LOCAL`: Loads configuration only on the DataNode directly connected to the client.
400-
- `ON CLUSTER`: Loads configuration on all DataNodes in the cluster.
399+
- `LOCAL`: Loads configuration only on the DataNode directly connected to the client.
400+
- `CLUSTER`: Loads configuration on all DataNodes in the cluster.
401401

402402
**Example**:
403403

@@ -427,9 +427,9 @@ localOrClusterMode
427427
1. **RUNNING**: Sets the system to running mode, allowing both read and write operations.
428428
2. **READONLY**: Sets the system to read-only mode, allowing only read operations and prohibiting writes.
429429
2. **localOrClusterMode** **(Optional):**
430-
1. **ON LOCAL**: Applies the status change only to the DataNode directly connected to the client.
431-
2. **ON CLUSTER**: Applies the status change to all DataNodes in the cluster.
432-
3. **Default**: `ON ``CLUSTER`.
430+
1. **LOCAL**: Applies the status change only to the DataNode directly connected to the client.
431+
2. **CLUSTER**: Applies the status change to all DataNodes in the cluster.
432+
3. **Default**: `ON CLUSTER`.
433433

434434
**Example**:
435435

src/zh/UserGuide/Master/Table/User-Manual/Maintenance-statement.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ IoTDB> SHOW QUERIES WHERE elapsed_time > 30
308308

309309
### 2.1 设置连接的模型
310310

311-
**含义**:将当前连接的 sql_dialect 置为树模型/表模型。
311+
**含义**:将当前连接的 sql_dialect 置为树模型/表模型,在树模型和表模型中均可使用该命令
312312

313313
#### 语法:
314314

@@ -398,8 +398,8 @@ localOrClusterMode
398398
- **含义**:指定配置热加载的范围。
399399
- **可选性**:可选。默认值为 `CLUSTER`
400400
- **取值**
401-
- `ON LOCAL`:只对客户端直连的 DataNode 进行配置热加载。
402-
- `ON CLUSTER`:对集群中所有 DataNode 进行配置热加载。
401+
- `LOCAL`:只对客户端直连的 DataNode 进行配置热加载。
402+
- `CLUSTER`:对集群中所有 DataNode 进行配置热加载。
403403

404404
#### 示例:
405405

@@ -434,8 +434,8 @@ localOrClusterMode
434434
- **含义**:指定状态变更的范围。
435435
- **可选性**:可选。默认值为 `CLUSTER`
436436
- **取值**
437-
- `ON LOCAL`:仅对客户端直连的 DataNode 生效。
438-
- `ON CLUSTER`:对集群中所有 DataNode 生效。
437+
- `LOCAL`:仅对客户端直连的 DataNode 生效。
438+
- `CLUSTER`:对集群中所有 DataNode 生效。
439439

440440
#### 示例:
441441

src/zh/UserGuide/latest-Table/User-Manual/Maintenance-statement.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ IoTDB> SHOW QUERIES WHERE elapsed_time > 30
308308

309309
### 2.1 设置连接的模型
310310

311-
**含义**:将当前连接的 sql_dialect 置为树模型/表模型。
311+
**含义**:将当前连接的 sql_dialect 置为树模型/表模型,在树模型和表模型中均可使用该命令
312312

313313
#### 语法:
314314

@@ -398,8 +398,8 @@ localOrClusterMode
398398
- **含义**:指定配置热加载的范围。
399399
- **可选性**:可选。默认值为 `CLUSTER`
400400
- **取值**
401-
- `ON LOCAL`:只对客户端直连的 DataNode 进行配置热加载。
402-
- `ON CLUSTER`:对集群中所有 DataNode 进行配置热加载。
401+
- `LOCAL`:只对客户端直连的 DataNode 进行配置热加载。
402+
- `CLUSTER`:对集群中所有 DataNode 进行配置热加载。
403403

404404
#### 示例:
405405

@@ -434,8 +434,8 @@ localOrClusterMode
434434
- **含义**:指定状态变更的范围。
435435
- **可选性**:可选。默认值为 `CLUSTER`
436436
- **取值**
437-
- `ON LOCAL`:仅对客户端直连的 DataNode 生效。
438-
- `ON CLUSTER`:对集群中所有 DataNode 生效。
437+
- `LOCAL`:仅对客户端直连的 DataNode 生效。
438+
- `CLUSTER`:对集群中所有 DataNode 生效。
439439

440440
#### 示例:
441441

0 commit comments

Comments
 (0)