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 a91d8285c..834b3ed94 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 66a7444c4..f608cdb14 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 a91d8285c..834b3ed94 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 66a7444c4..74fbcd73a 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 bcb9f7336..6dee9a2ec 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 c7d111946..788ed3e7c 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 bcb9f7336..6dee9a2ec 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 c7d111946..81c6e2e7c 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 任务