Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/.vuepress/sidebar/V1.3.x/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export const enSidebar = {
children: [
{ text: 'Query Performance Analysis', link: 'Query-Performance-Analysis' },
{ text: 'Load Balance', link: 'Load-Balance' },
{ text: 'Data Recovery', link: 'Data-Recovery' },
{ text: 'Maintenance statement', link: 'Maintenance-commands' },
],
},
],
Expand Down
2 changes: 1 addition & 1 deletion src/.vuepress/sidebar/V1.3.x/zh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export const zhSidebar = {
children: [
{ text: '查询性能分析', link: 'Query-Performance-Analysis' },
{ text: '负载均衡', link: 'Load-Balance' },
{ text: '数据修复', link: 'Data-Recovery' },
{ text: '运维语句', link: 'Maintenance-statement' },
],
},
],
Expand Down
2 changes: 1 addition & 1 deletion src/.vuepress/sidebar/V2.0.x/en-Tree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export const enSidebar = {
children: [
{ text: 'Query Performance Analysis', link: 'Query-Performance-Analysis' },
{ text: 'Load Balance', link: 'Load-Balance' },
{ text: 'Data Recovery', link: 'Data-Recovery' },
{ text: 'Maintenance statement', link: 'Maintenance-commands' },
],
},
],
Expand Down
2 changes: 1 addition & 1 deletion src/.vuepress/sidebar/V2.0.x/zh-Tree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export const zhSidebar = {
children: [
{ text: '查询性能分析', link: 'Query-Performance-Analysis' },
{ text: '负载均衡', link: 'Load-Balance' },
{ text: '数据修复', link: 'Data-Recovery' },
{ text: '运维语句', link: 'Maintenance-statement' },
],
},
],
Expand Down
2 changes: 1 addition & 1 deletion src/.vuepress/sidebar_timecho/V1.3.x/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export const enSidebar = {
children: [
{ text: 'Query Performance Analysis', link: 'Query-Performance-Analysis' },
{ text: 'Load Balance', link: 'Load-Balance' },
{ text: 'Data Recovery', link: 'Data-Recovery' },
{ text: 'Maintenance statement', link: 'Maintenance-commands' },
],
},
],
Expand Down
2 changes: 1 addition & 1 deletion src/.vuepress/sidebar_timecho/V1.3.x/zh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export const zhSidebar = {
children: [
{ text: '查询性能分析', link: 'Query-Performance-Analysis' },
{ text: '负载均衡', link: 'Load-Balance' },
{ text: '数据修复', link: 'Data-Recovery' },
{ text: '运维语句', link: 'Maintenance-statement' },
],
},
],
Expand Down
2 changes: 1 addition & 1 deletion src/.vuepress/sidebar_timecho/V2.0.x/en-Tree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export const enSidebar = {
children: [
{ text: 'Query Performance Analysis', link: 'Query-Performance-Analysis' },
{ text: 'Load Balance', link: 'Load-Balance' },
{ text: 'Data Recovery', link: 'Data-Recovery' },
{ text: 'Maintenance statement', link: 'Maintenance-commands' },
],
},
],
Expand Down
2 changes: 1 addition & 1 deletion src/.vuepress/sidebar_timecho/V2.0.x/zh-Tree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export const zhSidebar = {
children: [
{ text: '查询性能分析', link: 'Query-Performance-Analysis' },
{ text: '负载均衡', link: 'Load-Balance' },
{ text: '数据修复', link: 'Data-Recovery' },
{ text: '运维语句', link: 'Maintenance-statement' },
],
},
],
Expand Down
34 changes: 17 additions & 17 deletions src/UserGuide/Master/Table/User-Manual/Maintenance-commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

## 1. Status Checking

#### 1.1 Viewing the Connected Model
### 1.1 Viewing the Connected Model

**Description**: Returns the current SQL dialect model (`Tree` or `Table`).

Expand Down Expand Up @@ -50,7 +50,7 @@ IoTDB> SHOW CURRENT_SQL_DIALECT;
+-----------------+
```

#### 1.2 Viewing the Logged-in Username
### 1.2 Viewing the Logged-in Username

**Description**: Returns the currently logged-in username.

Expand Down Expand Up @@ -78,7 +78,7 @@ IoTDB> SHOW CURRENT_USER;
+-----------+
```

#### 1.3 Viewing the Connected Database Name
### 1.3 Viewing the Connected Database Name

**Description**: Returns the name of the currently connected database. If no `USE` statement has been executed, it returns `null`.

