Skip to content

Commit 0cb207c

Browse files
committed
add maintenance commands in tree model and delete data recovery
1 parent 6e5b3cd commit 0cb207c

18 files changed

Lines changed: 3751 additions & 42 deletions

File tree

src/.vuepress/sidebar/V1.3.x/en.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ export const enSidebar = {
129129
children: [
130130
{ text: 'Query Performance Analysis', link: 'Query-Performance-Analysis' },
131131
{ text: 'Load Balance', link: 'Load-Balance' },
132-
{ text: 'Data Recovery', link: 'Data-Recovery' },
132+
{ text: 'Maintenance statement', link: 'Maintenance-commands' },
133133
],
134134
},
135135
],

src/.vuepress/sidebar/V1.3.x/zh.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ export const zhSidebar = {
118118
children: [
119119
{ text: '查询性能分析', link: 'Query-Performance-Analysis' },
120120
{ text: '负载均衡', link: 'Load-Balance' },
121-
{ text: '数据修复', link: 'Data-Recovery' },
121+
{ text: '运维语句', link: 'Maintenance-statement' },
122122
],
123123
},
124124
],

src/.vuepress/sidebar/V2.0.x/en-Tree.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ export const enSidebar = {
120120
children: [
121121
{ text: 'Query Performance Analysis', link: 'Query-Performance-Analysis' },
122122
{ text: 'Load Balance', link: 'Load-Balance' },
123-
{ text: 'Data Recovery', link: 'Data-Recovery' },
123+
{ text: 'Maintenance statement', link: 'Maintenance-commands' },
124124
],
125125
},
126126
],

src/.vuepress/sidebar/V2.0.x/zh-Tree.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ export const zhSidebar = {
109109
children: [
110110
{ text: '查询性能分析', link: 'Query-Performance-Analysis' },
111111
{ text: '负载均衡', link: 'Load-Balance' },
112-
{ text: '数据修复', link: 'Data-Recovery' },
112+
{ text: '运维语句', link: 'Maintenance-statement' },
113113
],
114114
},
115115
],

src/.vuepress/sidebar_timecho/V1.3.x/en.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ export const enSidebar = {
144144
children: [
145145
{ text: 'Query Performance Analysis', link: 'Query-Performance-Analysis' },
146146
{ text: 'Load Balance', link: 'Load-Balance' },
147-
{ text: 'Data Recovery', link: 'Data-Recovery' },
147+
{ text: 'Maintenance statement', link: 'Maintenance-commands' },
148148
],
149149
},
150150
],

src/.vuepress/sidebar_timecho/V1.3.x/zh.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ export const zhSidebar = {
127127
children: [
128128
{ text: '查询性能分析', link: 'Query-Performance-Analysis' },
129129
{ text: '负载均衡', link: 'Load-Balance' },
130-
{ text: '数据修复', link: 'Data-Recovery' },
130+
{ text: '运维语句', link: 'Maintenance-statement' },
131131
],
132132
},
133133
],

src/.vuepress/sidebar_timecho/V2.0.x/en-Tree.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ export const enSidebar = {
135135
children: [
136136
{ text: 'Query Performance Analysis', link: 'Query-Performance-Analysis' },
137137
{ text: 'Load Balance', link: 'Load-Balance' },
138-
{ text: 'Data Recovery', link: 'Data-Recovery' },
138+
{ text: 'Maintenance statement', link: 'Maintenance-commands' },
139139
],
140140
},
141141
],

src/.vuepress/sidebar_timecho/V2.0.x/zh-Tree.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ export const zhSidebar = {
118118
children: [
119119
{ text: '查询性能分析', link: 'Query-Performance-Analysis' },
120120
{ text: '负载均衡', link: 'Load-Balance' },
121-
{ text: '数据修复', link: 'Data-Recovery' },
121+
{ text: '运维语句', link: 'Maintenance-statement' },
122122
],
123123
},
124124
],

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

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
## 1. Status Checking
2424

25-
#### 1.1 Viewing the Connected Model
25+
### 1.1 Viewing the Connected Model
2626

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

@@ -50,7 +50,7 @@ IoTDB> SHOW CURRENT_SQL_DIALECT;
5050
+-----------------+
5151
```
5252

53-
#### 1.2 Viewing the Logged-in Username
53+
### 1.2 Viewing the Logged-in Username
5454

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

@@ -78,7 +78,7 @@ IoTDB> SHOW CURRENT_USER;
7878
+-----------+
7979
```
8080

