This is an automated email from the ASF dual-hosted git repository.
haonan 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 83889ed6 remove clear cache statement from table mode (#1061)
83889ed6 is described below
commit 83889ed6e9961fbc9e9a54c911d763d88f304872
Author: leto-b <[email protected]>
AuthorDate: Fri Apr 10 12:10:46 2026 +0800
remove clear cache statement from table mode (#1061)
---
.../User-Manual/Maintenance-commands_apache.md | 41 --------------------
.../User-Manual/Maintenance-commands_timecho.md | 41 --------------------
.../User-Manual/Maintenance-commands_apache.md | 41 --------------------
.../User-Manual/Maintenance-commands_timecho.md | 40 --------------------
.../User-Manual/Maintenance-statement_apache.md | 44 ----------------------
.../User-Manual/Maintenance-statement_timecho.md | 43 ---------------------
.../User-Manual/Maintenance-statement_apache.md | 44 ----------------------
.../User-Manual/Maintenance-statement_timecho.md | 44 ----------------------
8 files changed, 338 deletions(-)
diff --git
a/src/UserGuide/Master/Table/User-Manual/Maintenance-commands_apache.md
b/src/UserGuide/Master/Table/User-Manual/Maintenance-commands_apache.md
index a91d8285..834b3ed9 100644
--- a/src/UserGuide/Master/Table/User-Manual/Maintenance-commands_apache.md
+++ b/src/UserGuide/Master/Table/User-Manual/Maintenance-commands_apache.md
@@ -573,47 +573,6 @@ localOrClusterMode
IoTDB> FLUSH test_db TRUE ON LOCAL;
```
-### 3.2 Clearing Cache on DataNode
-
-**Description**: Clears a specific type of cache on DataNode.
-
-**Syntax**:
-
-```SQL
-clearCacheStatement
- : CLEAR clearCacheOptions? CACHE localOrClusterMode?
- ;
-
-clearCacheOptions
- : ATTRIBUTE
- | QUERY
- | ALL
- ;
-
-localOrClusterMode
- : (ON (LOCAL | CLUSTER))
- ;
-```
-
-**Parameters**:
-
-1. **clearCacheOptions(Optional)**:
- 1. Specifies the type of cache to clear.
- 2. **ATTRIBUTE**: Clears device attribute cache.
- 3. **QUERY**: Clears query cache in the storage engine.
- 4. **ALL**: Clears all caches, including device attribute cache, query
cache, and schema cache in the tree model.
- 5. **Default**: `QUERY`.
-2. **localOrClusterMode(Optional)**:
- 1. **ON LOCAL**: Clears cache only on the DataNode directly connected to
the client.
- 2. **ON CLUSTER**: Clears cache on all DataNodes in the cluster.
- 3. **Default:** `ON CLUSTER`.
-
-**Example**:
-
-```SQL
-IoTDB> CLEAR ALL CACHE ON LOCAL;
-```
-
## 4. Data Repair
### 4.1 Starting Background Scan and Repair of TsFiles
diff --git
a/src/UserGuide/Master/Table/User-Manual/Maintenance-commands_timecho.md
b/src/UserGuide/Master/Table/User-Manual/Maintenance-commands_timecho.md
index 66a7444c..f608cdb1 100644
--- a/src/UserGuide/Master/Table/User-Manual/Maintenance-commands_timecho.md
+++ b/src/UserGuide/Master/Table/User-Manual/Maintenance-commands_timecho.md
@@ -573,47 +573,6 @@ localOrClusterMode
IoTDB> FLUSH test_db TRUE ON LOCAL;
```
-### 3.2 Clearing Cache on DataNode
-
-**Description**: Clears a specific type of cache on DataNode.
-
-**Syntax**:
-
-```SQL
-clearCacheStatement
- : CLEAR clearCacheOptions? CACHE localOrClusterMode?
- ;
-
-clearCacheOptions
- : ATTRIBUTE
- | QUERY
- | ALL
- ;
-
-localOrClusterMode
- : (ON (LOCAL | CLUSTER))
- ;
-```
-
-**Parameters**:
-
-1. **clearCacheOptions(Optional)**:
- 1. Specifies the type of cache to clear.
- 2. **ATTRIBUTE**: Clears device attribute cache.
- 3. **QUERY**: Clears query cache in the storage engine.
- 4. **ALL**: Clears all caches, including device attribute cache, query
cache, and schema cache in the tree model.
- 5. **Default**: `QUERY`.
-2. **localOrClusterMode(Optional)**:
- 1. **ON LOCAL**: Clears cache only on the DataNode directly connected to
the client.
- 2. **ON CLUSTER**: Clears cache on all DataNodes in the cluster.
- 3. **Default:** `ON CLUSTER`.
-
-**Example**:
-
-```SQL
-IoTDB> CLEAR ALL CACHE ON LOCAL;
-```
-
## 4. Data Repair
### 4.1 Starting Background Scan and Repair of TsFiles
diff --git
a/src/UserGuide/latest-Table/User-Manual/Maintenance-commands_apache.md
b/src/UserGuide/latest-Table/User-Manual/Maintenance-commands_apache.md
index a91d8285..834b3ed9 100644
--- a/src/UserGuide/latest-Table/User-Manual/Maintenance-commands_apache.md
+++ b/src/UserGuide/latest-Table/User-Manual/Maintenance-commands_apache.md
@@ -573,47 +573,6 @@ localOrClusterMode
IoTDB> FLUSH test_db TRUE ON LOCAL;
```
-### 3.2 Clearing Cache on DataNode
-
-**Description**: Clears a specific type of cache on DataNode.
-
-**Syntax**:
-
-```SQL
-clearCacheStatement
- : CLEAR clearCacheOptions? CACHE localOrClusterMode?
- ;
-
-clearCacheOptions
- : ATTRIBUTE
- | QUERY
- | ALL
- ;
-
-localOrClusterMode
- : (ON (LOCAL | CLUSTER))
- ;
-```
-
-**Parameters**:
-
-1. **clearCacheOptions(Optional)**:
- 1. Specifies the type of cache to clear.
- 2. **ATTRIBUTE**: Clears device attribute cache.
- 3. **QUERY**: Clears query cache in the storage engine.
- 4. **ALL**: Clears all caches, including device attribute cache, query
cache, and schema cache in the tree model.
- 5. **Default**: `QUERY`.
-2. **localOrClusterMode(Optional)**:
- 1. **ON LOCAL**: Clears cache only on the DataNode directly connected to
the client.
- 2. **ON CLUSTER**: Clears cache on all DataNodes in the cluster.
- 3. **Default:** `ON CLUSTER`.
-
-**Example**:
-
-```SQL
-IoTDB> CLEAR ALL CACHE ON LOCAL;
-```
-
## 4. Data Repair
### 4.1 Starting Background Scan and Repair of TsFiles
diff --git
a/src/UserGuide/latest-Table/User-Manual/Maintenance-commands_timecho.md
b/src/UserGuide/latest-Table/User-Manual/Maintenance-commands_timecho.md
index 66a7444c..74fbcd73 100644
--- a/src/UserGuide/latest-Table/User-Manual/Maintenance-commands_timecho.md
+++ b/src/UserGuide/latest-Table/User-Manual/Maintenance-commands_timecho.md
@@ -573,46 +573,6 @@ localOrClusterMode
IoTDB> FLUSH test_db TRUE ON LOCAL;
```
-### 3.2 Clearing Cache on DataNode
-
-**Description**: Clears a specific type of cache on DataNode.
-
-**Syntax**:
-
-```SQL
-clearCacheStatement
- : CLEAR clearCacheOptions? CACHE localOrClusterMode?
- ;
-
-clearCacheOptions
- : ATTRIBUTE
- | QUERY
- | ALL
- ;
-
-localOrClusterMode
- : (ON (LOCAL | CLUSTER))
- ;
-```
-
-**Parameters**:
-
-1. **clearCacheOptions(Optional)**:
- 1. Specifies the type of cache to clear.
- 2. **ATTRIBUTE**: Clears device attribute cache.
- 3. **QUERY**: Clears query cache in the storage engine.
- 4. **ALL**: Clears all caches, including device attribute cache, query
cache, and schema cache in the tree model.
- 5. **Default**: `QUERY`.
-2. **localOrClusterMode(Optional)**:
- 1. **ON LOCAL**: Clears cache only on the DataNode directly connected to
the client.
- 2. **ON CLUSTER**: Clears cache on all DataNodes in the cluster.
- 3. **Default:** `ON CLUSTER`.
-
-**Example**:
-
-```SQL
-IoTDB> CLEAR ALL CACHE ON LOCAL;
-```
## 4. Data Repair
diff --git
a/src/zh/UserGuide/Master/Table/User-Manual/Maintenance-statement_apache.md
b/src/zh/UserGuide/Master/Table/User-Manual/Maintenance-statement_apache.md
index bcb9f733..6dee9a2e 100644
--- a/src/zh/UserGuide/Master/Table/User-Manual/Maintenance-statement_apache.md
+++ b/src/zh/UserGuide/Master/Table/User-Manual/Maintenance-statement_apache.md
@@ -585,50 +585,6 @@ localOrClusterMode
IoTDB> FLUSH test_db TRUE ON LOCAL;
```
-### 3.2 清除 DataNode 上的缓存
-
-**含义**:用于清除 DataNode 上的某种类型的缓存。
-
-#### 语法:
-
-```SQL
-clearCacheStatement
- : CLEAR clearCacheOptions? CACHE localOrClusterMode?
- ;
-
-clearCacheOptions
- : ATTRIBUTE
- | QUERY
- | ALL
- ;
-
-localOrClusterMode
- : (ON (LOCAL | CLUSTER))
- ;
-```
-
-**参数解释**:
-
-1. **clearCacheOptions**
- - **含义**:指定要清除的缓存类型。
- - **可选性**:可选。如果不指定,默认清除查询缓存(`QUERY`)。
- - **取值**:
- - `ATTRIBUTE`:清除设备属性缓存。
- - `QUERY`:清除存储引擎中的查询缓存。
- - `ALL`:清除所有缓存,包括设备属性缓存、查询缓存以及树模型中的模式缓存。
-2. **localOrClusterMode**
- - **含义**:指定清除缓存的范围。
- - **可选性**:可选。默认值为 `CLUSTER`。
- - **取值**:
- - `ON LOCAL`:只清除客户端直连的 DataNode 上的缓存。
- - `ON CLUSTER`:清除集群中所有 DataNode 上的缓存。
-
-#### 示例:
-
-```SQL
-IoTDB> CLEAR ALL CACHE ON LOCAL;
-```
-
## 4. 数据修复
### 4.1 启动后台扫描并修复 tsfile 任务
diff --git
a/src/zh/UserGuide/Master/Table/User-Manual/Maintenance-statement_timecho.md
b/src/zh/UserGuide/Master/Table/User-Manual/Maintenance-statement_timecho.md
index c7d11194..788ed3e7 100644
--- a/src/zh/UserGuide/Master/Table/User-Manual/Maintenance-statement_timecho.md
+++ b/src/zh/UserGuide/Master/Table/User-Manual/Maintenance-statement_timecho.md
@@ -585,49 +585,6 @@ localOrClusterMode
IoTDB> FLUSH test_db TRUE ON LOCAL;
```
-### 3.2 清除 DataNode 上的缓存
-
-**含义**:用于清除 DataNode 上的某种类型的缓存。
-
-#### 语法:
-
-```SQL
-clearCacheStatement
- : CLEAR clearCacheOptions? CACHE localOrClusterMode?
- ;
-
-clearCacheOptions
- : ATTRIBUTE
- | QUERY
- | ALL
- ;
-
-localOrClusterMode
- : (ON (LOCAL | CLUSTER))
- ;
-```
-
-**参数解释**:
-
-1. **clearCacheOptions**
- - **含义**:指定要清除的缓存类型。
- - **可选性**:可选。如果不指定,默认清除查询缓存(`QUERY`)。
- - **取值**:
- - `ATTRIBUTE`:清除设备属性缓存。
- - `QUERY`:清除存储引擎中的查询缓存。
- - `ALL`:清除所有缓存,包括设备属性缓存、查询缓存以及树模型中的模式缓存。
-2. **localOrClusterMode**
- - **含义**:指定清除缓存的范围。
- - **可选性**:可选。默认值为 `CLUSTER`。
- - **取值**:
- - `ON LOCAL`:只清除客户端直连的 DataNode 上的缓存。
- - `ON CLUSTER`:清除集群中所有 DataNode 上的缓存。
-
-#### 示例:
-
-```SQL
-IoTDB> CLEAR ALL CACHE ON LOCAL;
-```
## 4. 数据修复
diff --git
a/src/zh/UserGuide/latest-Table/User-Manual/Maintenance-statement_apache.md
b/src/zh/UserGuide/latest-Table/User-Manual/Maintenance-statement_apache.md
index bcb9f733..6dee9a2e 100644
--- a/src/zh/UserGuide/latest-Table/User-Manual/Maintenance-statement_apache.md
+++ b/src/zh/UserGuide/latest-Table/User-Manual/Maintenance-statement_apache.md
@@ -585,50 +585,6 @@ localOrClusterMode
IoTDB> FLUSH test_db TRUE ON LOCAL;
```
-### 3.2 清除 DataNode 上的缓存
-
-**含义**:用于清除 DataNode 上的某种类型的缓存。
-
-#### 语法:
-
-```SQL
-clearCacheStatement
- : CLEAR clearCacheOptions? CACHE localOrClusterMode?
- ;
-
-clearCacheOptions
- : ATTRIBUTE
- | QUERY
- | ALL
- ;
-
-localOrClusterMode
- : (ON (LOCAL | CLUSTER))
- ;
-```
-
-**参数解释**:
-
-1. **clearCacheOptions**
- - **含义**:指定要清除的缓存类型。
- - **可选性**:可选。如果不指定,默认清除查询缓存(`QUERY`)。
- - **取值**:
- - `ATTRIBUTE`:清除设备属性缓存。
- - `QUERY`:清除存储引擎中的查询缓存。
- - `ALL`:清除所有缓存,包括设备属性缓存、查询缓存以及树模型中的模式缓存。
-2. **localOrClusterMode**
- - **含义**:指定清除缓存的范围。
- - **可选性**:可选。默认值为 `CLUSTER`。
- - **取值**:
- - `ON LOCAL`:只清除客户端直连的 DataNode 上的缓存。
- - `ON CLUSTER`:清除集群中所有 DataNode 上的缓存。
-
-#### 示例:
-
-```SQL
-IoTDB> CLEAR ALL CACHE ON LOCAL;
-```
-
## 4. 数据修复
### 4.1 启动后台扫描并修复 tsfile 任务
diff --git
a/src/zh/UserGuide/latest-Table/User-Manual/Maintenance-statement_timecho.md
b/src/zh/UserGuide/latest-Table/User-Manual/Maintenance-statement_timecho.md
index c7d11194..81c6e2e7 100644
--- a/src/zh/UserGuide/latest-Table/User-Manual/Maintenance-statement_timecho.md
+++ b/src/zh/UserGuide/latest-Table/User-Manual/Maintenance-statement_timecho.md
@@ -585,50 +585,6 @@ localOrClusterMode
IoTDB> FLUSH test_db TRUE ON LOCAL;
```
-### 3.2 清除 DataNode 上的缓存
-
-**含义**:用于清除 DataNode 上的某种类型的缓存。
-
-#### 语法:
-
-```SQL
-clearCacheStatement
- : CLEAR clearCacheOptions? CACHE localOrClusterMode?
- ;
-
-clearCacheOptions
- : ATTRIBUTE
- | QUERY
- | ALL
- ;
-
-localOrClusterMode
- : (ON (LOCAL | CLUSTER))
- ;
-```
-
-**参数解释**:
-
-1. **clearCacheOptions**
- - **含义**:指定要清除的缓存类型。
- - **可选性**:可选。如果不指定,默认清除查询缓存(`QUERY`)。
- - **取值**:
- - `ATTRIBUTE`:清除设备属性缓存。
- - `QUERY`:清除存储引擎中的查询缓存。
- - `ALL`:清除所有缓存,包括设备属性缓存、查询缓存以及树模型中的模式缓存。
-2. **localOrClusterMode**
- - **含义**:指定清除缓存的范围。
- - **可选性**:可选。默认值为 `CLUSTER`。
- - **取值**:
- - `ON LOCAL`:只清除客户端直连的 DataNode 上的缓存。
- - `ON CLUSTER`:清除集群中所有 DataNode 上的缓存。
-
-#### 示例:
-
-```SQL
-IoTDB> CLEAR ALL CACHE ON LOCAL;
-```
-
## 4. 数据修复
### 4.1 启动后台扫描并修复 tsfile 任务