Expand Down Expand Up @@ -113,7 +113,7 @@ IoTDB> SHOW CURRENT_DATABASE;
+---------------+
```

#### 1.4 Viewing the Cluster Version
### 1.4 Viewing the Cluster Version

**Description**: Returns the current cluster version.

Expand Down Expand Up @@ -141,7 +141,7 @@ IoTDB> SHOW VERSION;
+-------+---------+
```

#### 1.5 Viewing Cluster Key Parameters
### 1.5 Viewing Cluster Key Parameters

**Description**: Returns key parameters of the current cluster.

Expand Down Expand Up @@ -201,7 +201,7 @@ IoTDB> SHOW VARIABLES;
+----------------------------------+-----------------------------------------------------------------+
```

#### 1.6 Viewing the Cluster ID
### 1.6 Viewing the Cluster ID

**Description**: Returns the ID of the current cluster.

Expand Down Expand Up @@ -229,7 +229,7 @@ IoTDB> SHOW CLUSTER_ID;
+------------------------------------+
```

#### 1.7 Viewing the Timestamp of the Connected DataNode
### 1.7 Viewing the Timestamp of the Connected DataNode

**Description**: Returns the current timestamp of the DataNode process directly connected to the client.

Expand Down Expand Up @@ -257,7 +257,7 @@ IoTDB> SHOW CURRENT_TIMESTAMP;
+-----------------------------+
```

#### 1.8 Viewing Executing Queries
### 1.8 Viewing Executing Queries

**Description**: Displays information about all currently executing queries.

Expand Down Expand Up @@ -308,7 +308,7 @@ IoTDB> SHOW QUERIES WHERE elapsed_time > 30;

## 2. Status Setting

#### 2.1 Setting the Connected Model
### 2.1 Setting the Connected Model

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

Expand All @@ -335,7 +335,7 @@ IoTDB> SHOW CURRENT_SQL_DIALECT;
+-----------------+
```

#### 2.2 Updating Configuration Items
### 2.2 Updating Configuration Items

**Description**: Updates configuration items. Changes take effect immediately without restarting if the items support hot modification.

Expand Down Expand Up @@ -376,7 +376,7 @@ propertyValue
IoTDB> SET CONFIGURATION "a"='1',b='1' ON 1;
```

#### 2.3 Loading Manually Modified Configuration Files
### 2.3 Loading Manually Modified Configuration Files

**Description**: Loads manually modified configuration files and hot-loads the changes. Configuration items that support hot modification take effect immediately.

Expand Down Expand Up @@ -407,7 +407,7 @@ localOrClusterMode
IoTDB> LOAD CONFIGURATION ON LOCAL;
```

#### 2.4 Setting the System Status
### 2.4 Setting the System Status

**Description**: Sets the system status to either `READONLY` or `RUNNING`.

Expand Down Expand Up @@ -441,7 +441,7 @@ IoTDB> SET SYSTEM TO READONLY ON CLUSTER;

## 3. Data Management

#### 3.1 Flushing Data from Memory to Disk
### 3.1 Flushing Data from Memory to Disk

**Description**: Flushes data from the memory table to disk.

Expand Down Expand Up @@ -483,7 +483,7 @@ localOrClusterMode
IoTDB> FLUSH test_db TRUE ON LOCAL;
```

#### 3.2 Clearing Cache on DataNode
### 3.2 Clearing Cache on DataNode

**Description**: Clears a specific type of cache on DataNode.

Expand Down Expand Up @@ -526,7 +526,7 @@ IoTDB> CLEAR ALL CACHE ON LOCAL;

## 4. Data Repair

#### 4.1 Starting Background Scan and Repair of TsFiles
### 4.1 Starting Background Scan and Repair of TsFiles

**Description**: Starts a background task to scan and repair TsFiles, fixing issues such as timestamp disorder within data files.

Expand Down Expand Up @@ -555,7 +555,7 @@ localOrClusterMode
IoTDB> START REPAIR DATA ON CLUSTER;
```

#### 4.2 Pausing Background TsFile Repair Task
### 4.2 Pausing Background TsFile Repair Task

**Description**: Pauses the background repair task. The paused task can be resumed by executing the `START REPAIR DATA` command again.

Expand Down Expand Up @@ -586,7 +586,7 @@ IoTDB> STOP REPAIR DATA ON CLUSTER;

## 5. Query Termination

#### 5.1 Terminating Queries
### 5.1 Terminating Queries

**Description**: Terminates one or more running queries.

Expand Down
Loading