81-
#### 1.3 Viewing the Connected Database Name
81+
### 1.3 Viewing the Connected Database Name
8282

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

@@ -113,7 +113,7 @@ IoTDB> SHOW CURRENT_DATABASE;
113113
+---------------+
114114
```
115115

116-
#### 1.4 Viewing the Cluster Version
116+
### 1.4 Viewing the Cluster Version
117117

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

@@ -141,7 +141,7 @@ IoTDB> SHOW VERSION;
141141
+-------+---------+
142142
```
143143

144-
#### 1.5 Viewing Cluster Key Parameters
144+
### 1.5 Viewing Cluster Key Parameters
145145

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

@@ -201,7 +201,7 @@ IoTDB> SHOW VARIABLES;
201201
+----------------------------------+-----------------------------------------------------------------+
202202
```
203203

204-
#### 1.6 Viewing the Cluster ID
204+
### 1.6 Viewing the Cluster ID
205205

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

@@ -229,7 +229,7 @@ IoTDB> SHOW CLUSTER_ID;
229229
+------------------------------------+
230230
```
231231

232-
#### 1.7 Viewing the Timestamp of the Connected DataNode
232+
### 1.7 Viewing the Timestamp of the Connected DataNode
233233

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

@@ -257,7 +257,7 @@ IoTDB> SHOW CURRENT_TIMESTAMP;
257257
+-----------------------------+
258258
```
259259

260-
#### 1.8 Viewing Executing Queries
260+
### 1.8 Viewing Executing Queries
261261

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

@@ -308,7 +308,7 @@ IoTDB> SHOW QUERIES WHERE elapsed_time > 30;
308308

309309
## 2. Status Setting
310310

311-
#### 2.1 Setting the Connected Model
311+
### 2.1 Setting the Connected Model
312312

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

@@ -335,7 +335,7 @@ IoTDB> SHOW CURRENT_SQL_DIALECT;
335335
+-----------------+
336336
```
337337

338-
#### 2.2 Updating Configuration Items
338+
### 2.2 Updating Configuration Items
339339

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

@@ -376,7 +376,7 @@ propertyValue
376376
IoTDB> SET CONFIGURATION "a"='1',b='1' ON 1;
377377
```
378378

379-
#### 2.3 Loading Manually Modified Configuration Files
379+
### 2.3 Loading Manually Modified Configuration Files
380380

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

@@ -407,7 +407,7 @@ localOrClusterMode
407407
IoTDB> LOAD CONFIGURATION ON LOCAL;
408408
```
409409

410-
#### 2.4 Setting the System Status
410+
### 2.4 Setting the System Status
411411

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

@@ -441,7 +441,7 @@ IoTDB> SET SYSTEM TO READONLY ON CLUSTER;
441441

442442
## 3. Data Management
443443

444-
#### 3.1 Flushing Data from Memory to Disk
444+
### 3.1 Flushing Data from Memory to Disk
445445

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

@@ -483,7 +483,7 @@ localOrClusterMode
483483
IoTDB> FLUSH test_db TRUE ON LOCAL;
484484
```
485485

486-
#### 3.2 Clearing Cache on DataNode
486+
### 3.2 Clearing Cache on DataNode
487487

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

@@ -526,7 +526,7 @@ IoTDB> CLEAR ALL CACHE ON LOCAL;
526526

527527
## 4. Data Repair
528528

529-
#### 4.1 Starting Background Scan and Repair of TsFiles
529+
### 4.1 Starting Background Scan and Repair of TsFiles
530530

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

@@ -555,7 +555,7 @@ localOrClusterMode
555555
IoTDB> START REPAIR DATA ON CLUSTER;
556556
```
557557

558-
#### 4.2 Pausing Background TsFile Repair Task
558+
### 4.2 Pausing Background TsFile Repair Task
559559

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

@@ -586,7 +586,7 @@ IoTDB> STOP REPAIR DATA ON CLUSTER;
586586

587587
## 5. Query Termination
588588

589-
#### 5.1 Terminating Queries
589+
### 5.1 Terminating Queries
590590

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

0 commit comments

Comments
 (0)