This is an automated email from the ASF dual-hosted git repository.
critas 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 1d46655c add new version commands of sbin and tools (#760)
1d46655c is described below
commit 1d46655c0ba0e943840960a8e1254df067fea04f
Author: leto-b <[email protected]>
AuthorDate: Wed Jun 4 09:42:06 2025 +0800
add new version commands of sbin and tools (#760)
---
.../Cluster-Deployment_apache.md | 36 +++++++++++----
.../Cluster-Deployment_timecho.md | 40 ++++++++++++-----
src/UserGuide/Master/Table/Tools-System/CLI.md | 6 +++
.../Master/Table/Tools-System/Data-Export-Tool.md | 20 +++++++++
.../Master/Table/Tools-System/Data-Import-Tool.md | 52 +++++++++++++++-------
.../Table/Tools-System/Schema-Export-Tool.md | 7 +++
.../Table/Tools-System/Schema-Import-Tool.md | 6 +++
.../Cluster-Deployment_apache.md | 23 ++++++++--
.../Cluster-Deployment_timecho.md | 37 ++++++++++-----
.../Reference/DataNode-Config-Manual_apache.md | 6 ++-
.../Reference/DataNode-Config-Manual_timecho.md | 6 ++-
src/UserGuide/Master/Tree/Tools-System/CLI.md | 14 +++++-
.../Master/Tree/Tools-System/Data-Export-Tool.md | 17 +++++++
.../Master/Tree/Tools-System/Data-Import-Tool.md | 43 +++++++++++++-----
.../Master/Tree/Tools-System/Schema-Export-Tool.md | 7 +++
.../Master/Tree/Tools-System/Schema-Import-Tool.md | 6 +++
.../Cluster-Deployment_apache.md | 36 +++++++++++----
.../Cluster-Deployment_timecho.md | 40 ++++++++++++-----
src/UserGuide/latest-Table/Tools-System/CLI.md | 6 +++
.../latest-Table/Tools-System/Data-Export-Tool.md | 20 +++++++++
.../latest-Table/Tools-System/Data-Import-Tool.md | 22 +++++++++
.../Tools-System/Schema-Export-Tool.md | 7 +++
.../Tools-System/Schema-Import-Tool.md | 6 +++
.../Cluster-Deployment_apache.md | 23 ++++++++--
.../Cluster-Deployment_timecho.md | 36 +++++++++++----
.../Reference/DataNode-Config-Manual_apache.md | 6 ++-
.../Reference/DataNode-Config-Manual_timecho.md | 6 ++-
src/UserGuide/latest/Tools-System/CLI.md | 14 +++++-
.../latest/Tools-System/Data-Export-Tool.md | 17 +++++++
.../latest/Tools-System/Data-Import-Tool.md | 19 ++++++++
.../latest/Tools-System/Schema-Export-Tool.md | 7 +++
.../latest/Tools-System/Schema-Import-Tool.md | 6 +++
.../Cluster-Deployment_apache.md | 12 ++++-
.../Cluster-Deployment_timecho.md | 12 ++++-
src/zh/UserGuide/Master/Table/Tools-System/CLI.md | 6 +++
.../Master/Table/Tools-System/Data-Export-Tool.md | 20 +++++++++
.../Master/Table/Tools-System/Data-Import-Tool.md | 22 +++++++++
.../Table/Tools-System/Schema-Export-Tool.md | 7 +++
.../Table/Tools-System/Schema-Import-Tool.md | 6 +++
.../Cluster-Deployment_apache.md | 12 ++++-
.../Cluster-Deployment_timecho.md | 12 ++++-
.../Reference/DataNode-Config-Manual_apache.md | 4 ++
.../Reference/DataNode-Config-Manual_timecho.md | 4 ++
src/zh/UserGuide/Master/Tree/Tools-System/CLI.md | 14 +++++-
.../Master/Tree/Tools-System/Data-Export-Tool.md | 17 +++++++
.../Master/Tree/Tools-System/Data-Import-Tool.md | 19 ++++++++
.../Master/Tree/Tools-System/Schema-Export-Tool.md | 7 +++
.../Master/Tree/Tools-System/Schema-Import-Tool.md | 6 +++
.../Cluster-Deployment_apache.md | 12 ++++-
.../Cluster-Deployment_timecho.md | 12 ++++-
src/zh/UserGuide/latest-Table/Tools-System/CLI.md | 6 +++
.../latest-Table/Tools-System/Data-Export-Tool.md | 20 +++++++++
.../latest-Table/Tools-System/Data-Import-Tool.md | 22 +++++++++
.../Tools-System/Schema-Export-Tool.md | 7 +++
.../Tools-System/Schema-Import-Tool.md | 6 +++
.../Cluster-Deployment_apache.md | 12 ++++-
.../Cluster-Deployment_timecho.md | 12 ++++-
.../Reference/DataNode-Config-Manual_apache.md | 4 ++
.../Reference/DataNode-Config-Manual_timecho.md | 4 ++
src/zh/UserGuide/latest/Tools-System/CLI.md | 14 +++++-
.../latest/Tools-System/Data-Export-Tool.md | 17 +++++++
.../latest/Tools-System/Data-Import-Tool.md | 19 ++++++++
.../latest/Tools-System/Schema-Export-Tool.md | 7 +++
.../latest/Tools-System/Schema-Import-Tool.md | 6 +++
64 files changed, 839 insertions(+), 118 deletions(-)
diff --git
a/src/UserGuide/Master/Table/Deployment-and-Maintenance/Cluster-Deployment_apache.md
b/src/UserGuide/Master/Table/Deployment-and-Maintenance/Cluster-Deployment_apache.md
index a097f141..52cd1324 100644
---
a/src/UserGuide/Master/Table/Deployment-and-Maintenance/Cluster-Deployment_apache.md
+++
b/src/UserGuide/Master/Table/Deployment-and-Maintenance/Cluster-Deployment_apache.md
@@ -255,14 +255,18 @@ ConfigNode maintenance includes adding and removing
ConfigNodes. Common use case
**Linux / MacOS :**
-```Plain
+```Bash
sbin/start-confignode.sh
```
**Windows:**
-```Plain
-sbin/start-confignode.bat
+```Bash
+# Before version V2.0.4.x
+sbin\start-confignode.bat
+
+# V2.0.4.x and later versions
+sbin\windows\start-confignode.bat
```
#### 4.1.2 Removing a ConfigNode
@@ -301,9 +305,15 @@ sbin/remove-confignode.sh
[cn_internal_address:cn_internal_port]
**Windows:**
```Bash
-sbin/remove-confignode.bat [confignode_id]
+# Before version V2.0.4.x
+sbin\remove-confignode.bat [confignode_id]
+# Or:
+sbin\remove-confignode.bat [cn_internal_address:cn_internal_port]
+
+# V2.0.4.x and later versions
+sbin\windows\remove-confignode.bat [confignode_id]
# Or:
-sbin/remove-confignode.bat [cn_internal_address:cn_internal_port]
+sbin\windows\remove-confignode.bat [cn_internal_address:cn_internal_port]
```
### 4.2 DataNode Maintenance
@@ -319,14 +329,18 @@ DataNode maintenance includes adding and removing
DataNodes. Common use cases in
**Linux / MacOS:**
-```Plain
+```Bash
sbin/start-datanode.sh
```
**Windows:**
-```Plain
-sbin/start-datanode.bat
+```Bash
+# Before version V2.0.4.x
+sbin\start-datanode.bat
+
+# V2.0.4.x and later versions
+sbin\windows\start-datanode.bat
```
**Note:** After adding a DataNode, the cluster load will gradually balance
across all nodes as new writes arrive and old data expires (if TTL is set).
@@ -365,7 +379,11 @@ sbin/remove-datanode.sh [dn_rpc_address:dn_rpc_port]
**Windows:**
```Bash
-sbin/remove-datanode.bat [dn_rpc_address:dn_rpc_port]
+# Before version V2.0.4.x
+sbin\remove-datanode.bat [dn_rpc_address:dn_rpc_port]
+
+# V2.0.4.x and later versions
+sbin\windows\remove-datanode.bat [dn_rpc_address:dn_rpc_port]
```
## 5. Common Issues
diff --git
a/src/UserGuide/Master/Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md
b/src/UserGuide/Master/Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md
index 33311caf..2b1f36eb 100644
---
a/src/UserGuide/Master/Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md
+++
b/src/UserGuide/Master/Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md
@@ -303,14 +303,18 @@ ConfigNode maintenance includes adding and removing
ConfigNodes. Common use case
**Linux / MacOS :**
-```Plain
+```Bash
sbin/start-confignode.sh
```
**Windows:**
-```Plain
-sbin/start-confignode.bat
+```Bash
+# Before version V2.0.4.x
+sbin\start-confignode.bat
+
+# V2.0.4.x and later versions
+sbin\windows\start-confignode.bat
```
#### 4.1.2 Removing a ConfigNode
@@ -349,9 +353,15 @@ sbin/remove-confignode.sh
[cn_internal_address:cn_internal_port]
**Windows:**
```Bash
-sbin/remove-confignode.bat [confignode_id]
+# Before version V2.0.4.x
+sbin\remove-confignode.bat [confignode_id]
+# Or:
+sbin\remove-confignode.bat [cn_internal_address:cn_internal_port]
+
+# V2.0.4.x and later versions
+sbin\windows\remove-confignode.bat [confignode_id]
# Or:
-sbin/remove-confignode.bat [cn_internal_address:cn_internal_port]
+sbin\windows\remove-confignode.bat [cn_internal_address:cn_internal_port]
```
### 4.2 DataNode Maintenance
@@ -367,14 +377,18 @@ DataNode maintenance includes adding and removing
DataNodes. Common use cases in
**Linux / MacOS:**
-```Plain
+```Bash
sbin/start-datanode.sh
```
**Windows:**
-```Plain
-sbin/start-datanode.bat
+```Bash
+# Before version V2.0.4.x
+sbin\start-datanode.bat
+
+# V2.0.4.x and later versions
+sbin\windows\start-datanode.bat
```
**Note:** After adding a DataNode, the cluster load will gradually balance
across all nodes as new writes arrive and old data expires (if TTL is set).
@@ -383,13 +397,13 @@ sbin/start-datanode.bat
1. Connect to the cluster using the CLI and confirm the RPC address and port
of the DataNode to be removed:
-```Plain
+```sql
show datanodes;
```
Example output:
-```Plain
+```sql
IoTDB> show datanodes
+------+-------+----------+-------+-------------+---------------+
|NodeID| Status|RpcAddress|RpcPort|DataRegionNum|SchemaRegionNum|
@@ -413,7 +427,11 @@ sbin/remove-datanode.sh [dn_rpc_address:dn_rpc_port]
**Windows:**
```Bash
-sbin/remove-datanode.bat [dn_rpc_address:dn_rpc_port]
+# Before version V2.0.4.x
+sbin\remove-datanode.bat [dn_rpc_address:dn_rpc_port]
+
+# V2.0.4.x and later versions
+sbin\windows\remove-datanode.bat [dn_rpc_address:dn_rpc_port]
```
## 5. Common Issues
diff --git a/src/UserGuide/Master/Table/Tools-System/CLI.md
b/src/UserGuide/Master/Table/Tools-System/CLI.md
index 89c3e054..c8ae8cb2 100644
--- a/src/UserGuide/Master/Table/Tools-System/CLI.md
+++ b/src/UserGuide/Master/Table/Tools-System/CLI.md
@@ -39,9 +39,15 @@ Shell> bash sbin/start-cli.sh -h 127.0.0.1 -p 6667 -u root
-pw root -sql_dialect
#### **Windows**
```Bash
+# Before version V2.0.4.x
Shell> sbin\start-cli.bat -sql_dialect table
#or
Shell> sbin\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw root -sql_dialect
table
+
+# V2.0.4.x and later versions
+Shell> sbin\windows\start-cli.bat -sql_dialect table
+#or
+Shell> sbin\windows\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw root
-sql_dialect table
```
**Parameter Explanation**
diff --git a/src/UserGuide/Master/Table/Tools-System/Data-Export-Tool.md
b/src/UserGuide/Master/Table/Tools-System/Data-Export-Tool.md
index 1c564820..921cc378 100644
--- a/src/UserGuide/Master/Table/Tools-System/Data-Export-Tool.md
+++ b/src/UserGuide/Master/Table/Tools-System/Data-Export-Tool.md
@@ -56,10 +56,17 @@ The data export tool `export-data.sh/bat` is located in the
`tools` directory an
-t <target_directory> [-pfn <prefix_file_name>] [-dt
<datatype>] [-lpf <lines_per_file>] [-tf <time_format>]
[-tz <timezone>] [-q <query_command>] [-timeout <query_timeout>]
# Windows
+# Before version V2.0.4.x
> tools\export-data.bat -ft<format> [-sql_dialect<sql_dialect>] -db<database>
> -table<table>
[-start_time<start_time>] [-end_time<end_time>] [-h <host>]
[-p <port>] [-u <username>] [-pw <password>]
-t <target_directory> [-pfn <prefix_file_name>] [-dt
<datatype>] [-lpf <lines_per_file>] [-tf <time_format>]
[-tz <timezone>] [-q <query_command>] [-timeout <query_timeout>]
+
+# V2.0.4.x and later versions
+> tools\windows\export-data.bat -ft<format> [-sql_dialect<sql_dialect>]
-db<database> -table<table>
+ [-start_time<start_time>] [-end_time<end_time>] [-h <host>]
[-p <port>] [-u <username>] [-pw <password>]
+ -t <target_directory> [-pfn <prefix_file_name>] [-dt
<datatype>] [-lpf <lines_per_file>] [-tf <time_format>]
+ [-tz <timezone>] [-q <query_command>] [-timeout <query_timeout>]
```
#### 2.2.2 CSV-Specific Parameters
@@ -90,10 +97,17 @@ Parse error: Missing required option: db
-lpf <lines_per_file> - [-tf <time_format>] [-tz <timezone>] [-q
<query_command>] [-timeout <query_timeout>]
# Windows
+# Before version V2.0.4.x
> tools\export-data.bat -ft<format> [-sql_dialect<sql_dialect>] -db<database>
> -table<table>
[-start_time<start_time>] [-end_time<end_time>] [-h <host> -p
<port> -u <username> -pw <password>]
-t <target_directory> [-pfn <prefix_file_name> -aligned <export
aligned insert sql>
-lpf <lines_per_file> -tf <time_format> -tz <timezone> -q
<query_command> -timeout <query_timeout>]
+
+# V2.0.4.x and later versions
+> tools\windows\export-data.bat -ft<format> [-sql_dialect<sql_dialect>]
-db<database> -table<table>
+ [-start_time<start_time>] [-end_time<end_time>] [-h <host> -p
<port> -u <username> -pw <password>]
+ -t <target_directory> [-pfn <prefix_file_name> -aligned <export
aligned insert sql>
+ -lpf <lines_per_file> -tf <time_format> -tz <timezone> -q
<query_command> -timeout <query_timeout>]
```
#### 2.3.2 SQL-Specific Parameters
@@ -125,9 +139,15 @@ Parse error: Missing required option: db
-t <target_directory> [-pfn <prefix_file_name>] [-q <query_command>]
[-timeout <query_timeout>]
# Windows
+# Before version V2.0.4.x
> tools\export-data.bat -ft<format> [-sql_dialect<sql_dialect>] -db<database>
> -table<table>
[-start_time<start_time>] [-end_time<end_time>] [-h <host>]
[-p <port>] [-u <username>] [-pw <password>]
-t <target_directory> [-pfn <prefix_file_name>] [-q <query_command>]
[-timeout <query_timeout>]
+
+# V2.0.4.x and later versions
+> tools\windows\export-data.bat -ft<format> [-sql_dialect<sql_dialect>]
-db<database> -table<table>
+ [-start_time<start_time>] [-end_time<end_time>] [-h <host>]
[-p <port>] [-u <username>] [-pw <password>]
+ -t <target_directory> [-pfn <prefix_file_name>] [-q <query_command>]
[-timeout <query_timeout>]
```
#### 2.4.2 TsFile-Specific Parameters
diff --git a/src/UserGuide/Master/Table/Tools-System/Data-Import-Tool.md
b/src/UserGuide/Master/Table/Tools-System/Data-Import-Tool.md
index f8084f79..c7d63735 100644
--- a/src/UserGuide/Master/Table/Tools-System/Data-Import-Tool.md
+++ b/src/UserGuide/Master/Table/Tools-System/Data-Import-Tool.md
@@ -5,7 +5,7 @@
IoTDB supports three methods for data import:
- Data Import Tool: Use the `import-data.sh/bat` script in the `tools`
directory to manually import CSV, SQL, or TsFile (open-source time-series file
format) data into IoTDB.
- `TsFile` Auto-Loading Feature
-- Load `TsFile` SQL
+- Load `TsFile` SQL
<table style="text-align: left;">
<tbody>
@@ -57,9 +57,9 @@ IoTDB supports three methods for data import:
| `-tz` | `--timezone` | Timezone (e.g., `+08:00`, `-01:00`).
| No |
System default |
| `-help` | `--help` | Display help (general or format-specific: `-help
csv`).
| No |
- |
-### 2.2 CSV Format
+### 2.2 CSV Format
-#### 2.2.1 Command
+#### 2.2.1 Command
```Shell
# Unix/OS X
> tools/import-data.sh -ft<format> [-sql_dialect<sql_dialect>] -db<database>
> -table<table>
@@ -69,14 +69,22 @@ IoTDB supports three methods for data import:
[-tn <thread_num>]
# Windows
+# Before version V2.0.4.x
> tools\import-data.bat -ft<format> [-sql_dialect<sql_dialect>] -db<database>
> -table<table>
[-h <host>] [-p <port>] [-u <username>] [-pw <password>]
-s <source> [-fd <fail_dir>] [-lpf <lines_per_failed_file>] [-aligned
<use the aligned interface>]
[-ti <type_infer>] [-tp <timestamp precision (ms/us/ns)>] [-tz
<timezone>] [-batch <batch_size>]
[-tn <thread_num>]
+
+# V2.0.4.x and later versions
+> tools\windows\import-data.bat -ft<format> [-sql_dialect<sql_dialect>]
-db<database> -table<table>
+ [-h <host>] [-p <port>] [-u <username>] [-pw <password>]
+ -s <source> [-fd <fail_dir>] [-lpf <lines_per_failed_file>] [-aligned
<use the aligned interface>]
+ [-ti <type_infer>] [-tp <timestamp precision (ms/us/ns)>] [-tz
<timezone>] [-batch <batch_size>]
+ [-tn <thread_num>]
```
-#### 2.2.2 CSV-Specific Parameters
+#### 2.2.2 CSV-Specific Parameters
| Short | Full Parameter | Description
| Required | Default |
| ---------------- | -------------------------------
|----------------------------------------------------------| ----------
|-----------------|
@@ -87,7 +95,7 @@ IoTDB supports three methods for data import:
| `-ti` | `--type_infer` | Type mapping (e.g.,
`BOOLEAN=text,INT=long`). | No | - |
| `-tp` | `--timestamp_precision` | Timestamp precision: `ms`, `us`,
`ns`. | No | `ms` |
-#### 2.2.3 Examples
+#### 2.2.3 Examples
```Shell
# Valid Example
@@ -107,7 +115,7 @@ There are no tables or the target table table5 does not
exist
- Special Character Escaping Rules: If a text-type field contains special
characters (e.g., commas `,`), they must be escaped using a backslash (`\`).
- Supported Time Formats: `yyyy-MM-dd'T'HH:mm:ss`, `yyyy-MM-dd HH:mm:ss`, or
`yyyy-MM-dd'T'HH:mm:ss.SSSZ`.
-- Timestamp Column Requirement: The timestamp column must be the first column
in the data file.
+- Timestamp Column Requirement: The timestamp column must be the first column
in the data file.
2. CSV File Example
@@ -118,9 +126,9 @@ time,region,device,model,temperature,humidity
```
-### 2.3 SQL Format
+### 2.3 SQL Format
-#### 2.3.1 Command
+#### 2.3.1 Command
```Shell
# Unix/OS X
@@ -130,13 +138,20 @@ time,region,device,model,temperature,humidity
[-batch <batch_size>] [-tn <thread_num>]
# Windows
+# Before version V2.0.4.x
> tools\import-data.bat -ft<format> [-sql_dialect<sql_dialect>] -db<database>
> -table<table>
[-h <host>] [-p <port>] [-u <username>] [-pw <password>]
-s<source> [-fd <fail_dir>] [-lpf <lines_per_failed_file>] [-tz
<timezone>]
[-batch <batch_size>] [-tn <thread_num>]
+
+# V2.0.4.x and later versions
+> tools\windows\import-data.bat -ft<format> [-sql_dialect<sql_dialect>]
-db<database> -table<table>
+ [-h <host>] [-p <port>] [-u <username>] [-pw <password>]
+ -s<source> [-fd <fail_dir>] [-lpf <lines_per_failed_file>] [-tz
<timezone>]
+ [-batch <batch_size>] [-tn <thread_num>]
```
-#### 2.3.2 SQL-Specific Parameters
+#### 2.3.2 SQL-Specific Parameters
| Short | Full Parameter | Description
| Required | Default |
| -------------- | ------------------------------- |
-------------------------------------------------------------------- |
---------- | ------------------ |
@@ -144,7 +159,7 @@ time,region,device,model,temperature,humidity
| `-lpf` | `--lines_per_failed_file` | Max lines per failed file. | No
| `100000` <br> Range: 0 to Integer.Max(2147483647). |
| `-batch` | `--batch_size` | Rows processed per API call. | No
| `100000` <br> Range: 0 to Integer.Max(2147483647). |
-#### 2.3.3 Examples
+#### 2.3.3 Examples
```Shell
# Valid Example
@@ -158,9 +173,9 @@ Source file or directory ./sql/dump1_1.sql does not exist
# Log Example
Fail to insert measurements '[column.name]' caused by [data type is not
consistent, input '[column.value]', registered '[column.DataType]']
```
-### 2.4 TsFile Format
+### 2.4 TsFile Format
-#### 2.4.1 Command
+#### 2.4.1 Command
```Shell
# Unix/OS X
@@ -170,12 +185,19 @@ Fail to insert measurements '[column.name]' caused by
[data type is not consiste
[-tn <thread_num> ] [-tz <timezone>] [-tp <timestamp precision
(ms/us/ns)>]
# Windows
+# Before version V2.0.4.x
> tools\import-data.bat -ft <format> [-sql_dialect<sql_dialect>] -db<database>
> -table<table>
[-h <host>] [-p <port>] [-u <username>] [-pw <password>]
-s <source> -os <on_success> [-sd <success_dir>] -of <on_fail> [-fd
<fail_dir>]
[-tn <thread_num> ] [-tz <timezone>] [-tp <timestamp precision
(ms/us/ns)>]
+
+# V2.0.4.x and later versions
+> tools\windows\import-data.bat -ft <format> [-sql_dialect<sql_dialect>]
-db<database> -table<table>
+ [-h <host>] [-p <port>] [-u <username>] [-pw <password>]
+ -s <source> -os <on_success> [-sd <success_dir>] -of <on_fail> [-fd
<fail_dir>]
+ [-tn <thread_num> ] [-tz <timezone>] [-tp <timestamp precision
(ms/us/ns)>]
```
-#### 2.4.2 TsFile-Specific Parameters
+#### 2.4.2 TsFile-Specific Parameters
| Short | Full Parameter | Description
| Required | Default |
| ----------- | -----------------------------
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
----------------- | --------------------------- |
@@ -185,7 +207,7 @@ Fail to insert measurements '[column.name]' caused by [data
type is not consiste
| `-fd` | `--fail_dir` | Target directory for `mv`/`cp` actions on
failure. Required if `-of` is `mv`/`cp`. The file name will be flattened and
concatenated with the original file name.
|
Conditional | `${EXEC_DIR}/fail` |
| `-tp` | `--timestamp_precision` | TsFile timestamp precision: `ms`, `us`,
`ns`. <br> For non-remote TsFile imports: Use -tp to specify the timestamp
precision of the TsFile. The system will manually verify if the timestamp
precision matches the server. If it does not match, an error will be returned.
<br> For remote TsFile imports: Use -tp to specify the timestamp precision of
the TsFile. The Pipe system will automatically verify if the timestamp
precision matches. If it does not matc [...]
-#### 2.4.3 Examples
+#### 2.4.3 Examples
```Shell
# Valid Example
@@ -225,7 +247,7 @@ load_active_listening_dir/
```
- Table model TsFile
- - `temperature-table.TSFILE`: will be imported into the `temperature`
database (because it is located in the `sensors/temperature/` directory)
+ - `temperature-table.TSFILE`: will be imported into the `temperature`
database (because it is located in the `sensors/temperature/` directory)
### 3.3 Notes
diff --git a/src/UserGuide/Master/Table/Tools-System/Schema-Export-Tool.md
b/src/UserGuide/Master/Table/Tools-System/Schema-Export-Tool.md
index 185514f2..f278576e 100644
--- a/src/UserGuide/Master/Table/Tools-System/Schema-Export-Tool.md
+++ b/src/UserGuide/Master/Table/Tools-System/Schema-Export-Tool.md
@@ -55,10 +55,17 @@ Shell
-t <target_directory> [-path <exportPathPattern>] [-pfn
<prefix_file_name>]
[-lpf <lines_per_file>] [-timeout <query_timeout>]
# Windows
+# Before version V2.0.4.x
> tools\export-schema.bat [-sql_dialect<sql_dialect>] -db<database>
> -table<table>
[-h <host>] [-p <port>] [-u <username>] [-pw <password>]
-t <target_directory> [-path <exportPathPattern>] [-pfn
<prefix_file_name>]
[-lpf <lines_per_file>] [-timeout <query_timeout>]
+
+# V2.0.4.x and later versions
+> tools\windows\schema\export-schema.bat [-sql_dialect<sql_dialect>]
-db<database> -table<table>
+ [-h <host>] [-p <port>] [-u <username>] [-pw <password>]
+ -t <target_directory> [-path <exportPathPattern>] [-pfn
<prefix_file_name>]
+ [-lpf <lines_per_file>] [-timeout <query_timeout>]
```
### 2.3 Examples
diff --git a/src/UserGuide/Master/Table/Tools-System/Schema-Import-Tool.md
b/src/UserGuide/Master/Table/Tools-System/Schema-Import-Tool.md
index 94fb1124..cca314db 100644
--- a/src/UserGuide/Master/Table/Tools-System/Schema-Import-Tool.md
+++ b/src/UserGuide/Master/Table/Tools-System/Schema-Import-Tool.md
@@ -52,9 +52,15 @@ tools/import-schema.sh [-sql_dialect<sql_dialect>]
-db<database> -table<table>
-s <source> [-fd <fail_dir>] [-lpf <lines_per_failed_file>]
# Windows
+# Before version V2.0.4.x
tools\import-schema.bat [-sql_dialect<sql_dialect>] -db<database>
-table<table>
[-h <host>] [-p <port>] [-u <username>] [-pw <password>]
-s <source> [-fd <fail_dir>] [-lpf <lines_per_failed_file>]
+
+# V2.0.4.x and later versions
+tools\windows\schema\import-schema.bat [-sql_dialect<sql_dialect>]
-db<database> -table<table>
+ [-h <host>] [-p <port>] [-u <username>] [-pw <password>]
+ -s <source> [-fd <fail_dir>] [-lpf <lines_per_failed_file>]
```
### 2.3 Examples
diff --git
a/src/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_apache.md
b/src/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_apache.md
index beaba3aa..a975de64 100644
---
a/src/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_apache.md
+++
b/src/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_apache.md
@@ -263,7 +263,11 @@ sbin/start-confignode.sh
# Windows
# First switch to the IoTDB root directory
-sbin/start-confignode.bat
+# Before version V2.0.4.x
+sbin\start-confignode.bat
+
+# V2.0.4.x and later versions
+sbin\windows\start-confignode.bat
```
Parameter introduction:
@@ -306,8 +310,11 @@ Then use the script to remove the ConfigNode. Script
command:
sbin/remove-confignode.sh [confignode_id]
#Windows
-sbin/remove-confignode.bat [confignode_id]
+# Before version V2.0.4.x
+sbin\remove-confignode.bat [confignode_id]
+# V2.0.4.x and later versions
+sbin\windows\remove-confignode.bat [confignode_id]
```
### 4.2 DataNode Node Maintenance
@@ -330,7 +337,11 @@ sbin/start-datanode.sh
# Windows
# First switch to the IoTDB root directory
-sbin/start-datanode.bat
+# Before version V2.0.4.x
+sbin\start-datanode.bat
+
+# V2.0.4.x and later versions
+sbin\windows\start-datanode.bat
```
Parameter introduction:
@@ -375,7 +386,11 @@ Then use the script to remove the DataNode. Script command:
sbin/remove-datanode.sh [datanode_id]
#Windows
-sbin/remove-datanode.bat [datanode_id]
+# Before version V2.0.4.x
+sbin\remove-datanode.bat [datanode_id]
+
+# V2.0.4.x and later versions
+sbin\windows\remove-datanode.bat [datanode_id]
```
## 5. Questions
diff --git
a/src/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_timecho.md
b/src/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_timecho.md
index b373cae8..e87e1cac 100644
---
a/src/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_timecho.md
+++
b/src/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_timecho.md
@@ -294,7 +294,6 @@ This following section will introduce the specific
configuration items in the `i
| Effective | After restarting the system
|
-
## 4. Maintenance
### 4.1 ConfigNode Maintenance
@@ -310,14 +309,18 @@ ConfigNode maintenance includes adding and removing
ConfigNodes. Common use case
**Linux /** **MacOS**:
-```Plain
+```Bash
sbin/start-confignode.sh
```
**Windows:**
-```Plain
-sbin/start-confignode.bat
+```Bash
+# Before version V2.0.4.x
+sbin\start-confignode.bat
+
+# V2.0.4.x and later versions
+sbin\windows\start-confignode.bat
```
#### Removing a ConfigNode
@@ -356,9 +359,15 @@ sbin/remove-confignode.sh
[cn_internal_address:cn_internal_port]
**Windows:**
```Bash
-sbin/remove-confignode.bat [confignode_id]
+# Before version V2.0.4.x
+sbin\remove-confignode.bat [confignode_id]
+# Or:
+sbin\remove-confignode.bat [cn_internal_address:cn_internal_port]
+
+# V2.0.4.x and later versions
+sbin\windows\remove-confignode.bat [confignode_id]
# Or:
-sbin/remove-confignode.bat [cn_internal_address:cn_internal_port]
+sbin\windows\remove-confignode.bat [cn_internal_address:cn_internal_port]
```
### 4.2 DataNode Maintenance
@@ -374,14 +383,18 @@ DataNode maintenance includes adding and removing
DataNodes. Common use cases in
**Linux /** **MacOS**:
-```Plain
+```Bash
sbin/start-datanode.sh
```
**Windows:**
-```Plain
-sbin/start-datanode.bat
+```Bash
+# Before version V2.0.4.x
+sbin\start-datanode.bat
+
+# V2.0.4.x and later versions
+sbin\windows\start-datanode.bat
```
**Note:** After adding a DataNode, the cluster load will gradually balance
across all nodes as new writes arrive and old data expires (if TTL is set).
@@ -420,7 +433,11 @@ sbin/remove-datanode.sh [dn_rpc_address:dn_rpc_port]
**Windows:**
```Bash
-sbin/remove-datanode.bat [dn_rpc_address:dn_rpc_port]
+# Before version V2.0.4.x
+sbin\remove-datanode.bat [dn_rpc_address:dn_rpc_port]
+
+# V2.0.4.x and later versions
+sbin\windows\remove-datanode.bat [dn_rpc_address:dn_rpc_port]
```
## 5. Common Questions
diff --git
a/src/UserGuide/Master/Tree/Reference/DataNode-Config-Manual_apache.md
b/src/UserGuide/Master/Tree/Reference/DataNode-Config-Manual_apache.md
index e2a3ca1b..2c7563f3 100644
--- a/src/UserGuide/Master/Tree/Reference/DataNode-Config-Manual_apache.md
+++ b/src/UserGuide/Master/Tree/Reference/DataNode-Config-Manual_apache.md
@@ -398,8 +398,12 @@ To enable GC log, just add a parameter "printgc" when you
start the DataNode.
nohup sbin/start-datanode.sh printgc >/dev/null 2>&1 &
```
Or
-```cmd
+```bash
+# Before version V2.0.4.x
sbin\start-datanode.bat printgc
+
+# V2.0.4.x and later versions
+sbin\windows\start-datanode.bat printgc
```
GC log is stored at `IOTDB_HOME/logs/gc.log`.
diff --git
a/src/UserGuide/Master/Tree/Reference/DataNode-Config-Manual_timecho.md
b/src/UserGuide/Master/Tree/Reference/DataNode-Config-Manual_timecho.md
index 3c6e3f93..dc91fa81 100644
--- a/src/UserGuide/Master/Tree/Reference/DataNode-Config-Manual_timecho.md
+++ b/src/UserGuide/Master/Tree/Reference/DataNode-Config-Manual_timecho.md
@@ -398,8 +398,12 @@ To enable GC log, just add a parameter "printgc" when you
start the DataNode.
nohup sbin/start-datanode.sh printgc >/dev/null 2>&1 &
```
Or
-```cmd
+```bash
+# Before version V2.0.4.x
sbin\start-datanode.bat printgc
+
+# V2.0.4.x and later versions
+sbin\windows\start-datanode.bat printgc
```
GC log is stored at `IOTDB_HOME/logs/gc.log`.
diff --git a/src/UserGuide/Master/Tree/Tools-System/CLI.md
b/src/UserGuide/Master/Tree/Tools-System/CLI.md
index 9dd4a124..665af205 100644
--- a/src/UserGuide/Master/Tree/Tools-System/CLI.md
+++ b/src/UserGuide/Master/Tree/Tools-System/CLI.md
@@ -49,7 +49,7 @@ Here is an example where the cluster is started locally and
the user has not cha
6667 <br>
If you need to connect to the remote DataNode or changes
the rpc port number of the DataNode running, set the specific IP and RPC PORT
at -h and -p.<br>
-You also can set your own environment variable at the front of the start
script ("/sbin/start-cli.sh" for linux and "/sbin/start-cli.bat" for windows)
+You also can set your own environment variable at the front of the start
script
The Linux and MacOS system startup commands are as follows:
@@ -60,7 +60,11 @@ Shell > bash sbin/start-cli.sh -h 127.0.0.1 -p 6667 -u root
-pw root
The Windows system startup commands are as follows:
```shell
+# Before version V2.0.4.x
Shell > sbin\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw root
+
+# V2.0.4.x and later versions
+Shell > sbin\windows\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw root
```
After operating these commands, the cli can be started successfully. The
successful status will be as follows:
@@ -106,7 +110,11 @@ Shell > bash sbin/start-cli.sh -h 10.129.187.21 -p 6667 -u
root -pw root -disabl
The Windows system startup commands are as follows:
```shell
+# Before version V2.0.4.x
Shell > sbin\start-cli.bat -h 10.129.187.21 -p 6667 -u root -pw root
-disableISO8601 -maxPRC 10
+
+# # V2.0.4.x and later versions
+Shell > sbin\windows\start-cli.bat -h 10.129.187.21 -p 6667 -u root -pw root
-disableISO8601 -maxPRC 10
```
### 2.3 CLI Special Command
@@ -252,7 +260,11 @@ Shell > bash sbin/start-cli.sh -h {host} -p {rpcPort} -u
{user} -pw {password} -
The Windows system commands:
```shell
+# Before version V2.0.4.x
Shell > sbin\start-cli.bat -h {host} -p {rpcPort} -u {user} -pw {password} -e
{sql for iotdb}
+
+# V2.0.4.x and later versions
+Shell > sbin\windows\start-cli.bat -h {host} -p {rpcPort} -u {user} -pw
{password} -e {sql for iotdb}
```
In the Windows environment, the SQL statement of the -e parameter needs to use
` `` ` to replace `" "`
diff --git a/src/UserGuide/Master/Tree/Tools-System/Data-Export-Tool.md
b/src/UserGuide/Master/Tree/Tools-System/Data-Export-Tool.md
index f349f4b8..5601f3b8 100644
--- a/src/UserGuide/Master/Tree/Tools-System/Data-Export-Tool.md
+++ b/src/UserGuide/Master/Tree/Tools-System/Data-Export-Tool.md
@@ -50,9 +50,15 @@ The data export tool, export-data.sh (Unix/OS X) or
export-data.bat (Windows), l
[-pfn <prefix_file_name>] [-dt <datatype>] [-lpf
<lines_per_file>] [-tf <time_format>]
[-tz <timezone>] [-q <query_command>] [-timeout <query_timeout>]
# Windows
+# Before version V2.0.4.x
> tools\export-data.bat -ft<format> [-h <host>] [-p <port>] [-u <username>]
> [-pw <password>] -t <target_directory>
[-pfn <prefix_file_name>] [-dt <datatype>] [-lpf
<lines_per_file>] [-tf <time_format>]
[-tz <timezone>] [-q <query_command>] [-timeout <query_timeout>]
+
+# V2.0.4.x and later versions
+> tools\windows\export-data.bat -ft<format> [-h <host>] [-p <port>] [-u
<username>] [-pw <password>] -t <target_directory>
+ [-pfn <prefix_file_name>] [-dt <datatype>] [-lpf
<lines_per_file>] [-tf <time_format>]
+ [-tz <timezone>] [-q <query_command>] [-timeout <query_timeout>]
```
#### 2.2.2 CSV-Specific Parameters
@@ -84,9 +90,15 @@ Parse error: Missing required option: t
-lpf <lines_per_file> - [-tf <time_format>] [-tz <timezone>] [-q
<query_command>] [-timeout <query_timeout>]
# Windows
+# Before version V2.0.4.x
> tools\export-data.bat -ft<format> [-h <host> -p <port> -u <username> -pw
> <password>]
-t <target_directory> [-pfn <prefix_file_name> -aligned <export
aligned insert sql>
-lpf <lines_per_file> -tf <time_format> -tz <timezone> -q
<query_command> -timeout <query_timeout>]
+
+# V2.0.4.x and later versions
+> tools\windows\export-data.bat -ft<format> [-h <host> -p <port> -u <username>
-pw <password>]
+ -t <target_directory> [-pfn <prefix_file_name> -aligned <export
aligned insert sql>
+ -lpf <lines_per_file> -tf <time_format> -tz <timezone> -q
<query_command> -timeout <query_timeout>]
```
#### 2.3.2 SQL-Specific Parameters
@@ -119,8 +131,13 @@ Parse error: Missing required option: t
-t <target_directory> [-pfn <prefix_file_name>] [-q <query_command>]
[-timeout <query_timeout>]
# Windows
+# Before version V2.0.4.x
> tools\export-data.bat -ft<format> [-h <host>] [-p <port>] [-u <username>]
> [-pw <password>]
-t <target_directory> [-pfn <prefix_file_name>] [-q <query_command>]
[-timeout <query_timeout>]
+
+# V2.0.4.x and later versions
+> tools\windows\export-data.bat -ft<format> [-h <host>] [-p <port>] [-u
<username>] [-pw <password>]
+ -t <target_directory> [-pfn <prefix_file_name>] [-q <query_command>]
[-timeout <query_timeout>]
```
#### 2.4.2 TsFile-Specific Parameters
diff --git a/src/UserGuide/Master/Tree/Tools-System/Data-Import-Tool.md
b/src/UserGuide/Master/Tree/Tools-System/Data-Import-Tool.md
index efa6ba67..e330c056 100644
--- a/src/UserGuide/Master/Tree/Tools-System/Data-Import-Tool.md
+++ b/src/UserGuide/Master/Tree/Tools-System/Data-Import-Tool.md
@@ -51,9 +51,9 @@ IoTDB supports three methods for data import:
| `-tz` | `--timezone` | Timezone (e.g., `+08:00`, `-01:00`).
| No |
System default |
| `-help` | `--help` | Display help (general or format-specific: `-help
csv`).
| No |
- |
-### 2.2 CSV Format
+### 2.2 CSV Format
-#### 2.2.1 Command
+#### 2.2.1 Command
```Shell
# Unix/OS X
> tools/import-data.sh -ft<format> [-h <host>] [-p <port>] [-u <username>]
> [-pw <password>]
@@ -62,13 +62,20 @@ IoTDB supports three methods for data import:
[-tn <thread_num>]
# Windows
+# Before version V2.0.4.x
> tools\import-data.bat -ft<format> [-h <host>] [-p <port>] [-u <username>]
> [-pw <password>]
-s <source> [-fd <fail_dir>] [-lpf <lines_per_failed_file>] [-aligned
<use the aligned interface>]
[-ti <type_infer>] [-tp <timestamp precision (ms/us/ns)>] [-tz
<timezone>] [-batch <batch_size>]
[-tn <thread_num>]
+
+# V2.0.4.x and later versions
+> tools\windows\import-data.bat -ft<format> [-h <host>] [-p <port>] [-u
<username>] [-pw <password>]
+ -s <source> [-fd <fail_dir>] [-lpf <lines_per_failed_file>] [-aligned
<use the aligned interface>]
+ [-ti <type_infer>] [-tp <timestamp precision (ms/us/ns)>] [-tz
<timezone>] [-batch <batch_size>]
+ [-tn <thread_num>]
```
-#### 2.2.2 CSV-Specific Parameters
+#### 2.2.2 CSV-Specific Parameters
| Short | Full Parameter | Description
| Required | Default |
| ---------------- | -------------------------------
|----------------------------------------------------------| ----------
|-----------------|
@@ -79,7 +86,7 @@ IoTDB supports three methods for data import:
| `-ti` | `--type_infer` | Type mapping (e.g.,
`BOOLEAN=text,INT=long`). | No | - |
| `-tp` | `--timestamp_precision` | Timestamp precision: `ms`, `us`,
`ns`. | No | `ms` |
-#### 2.2.3 Examples
+#### 2.2.3 Examples
```Shell
# Valid Example
@@ -139,9 +146,9 @@ Time,Device,str(TEXT),var(INT32)
```
-### 2.3 SQL Format
+### 2.3 SQL Format
-#### 2.3.1 Command
+#### 2.3.1 Command
```Shell
# Unix/OS X
@@ -150,12 +157,18 @@ Time,Device,str(TEXT),var(INT32)
[-batch <batch_size>] [-tn <thread_num>]
# Windows
+# Before version V2.0.4.x
> tools\import-data.bat -ft<format> [-h <host>] [-p <port>] [-u <username>]
> [-pw <password>]
-s<source> [-fd <fail_dir>] [-lpf <lines_per_failed_file>] [-tz
<timezone>]
[-batch <batch_size>] [-tn <thread_num>]
+
+# V2.0.4.x and later versions
+> tools\windows\import-data.bat -ft<format> [-h <host>] [-p <port>] [-u
<username>] [-pw <password>]
+ -s<source> [-fd <fail_dir>] [-lpf <lines_per_failed_file>] [-tz
<timezone>]
+ [-batch <batch_size>] [-tn <thread_num>]
```
-#### 2.3.2 SQL-Specific Parameters
+#### 2.3.2 SQL-Specific Parameters
| Short | Full Parameter | Description
| Required | Default |
| -------------- | ------------------------------- |
-------------------------------------------------------------------- |
---------- | ------------------ |
@@ -163,7 +176,7 @@ Time,Device,str(TEXT),var(INT32)
| `-lpf` | `--lines_per_failed_file` | Max lines per failed file. | No
| `100000` <br> Range: 0 to Integer.Max(2147483647). |
| `-batch` | `--batch_size` | Rows processed per API call. | No
| `100000` <br> Range: 0 to Integer.Max(2147483647). |
-#### 2.3.3 Examples
+#### 2.3.3 Examples
```Shell
# Valid Example
@@ -179,9 +192,9 @@ error: Source file or directory /path/sql does not exist
> tools/import-data.sh -ft sql -s /path/sql -tn 0
error: Invalid thread number '0'. Please set a positive integer.
```
-### 2.4 TsFile Format
+### 2.4 TsFile Format
-#### 2.4.1 Command
+#### 2.4.1 Command
```Shell
# Unix/OS X
@@ -190,11 +203,17 @@ error: Invalid thread number '0'. Please set a positive
integer.
[-tn <thread_num> ] [-tz <timezone>] [-tp <timestamp precision
(ms/us/ns)>]
# Windows
+# Before version V2.0.4.x
> tools\import-data.bat -ft <format> [-h <host>] [-p <port>] [-u <username>]
> [-pw <password>]
-s <source> -os <on_success> [-sd <success_dir>] -of <on_fail> [-fd
<fail_dir>]
[-tn <thread_num> ] [-tz <timezone>] [-tp <timestamp precision
(ms/us/ns)>]
+
+# V2.0.4.x and later versions
+> tools\windows\import-data.bat -ft <format> [-h <host>] [-p <port>] [-u
<username>] [-pw <password>]
+ -s <source> -os <on_success> [-sd <success_dir>] -of <on_fail> [-fd
<fail_dir>]
+ [-tn <thread_num> ] [-tz <timezone>] [-tp <timestamp precision
(ms/us/ns)>]
```
-#### 2.4.2 TsFile-Specific Parameters
+#### 2.4.2 TsFile-Specific Parameters
| Short | Full Parameter | Description
| Required | Default |
| ----------- | -----------------------------
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
----------------- | --------------------------- |
@@ -204,7 +223,7 @@ error: Invalid thread number '0'. Please set a positive
integer.
| `-fd` | `--fail_dir` | Target directory for `mv`/`cp` actions on
failure. Required if `-of` is `mv`/`cp`. The file name will be flattened and
concatenated with the original file name.
|
Conditional | `${EXEC_DIR}/fail` |
| `-tp` | `--timestamp_precision` | TsFile timestamp precision: `ms`, `us`,
`ns`. <br> For non-remote TsFile imports: Use -tp to specify the timestamp
precision of the TsFile. The system will manually verify if the timestamp
precision matches the server. If it does not match, an error will be returned.
<br> For remote TsFile imports: Use -tp to specify the timestamp precision of
the TsFile. The Pipe system will automatically verify if the timestamp
precision matches. If it does not matc [...]
-#### 2.4.3 Examples
+#### 2.4.3 Examples
```Shell
# Valid Example
diff --git a/src/UserGuide/Master/Tree/Tools-System/Schema-Export-Tool.md
b/src/UserGuide/Master/Tree/Tools-System/Schema-Export-Tool.md
index 7e11b9d3..e6b102d0 100644
--- a/src/UserGuide/Master/Tree/Tools-System/Schema-Export-Tool.md
+++ b/src/UserGuide/Master/Tree/Tools-System/Schema-Export-Tool.md
@@ -55,10 +55,17 @@ Shell
-t <target_directory> [-path <exportPathPattern>] [-pfn
<prefix_file_name>]
[-lpf <lines_per_file>] [-timeout <query_timeout>]
# Windows
+# Before version V2.0.4.x
> tools\export-schema.bat [-sql_dialect<sql_dialect>] -db<database>
> -table<table>
[-h <host>] [-p <port>] [-u <username>] [-pw <password>]
-t <target_directory> [-path <exportPathPattern>] [-pfn
<prefix_file_name>]
[-lpf <lines_per_file>] [-timeout <query_timeout>]
+
+# V2.0.4.x and later versions
+> tools\windows\schema\export-schema.bat [-sql_dialect<sql_dialect>]
-db<database> -table<table>
+ [-h <host>] [-p <port>] [-u <username>] [-pw <password>]
+ -t <target_directory> [-path <exportPathPattern>] [-pfn
<prefix_file_name>]
+ [-lpf <lines_per_file>] [-timeout <query_timeout>]
```
### 2.3 Examples
diff --git a/src/UserGuide/Master/Tree/Tools-System/Schema-Import-Tool.md
b/src/UserGuide/Master/Tree/Tools-System/Schema-Import-Tool.md
index d4a1aa68..c3018730 100644
--- a/src/UserGuide/Master/Tree/Tools-System/Schema-Import-Tool.md
+++ b/src/UserGuide/Master/Tree/Tools-System/Schema-Import-Tool.md
@@ -52,9 +52,15 @@ tools/import-schema.sh [-sql_dialect<sql_dialect>]
-db<database> -table<table>
-s <source> [-fd <fail_dir>] [-lpf <lines_per_failed_file>]
# Windows
+# Before version V2.0.4.x
tools\import-schema.bat [-sql_dialect<sql_dialect>] -db<database>
-table<table>
[-h <host>] [-p <port>] [-u <username>] [-pw <password>]
-s <source> [-fd <fail_dir>] [-lpf <lines_per_failed_file>]
+
+# V2.0.4.x and later versions
+tools\windows\schema\import-schema.bat [-sql_dialect<sql_dialect>]
-db<database> -table<table>
+ [-h <host>] [-p <port>] [-u <username>] [-pw <password>]
+ -s <source> [-fd <fail_dir>] [-lpf <lines_per_failed_file>]
```
### 2.3 Examples
diff --git
a/src/UserGuide/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_apache.md
b/src/UserGuide/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_apache.md
index a097f141..52cd1324 100644
---
a/src/UserGuide/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_apache.md
+++
b/src/UserGuide/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_apache.md
@@ -255,14 +255,18 @@ ConfigNode maintenance includes adding and removing
ConfigNodes. Common use case
**Linux / MacOS :**
-```Plain
+```Bash
sbin/start-confignode.sh
```
**Windows:**
-```Plain
-sbin/start-confignode.bat
+```Bash
+# Before version V2.0.4.x
+sbin\start-confignode.bat
+
+# V2.0.4.x and later versions
+sbin\windows\start-confignode.bat
```
#### 4.1.2 Removing a ConfigNode
@@ -301,9 +305,15 @@ sbin/remove-confignode.sh
[cn_internal_address:cn_internal_port]
**Windows:**
```Bash
-sbin/remove-confignode.bat [confignode_id]
+# Before version V2.0.4.x
+sbin\remove-confignode.bat [confignode_id]
+# Or:
+sbin\remove-confignode.bat [cn_internal_address:cn_internal_port]
+
+# V2.0.4.x and later versions
+sbin\windows\remove-confignode.bat [confignode_id]
# Or:
-sbin/remove-confignode.bat [cn_internal_address:cn_internal_port]
+sbin\windows\remove-confignode.bat [cn_internal_address:cn_internal_port]
```
### 4.2 DataNode Maintenance
@@ -319,14 +329,18 @@ DataNode maintenance includes adding and removing
DataNodes. Common use cases in
**Linux / MacOS:**
-```Plain
+```Bash
sbin/start-datanode.sh
```
**Windows:**
-```Plain
-sbin/start-datanode.bat
+```Bash
+# Before version V2.0.4.x
+sbin\start-datanode.bat
+
+# V2.0.4.x and later versions
+sbin\windows\start-datanode.bat
```
**Note:** After adding a DataNode, the cluster load will gradually balance
across all nodes as new writes arrive and old data expires (if TTL is set).
@@ -365,7 +379,11 @@ sbin/remove-datanode.sh [dn_rpc_address:dn_rpc_port]
**Windows:**
```Bash
-sbin/remove-datanode.bat [dn_rpc_address:dn_rpc_port]
+# Before version V2.0.4.x
+sbin\remove-datanode.bat [dn_rpc_address:dn_rpc_port]
+
+# V2.0.4.x and later versions
+sbin\windows\remove-datanode.bat [dn_rpc_address:dn_rpc_port]
```
## 5. Common Issues
diff --git
a/src/UserGuide/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md
b/src/UserGuide/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md
index 33311caf..2b1f36eb 100644
---
a/src/UserGuide/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md
+++
b/src/UserGuide/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md
@@ -303,14 +303,18 @@ ConfigNode maintenance includes adding and removing
ConfigNodes. Common use case
**Linux / MacOS :**
-```Plain
+```Bash
sbin/start-confignode.sh
```
**Windows:**
-```Plain
-sbin/start-confignode.bat
+```Bash
+# Before version V2.0.4.x
+sbin\start-confignode.bat
+
+# V2.0.4.x and later versions
+sbin\windows\start-confignode.bat
```
#### 4.1.2 Removing a ConfigNode
@@ -349,9 +353,15 @@ sbin/remove-confignode.sh
[cn_internal_address:cn_internal_port]
**Windows:**
```Bash
-sbin/remove-confignode.bat [confignode_id]
+# Before version V2.0.4.x
+sbin\remove-confignode.bat [confignode_id]
+# Or:
+sbin\remove-confignode.bat [cn_internal_address:cn_internal_port]
+
+# V2.0.4.x and later versions
+sbin\windows\remove-confignode.bat [confignode_id]
# Or:
-sbin/remove-confignode.bat [cn_internal_address:cn_internal_port]
+sbin\windows\remove-confignode.bat [cn_internal_address:cn_internal_port]
```
### 4.2 DataNode Maintenance
@@ -367,14 +377,18 @@ DataNode maintenance includes adding and removing
DataNodes. Common use cases in
**Linux / MacOS:**
-```Plain
+```Bash
sbin/start-datanode.sh
```
**Windows:**
-```Plain
-sbin/start-datanode.bat
+```Bash
+# Before version V2.0.4.x
+sbin\start-datanode.bat
+
+# V2.0.4.x and later versions
+sbin\windows\start-datanode.bat
```
**Note:** After adding a DataNode, the cluster load will gradually balance
across all nodes as new writes arrive and old data expires (if TTL is set).
@@ -383,13 +397,13 @@ sbin/start-datanode.bat
1. Connect to the cluster using the CLI and confirm the RPC address and port
of the DataNode to be removed:
-```Plain
+```sql
show datanodes;
```
Example output:
-```Plain
+```sql
IoTDB> show datanodes
+------+-------+----------+-------+-------------+---------------+
|NodeID| Status|RpcAddress|RpcPort|DataRegionNum|SchemaRegionNum|
@@ -413,7 +427,11 @@ sbin/remove-datanode.sh [dn_rpc_address:dn_rpc_port]
**Windows:**
```Bash
-sbin/remove-datanode.bat [dn_rpc_address:dn_rpc_port]
+# Before version V2.0.4.x
+sbin\remove-datanode.bat [dn_rpc_address:dn_rpc_port]
+
+# V2.0.4.x and later versions
+sbin\windows\remove-datanode.bat [dn_rpc_address:dn_rpc_port]
```
## 5. Common Issues
diff --git a/src/UserGuide/latest-Table/Tools-System/CLI.md
b/src/UserGuide/latest-Table/Tools-System/CLI.md
index 89c3e054..c8ae8cb2 100644
--- a/src/UserGuide/latest-Table/Tools-System/CLI.md
+++ b/src/UserGuide/latest-Table/Tools-System/CLI.md
@@ -39,9 +39,15 @@ Shell> bash sbin/start-cli.sh -h 127.0.0.1 -p 6667 -u root
-pw root -sql_dialect
#### **Windows**
```Bash
+# Before version V2.0.4.x
Shell> sbin\start-cli.bat -sql_dialect table
#or
Shell> sbin\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw root -sql_dialect
table
+
+# V2.0.4.x and later versions
+Shell> sbin\windows\start-cli.bat -sql_dialect table
+#or
+Shell> sbin\windows\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw root
-sql_dialect table
```
**Parameter Explanation**
diff --git a/src/UserGuide/latest-Table/Tools-System/Data-Export-Tool.md
b/src/UserGuide/latest-Table/Tools-System/Data-Export-Tool.md
index 1c564820..921cc378 100644
--- a/src/UserGuide/latest-Table/Tools-System/Data-Export-Tool.md
+++ b/src/UserGuide/latest-Table/Tools-System/Data-Export-Tool.md
@@ -56,10 +56,17 @@ The data export tool `export-data.sh/bat` is located in the
`tools` directory an
-t <target_directory> [-pfn <prefix_file_name>] [-dt
<datatype>] [-lpf <lines_per_file>] [-tf <time_format>]
[-tz <timezone>] [-q <query_command>] [-timeout <query_timeout>]
# Windows
+# Before version V2.0.4.x
> tools\export-data.bat -ft<format> [-sql_dialect<sql_dialect>] -db<database>
> -table<table>
[-start_time<start_time>] [-end_time<end_time>] [-h <host>]
[-p <port>] [-u <username>] [-pw <password>]
-t <target_directory> [-pfn <prefix_file_name>] [-dt
<datatype>] [-lpf <lines_per_file>] [-tf <time_format>]
[-tz <timezone>] [-q <query_command>] [-timeout <query_timeout>]
+
+# V2.0.4.x and later versions
+> tools\windows\export-data.bat -ft<format> [-sql_dialect<sql_dialect>]
-db<database> -table<table>
+ [-start_time<start_time>] [-end_time<end_time>] [-h <host>]
[-p <port>] [-u <username>] [-pw <password>]
+ -t <target_directory> [-pfn <prefix_file_name>] [-dt
<datatype>] [-lpf <lines_per_file>] [-tf <time_format>]
+ [-tz <timezone>] [-q <query_command>] [-timeout <query_timeout>]
```
#### 2.2.2 CSV-Specific Parameters
@@ -90,10 +97,17 @@ Parse error: Missing required option: db
-lpf <lines_per_file> - [-tf <time_format>] [-tz <timezone>] [-q
<query_command>] [-timeout <query_timeout>]
# Windows
+# Before version V2.0.4.x
> tools\export-data.bat -ft<format> [-sql_dialect<sql_dialect>] -db<database>
> -table<table>
[-start_time<start_time>] [-end_time<end_time>] [-h <host> -p
<port> -u <username> -pw <password>]
-t <target_directory> [-pfn <prefix_file_name> -aligned <export
aligned insert sql>
-lpf <lines_per_file> -tf <time_format> -tz <timezone> -q
<query_command> -timeout <query_timeout>]
+
+# V2.0.4.x and later versions
+> tools\windows\export-data.bat -ft<format> [-sql_dialect<sql_dialect>]
-db<database> -table<table>
+ [-start_time<start_time>] [-end_time<end_time>] [-h <host> -p
<port> -u <username> -pw <password>]
+ -t <target_directory> [-pfn <prefix_file_name> -aligned <export
aligned insert sql>
+ -lpf <lines_per_file> -tf <time_format> -tz <timezone> -q
<query_command> -timeout <query_timeout>]
```
#### 2.3.2 SQL-Specific Parameters
@@ -125,9 +139,15 @@ Parse error: Missing required option: db
-t <target_directory> [-pfn <prefix_file_name>] [-q <query_command>]
[-timeout <query_timeout>]
# Windows
+# Before version V2.0.4.x
> tools\export-data.bat -ft<format> [-sql_dialect<sql_dialect>] -db<database>
> -table<table>
[-start_time<start_time>] [-end_time<end_time>] [-h <host>]
[-p <port>] [-u <username>] [-pw <password>]
-t <target_directory> [-pfn <prefix_file_name>] [-q <query_command>]
[-timeout <query_timeout>]
+
+# V2.0.4.x and later versions
+> tools\windows\export-data.bat -ft<format> [-sql_dialect<sql_dialect>]
-db<database> -table<table>
+ [-start_time<start_time>] [-end_time<end_time>] [-h <host>]
[-p <port>] [-u <username>] [-pw <password>]
+ -t <target_directory> [-pfn <prefix_file_name>] [-q <query_command>]
[-timeout <query_timeout>]
```
#### 2.4.2 TsFile-Specific Parameters
diff --git a/src/UserGuide/latest-Table/Tools-System/Data-Import-Tool.md
b/src/UserGuide/latest-Table/Tools-System/Data-Import-Tool.md
index 726ada89..c7d63735 100644
--- a/src/UserGuide/latest-Table/Tools-System/Data-Import-Tool.md
+++ b/src/UserGuide/latest-Table/Tools-System/Data-Import-Tool.md
@@ -69,11 +69,19 @@ IoTDB supports three methods for data import:
[-tn <thread_num>]
# Windows
+# Before version V2.0.4.x
> tools\import-data.bat -ft<format> [-sql_dialect<sql_dialect>] -db<database>
> -table<table>
[-h <host>] [-p <port>] [-u <username>] [-pw <password>]
-s <source> [-fd <fail_dir>] [-lpf <lines_per_failed_file>] [-aligned
<use the aligned interface>]
[-ti <type_infer>] [-tp <timestamp precision (ms/us/ns)>] [-tz
<timezone>] [-batch <batch_size>]
[-tn <thread_num>]
+
+# V2.0.4.x and later versions
+> tools\windows\import-data.bat -ft<format> [-sql_dialect<sql_dialect>]
-db<database> -table<table>
+ [-h <host>] [-p <port>] [-u <username>] [-pw <password>]
+ -s <source> [-fd <fail_dir>] [-lpf <lines_per_failed_file>] [-aligned
<use the aligned interface>]
+ [-ti <type_infer>] [-tp <timestamp precision (ms/us/ns)>] [-tz
<timezone>] [-batch <batch_size>]
+ [-tn <thread_num>]
```
#### 2.2.2 CSV-Specific Parameters
@@ -130,10 +138,17 @@ time,region,device,model,temperature,humidity
[-batch <batch_size>] [-tn <thread_num>]
# Windows
+# Before version V2.0.4.x
> tools\import-data.bat -ft<format> [-sql_dialect<sql_dialect>] -db<database>
> -table<table>
[-h <host>] [-p <port>] [-u <username>] [-pw <password>]
-s<source> [-fd <fail_dir>] [-lpf <lines_per_failed_file>] [-tz
<timezone>]
[-batch <batch_size>] [-tn <thread_num>]
+
+# V2.0.4.x and later versions
+> tools\windows\import-data.bat -ft<format> [-sql_dialect<sql_dialect>]
-db<database> -table<table>
+ [-h <host>] [-p <port>] [-u <username>] [-pw <password>]
+ -s<source> [-fd <fail_dir>] [-lpf <lines_per_failed_file>] [-tz
<timezone>]
+ [-batch <batch_size>] [-tn <thread_num>]
```
#### 2.3.2 SQL-Specific Parameters
@@ -170,10 +185,17 @@ Fail to insert measurements '[column.name]' caused by
[data type is not consiste
[-tn <thread_num> ] [-tz <timezone>] [-tp <timestamp precision
(ms/us/ns)>]
# Windows
+# Before version V2.0.4.x
> tools\import-data.bat -ft <format> [-sql_dialect<sql_dialect>] -db<database>
> -table<table>
[-h <host>] [-p <port>] [-u <username>] [-pw <password>]
-s <source> -os <on_success> [-sd <success_dir>] -of <on_fail> [-fd
<fail_dir>]
[-tn <thread_num> ] [-tz <timezone>] [-tp <timestamp precision
(ms/us/ns)>]
+
+# V2.0.4.x and later versions
+> tools\windows\import-data.bat -ft <format> [-sql_dialect<sql_dialect>]
-db<database> -table<table>
+ [-h <host>] [-p <port>] [-u <username>] [-pw <password>]
+ -s <source> -os <on_success> [-sd <success_dir>] -of <on_fail> [-fd
<fail_dir>]
+ [-tn <thread_num> ] [-tz <timezone>] [-tp <timestamp precision
(ms/us/ns)>]
```
#### 2.4.2 TsFile-Specific Parameters
diff --git a/src/UserGuide/latest-Table/Tools-System/Schema-Export-Tool.md
b/src/UserGuide/latest-Table/Tools-System/Schema-Export-Tool.md
index 185514f2..f278576e 100644
--- a/src/UserGuide/latest-Table/Tools-System/Schema-Export-Tool.md
+++ b/src/UserGuide/latest-Table/Tools-System/Schema-Export-Tool.md
@@ -55,10 +55,17 @@ Shell
-t <target_directory> [-path <exportPathPattern>] [-pfn
<prefix_file_name>]
[-lpf <lines_per_file>] [-timeout <query_timeout>]
# Windows
+# Before version V2.0.4.x
> tools\export-schema.bat [-sql_dialect<sql_dialect>] -db<database>
> -table<table>
[-h <host>] [-p <port>] [-u <username>] [-pw <password>]
-t <target_directory> [-path <exportPathPattern>] [-pfn
<prefix_file_name>]
[-lpf <lines_per_file>] [-timeout <query_timeout>]
+
+# V2.0.4.x and later versions
+> tools\windows\schema\export-schema.bat [-sql_dialect<sql_dialect>]
-db<database> -table<table>
+ [-h <host>] [-p <port>] [-u <username>] [-pw <password>]
+ -t <target_directory> [-path <exportPathPattern>] [-pfn
<prefix_file_name>]
+ [-lpf <lines_per_file>] [-timeout <query_timeout>]
```
### 2.3 Examples
diff --git a/src/UserGuide/latest-Table/Tools-System/Schema-Import-Tool.md
b/src/UserGuide/latest-Table/Tools-System/Schema-Import-Tool.md
index 94fb1124..cca314db 100644
--- a/src/UserGuide/latest-Table/Tools-System/Schema-Import-Tool.md
+++ b/src/UserGuide/latest-Table/Tools-System/Schema-Import-Tool.md
@@ -52,9 +52,15 @@ tools/import-schema.sh [-sql_dialect<sql_dialect>]
-db<database> -table<table>
-s <source> [-fd <fail_dir>] [-lpf <lines_per_failed_file>]
# Windows
+# Before version V2.0.4.x
tools\import-schema.bat [-sql_dialect<sql_dialect>] -db<database>
-table<table>
[-h <host>] [-p <port>] [-u <username>] [-pw <password>]
-s <source> [-fd <fail_dir>] [-lpf <lines_per_failed_file>]
+
+# V2.0.4.x and later versions
+tools\windows\schema\import-schema.bat [-sql_dialect<sql_dialect>]
-db<database> -table<table>
+ [-h <host>] [-p <port>] [-u <username>] [-pw <password>]
+ -s <source> [-fd <fail_dir>] [-lpf <lines_per_failed_file>]
```
### 2.3 Examples
diff --git
a/src/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_apache.md
b/src/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_apache.md
index beaba3aa..a975de64 100644
---
a/src/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_apache.md
+++
b/src/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_apache.md
@@ -263,7 +263,11 @@ sbin/start-confignode.sh
# Windows
# First switch to the IoTDB root directory
-sbin/start-confignode.bat
+# Before version V2.0.4.x
+sbin\start-confignode.bat
+
+# V2.0.4.x and later versions
+sbin\windows\start-confignode.bat
```
Parameter introduction:
@@ -306,8 +310,11 @@ Then use the script to remove the ConfigNode. Script
command:
sbin/remove-confignode.sh [confignode_id]
#Windows
-sbin/remove-confignode.bat [confignode_id]
+# Before version V2.0.4.x
+sbin\remove-confignode.bat [confignode_id]
+# V2.0.4.x and later versions
+sbin\windows\remove-confignode.bat [confignode_id]
```
### 4.2 DataNode Node Maintenance
@@ -330,7 +337,11 @@ sbin/start-datanode.sh
# Windows
# First switch to the IoTDB root directory
-sbin/start-datanode.bat
+# Before version V2.0.4.x
+sbin\start-datanode.bat
+
+# V2.0.4.x and later versions
+sbin\windows\start-datanode.bat
```
Parameter introduction:
@@ -375,7 +386,11 @@ Then use the script to remove the DataNode. Script command:
sbin/remove-datanode.sh [datanode_id]
#Windows
-sbin/remove-datanode.bat [datanode_id]
+# Before version V2.0.4.x
+sbin\remove-datanode.bat [datanode_id]
+
+# V2.0.4.x and later versions
+sbin\windows\remove-datanode.bat [datanode_id]
```
## 5. Questions
diff --git
a/src/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_timecho.md
b/src/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_timecho.md
index 5ef57758..e87e1cac 100644
---
a/src/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_timecho.md
+++
b/src/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_timecho.md
@@ -309,14 +309,18 @@ ConfigNode maintenance includes adding and removing
ConfigNodes. Common use case
**Linux /** **MacOS**:
-```Plain
+```Bash
sbin/start-confignode.sh
```
**Windows:**
-```Plain
-sbin/start-confignode.bat
+```Bash
+# Before version V2.0.4.x
+sbin\start-confignode.bat
+
+# V2.0.4.x and later versions
+sbin\windows\start-confignode.bat
```
#### Removing a ConfigNode
@@ -355,9 +359,15 @@ sbin/remove-confignode.sh
[cn_internal_address:cn_internal_port]
**Windows:**
```Bash
-sbin/remove-confignode.bat [confignode_id]
+# Before version V2.0.4.x
+sbin\remove-confignode.bat [confignode_id]
+# Or:
+sbin\remove-confignode.bat [cn_internal_address:cn_internal_port]
+
+# V2.0.4.x and later versions
+sbin\windows\remove-confignode.bat [confignode_id]
# Or:
-sbin/remove-confignode.bat [cn_internal_address:cn_internal_port]
+sbin\windows\remove-confignode.bat [cn_internal_address:cn_internal_port]
```
### 4.2 DataNode Maintenance
@@ -373,14 +383,18 @@ DataNode maintenance includes adding and removing
DataNodes. Common use cases in
**Linux /** **MacOS**:
-```Plain
+```Bash
sbin/start-datanode.sh
```
**Windows:**
-```Plain
-sbin/start-datanode.bat
+```Bash
+# Before version V2.0.4.x
+sbin\start-datanode.bat
+
+# V2.0.4.x and later versions
+sbin\windows\start-datanode.bat
```
**Note:** After adding a DataNode, the cluster load will gradually balance
across all nodes as new writes arrive and old data expires (if TTL is set).
@@ -419,7 +433,11 @@ sbin/remove-datanode.sh [dn_rpc_address:dn_rpc_port]
**Windows:**
```Bash
-sbin/remove-datanode.bat [dn_rpc_address:dn_rpc_port]
+# Before version V2.0.4.x
+sbin\remove-datanode.bat [dn_rpc_address:dn_rpc_port]
+
+# V2.0.4.x and later versions
+sbin\windows\remove-datanode.bat [dn_rpc_address:dn_rpc_port]
```
## 5. Common Questions
diff --git a/src/UserGuide/latest/Reference/DataNode-Config-Manual_apache.md
b/src/UserGuide/latest/Reference/DataNode-Config-Manual_apache.md
index e2a3ca1b..2c7563f3 100644
--- a/src/UserGuide/latest/Reference/DataNode-Config-Manual_apache.md
+++ b/src/UserGuide/latest/Reference/DataNode-Config-Manual_apache.md
@@ -398,8 +398,12 @@ To enable GC log, just add a parameter "printgc" when you
start the DataNode.
nohup sbin/start-datanode.sh printgc >/dev/null 2>&1 &
```
Or
-```cmd
+```bash
+# Before version V2.0.4.x
sbin\start-datanode.bat printgc
+
+# V2.0.4.x and later versions
+sbin\windows\start-datanode.bat printgc
```
GC log is stored at `IOTDB_HOME/logs/gc.log`.
diff --git a/src/UserGuide/latest/Reference/DataNode-Config-Manual_timecho.md
b/src/UserGuide/latest/Reference/DataNode-Config-Manual_timecho.md
index 3c6e3f93..dc91fa81 100644
--- a/src/UserGuide/latest/Reference/DataNode-Config-Manual_timecho.md
+++ b/src/UserGuide/latest/Reference/DataNode-Config-Manual_timecho.md
@@ -398,8 +398,12 @@ To enable GC log, just add a parameter "printgc" when you
start the DataNode.
nohup sbin/start-datanode.sh printgc >/dev/null 2>&1 &
```
Or
-```cmd
+```bash
+# Before version V2.0.4.x
sbin\start-datanode.bat printgc
+
+# V2.0.4.x and later versions
+sbin\windows\start-datanode.bat printgc
```
GC log is stored at `IOTDB_HOME/logs/gc.log`.
diff --git a/src/UserGuide/latest/Tools-System/CLI.md
b/src/UserGuide/latest/Tools-System/CLI.md
index 9dd4a124..665af205 100644
--- a/src/UserGuide/latest/Tools-System/CLI.md
+++ b/src/UserGuide/latest/Tools-System/CLI.md
@@ -49,7 +49,7 @@ Here is an example where the cluster is started locally and
the user has not cha
6667 <br>
If you need to connect to the remote DataNode or changes
the rpc port number of the DataNode running, set the specific IP and RPC PORT
at -h and -p.<br>
-You also can set your own environment variable at the front of the start
script ("/sbin/start-cli.sh" for linux and "/sbin/start-cli.bat" for windows)
+You also can set your own environment variable at the front of the start
script
The Linux and MacOS system startup commands are as follows:
@@ -60,7 +60,11 @@ Shell > bash sbin/start-cli.sh -h 127.0.0.1 -p 6667 -u root
-pw root
The Windows system startup commands are as follows:
```shell
+# Before version V2.0.4.x
Shell > sbin\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw root
+
+# V2.0.4.x and later versions
+Shell > sbin\windows\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw root
```
After operating these commands, the cli can be started successfully. The
successful status will be as follows:
@@ -106,7 +110,11 @@ Shell > bash sbin/start-cli.sh -h 10.129.187.21 -p 6667 -u
root -pw root -disabl
The Windows system startup commands are as follows:
```shell
+# Before version V2.0.4.x
Shell > sbin\start-cli.bat -h 10.129.187.21 -p 6667 -u root -pw root
-disableISO8601 -maxPRC 10
+
+# # V2.0.4.x and later versions
+Shell > sbin\windows\start-cli.bat -h 10.129.187.21 -p 6667 -u root -pw root
-disableISO8601 -maxPRC 10
```
### 2.3 CLI Special Command
@@ -252,7 +260,11 @@ Shell > bash sbin/start-cli.sh -h {host} -p {rpcPort} -u
{user} -pw {password} -
The Windows system commands:
```shell
+# Before version V2.0.4.x
Shell > sbin\start-cli.bat -h {host} -p {rpcPort} -u {user} -pw {password} -e
{sql for iotdb}
+
+# V2.0.4.x and later versions
+Shell > sbin\windows\start-cli.bat -h {host} -p {rpcPort} -u {user} -pw
{password} -e {sql for iotdb}
```
In the Windows environment, the SQL statement of the -e parameter needs to use
` `` ` to replace `" "`
diff --git a/src/UserGuide/latest/Tools-System/Data-Export-Tool.md
b/src/UserGuide/latest/Tools-System/Data-Export-Tool.md
index f349f4b8..5601f3b8 100644
--- a/src/UserGuide/latest/Tools-System/Data-Export-Tool.md
+++ b/src/UserGuide/latest/Tools-System/Data-Export-Tool.md
@@ -50,9 +50,15 @@ The data export tool, export-data.sh (Unix/OS X) or
export-data.bat (Windows), l
[-pfn <prefix_file_name>] [-dt <datatype>] [-lpf
<lines_per_file>] [-tf <time_format>]
[-tz <timezone>] [-q <query_command>] [-timeout <query_timeout>]
# Windows
+# Before version V2.0.4.x
> tools\export-data.bat -ft<format> [-h <host>] [-p <port>] [-u <username>]
> [-pw <password>] -t <target_directory>
[-pfn <prefix_file_name>] [-dt <datatype>] [-lpf
<lines_per_file>] [-tf <time_format>]
[-tz <timezone>] [-q <query_command>] [-timeout <query_timeout>]
+
+# V2.0.4.x and later versions
+> tools\windows\export-data.bat -ft<format> [-h <host>] [-p <port>] [-u
<username>] [-pw <password>] -t <target_directory>
+ [-pfn <prefix_file_name>] [-dt <datatype>] [-lpf
<lines_per_file>] [-tf <time_format>]
+ [-tz <timezone>] [-q <query_command>] [-timeout <query_timeout>]
```
#### 2.2.2 CSV-Specific Parameters
@@ -84,9 +90,15 @@ Parse error: Missing required option: t
-lpf <lines_per_file> - [-tf <time_format>] [-tz <timezone>] [-q
<query_command>] [-timeout <query_timeout>]
# Windows
+# Before version V2.0.4.x
> tools\export-data.bat -ft<format> [-h <host> -p <port> -u <username> -pw
> <password>]
-t <target_directory> [-pfn <prefix_file_name> -aligned <export
aligned insert sql>
-lpf <lines_per_file> -tf <time_format> -tz <timezone> -q
<query_command> -timeout <query_timeout>]
+
+# V2.0.4.x and later versions
+> tools\windows\export-data.bat -ft<format> [-h <host> -p <port> -u <username>
-pw <password>]
+ -t <target_directory> [-pfn <prefix_file_name> -aligned <export
aligned insert sql>
+ -lpf <lines_per_file> -tf <time_format> -tz <timezone> -q
<query_command> -timeout <query_timeout>]
```
#### 2.3.2 SQL-Specific Parameters
@@ -119,8 +131,13 @@ Parse error: Missing required option: t
-t <target_directory> [-pfn <prefix_file_name>] [-q <query_command>]
[-timeout <query_timeout>]
# Windows
+# Before version V2.0.4.x
> tools\export-data.bat -ft<format> [-h <host>] [-p <port>] [-u <username>]
> [-pw <password>]
-t <target_directory> [-pfn <prefix_file_name>] [-q <query_command>]
[-timeout <query_timeout>]
+
+# V2.0.4.x and later versions
+> tools\windows\export-data.bat -ft<format> [-h <host>] [-p <port>] [-u
<username>] [-pw <password>]
+ -t <target_directory> [-pfn <prefix_file_name>] [-q <query_command>]
[-timeout <query_timeout>]
```
#### 2.4.2 TsFile-Specific Parameters
diff --git a/src/UserGuide/latest/Tools-System/Data-Import-Tool.md
b/src/UserGuide/latest/Tools-System/Data-Import-Tool.md
index 4387a9ae..e330c056 100644
--- a/src/UserGuide/latest/Tools-System/Data-Import-Tool.md
+++ b/src/UserGuide/latest/Tools-System/Data-Import-Tool.md
@@ -62,10 +62,17 @@ IoTDB supports three methods for data import:
[-tn <thread_num>]
# Windows
+# Before version V2.0.4.x
> tools\import-data.bat -ft<format> [-h <host>] [-p <port>] [-u <username>]
> [-pw <password>]
-s <source> [-fd <fail_dir>] [-lpf <lines_per_failed_file>] [-aligned
<use the aligned interface>]
[-ti <type_infer>] [-tp <timestamp precision (ms/us/ns)>] [-tz
<timezone>] [-batch <batch_size>]
[-tn <thread_num>]
+
+# V2.0.4.x and later versions
+> tools\windows\import-data.bat -ft<format> [-h <host>] [-p <port>] [-u
<username>] [-pw <password>]
+ -s <source> [-fd <fail_dir>] [-lpf <lines_per_failed_file>] [-aligned
<use the aligned interface>]
+ [-ti <type_infer>] [-tp <timestamp precision (ms/us/ns)>] [-tz
<timezone>] [-batch <batch_size>]
+ [-tn <thread_num>]
```
#### 2.2.2 CSV-Specific Parameters
@@ -150,9 +157,15 @@ Time,Device,str(TEXT),var(INT32)
[-batch <batch_size>] [-tn <thread_num>]
# Windows
+# Before version V2.0.4.x
> tools\import-data.bat -ft<format> [-h <host>] [-p <port>] [-u <username>]
> [-pw <password>]
-s<source> [-fd <fail_dir>] [-lpf <lines_per_failed_file>] [-tz
<timezone>]
[-batch <batch_size>] [-tn <thread_num>]
+
+# V2.0.4.x and later versions
+> tools\windows\import-data.bat -ft<format> [-h <host>] [-p <port>] [-u
<username>] [-pw <password>]
+ -s<source> [-fd <fail_dir>] [-lpf <lines_per_failed_file>] [-tz
<timezone>]
+ [-batch <batch_size>] [-tn <thread_num>]
```
#### 2.3.2 SQL-Specific Parameters
@@ -190,9 +203,15 @@ error: Invalid thread number '0'. Please set a positive
integer.
[-tn <thread_num> ] [-tz <timezone>] [-tp <timestamp precision
(ms/us/ns)>]
# Windows
+# Before version V2.0.4.x
> tools\import-data.bat -ft <format> [-h <host>] [-p <port>] [-u <username>]
> [-pw <password>]
-s <source> -os <on_success> [-sd <success_dir>] -of <on_fail> [-fd
<fail_dir>]
[-tn <thread_num> ] [-tz <timezone>] [-tp <timestamp precision
(ms/us/ns)>]
+
+# V2.0.4.x and later versions
+> tools\windows\import-data.bat -ft <format> [-h <host>] [-p <port>] [-u
<username>] [-pw <password>]
+ -s <source> -os <on_success> [-sd <success_dir>] -of <on_fail> [-fd
<fail_dir>]
+ [-tn <thread_num> ] [-tz <timezone>] [-tp <timestamp precision
(ms/us/ns)>]
```
#### 2.4.2 TsFile-Specific Parameters
diff --git a/src/UserGuide/latest/Tools-System/Schema-Export-Tool.md
b/src/UserGuide/latest/Tools-System/Schema-Export-Tool.md
index 7e11b9d3..e6b102d0 100644
--- a/src/UserGuide/latest/Tools-System/Schema-Export-Tool.md
+++ b/src/UserGuide/latest/Tools-System/Schema-Export-Tool.md
@@ -55,10 +55,17 @@ Shell
-t <target_directory> [-path <exportPathPattern>] [-pfn
<prefix_file_name>]
[-lpf <lines_per_file>] [-timeout <query_timeout>]
# Windows
+# Before version V2.0.4.x
> tools\export-schema.bat [-sql_dialect<sql_dialect>] -db<database>
> -table<table>
[-h <host>] [-p <port>] [-u <username>] [-pw <password>]
-t <target_directory> [-path <exportPathPattern>] [-pfn
<prefix_file_name>]
[-lpf <lines_per_file>] [-timeout <query_timeout>]
+
+# V2.0.4.x and later versions
+> tools\windows\schema\export-schema.bat [-sql_dialect<sql_dialect>]
-db<database> -table<table>
+ [-h <host>] [-p <port>] [-u <username>] [-pw <password>]
+ -t <target_directory> [-path <exportPathPattern>] [-pfn
<prefix_file_name>]
+ [-lpf <lines_per_file>] [-timeout <query_timeout>]
```
### 2.3 Examples
diff --git a/src/UserGuide/latest/Tools-System/Schema-Import-Tool.md
b/src/UserGuide/latest/Tools-System/Schema-Import-Tool.md
index d4a1aa68..c3018730 100644
--- a/src/UserGuide/latest/Tools-System/Schema-Import-Tool.md
+++ b/src/UserGuide/latest/Tools-System/Schema-Import-Tool.md
@@ -52,9 +52,15 @@ tools/import-schema.sh [-sql_dialect<sql_dialect>]
-db<database> -table<table>
-s <source> [-fd <fail_dir>] [-lpf <lines_per_failed_file>]
# Windows
+# Before version V2.0.4.x
tools\import-schema.bat [-sql_dialect<sql_dialect>] -db<database>
-table<table>
[-h <host>] [-p <port>] [-u <username>] [-pw <password>]
-s <source> [-fd <fail_dir>] [-lpf <lines_per_failed_file>]
+
+# V2.0.4.x and later versions
+tools\windows\schema\import-schema.bat [-sql_dialect<sql_dialect>]
-db<database> -table<table>
+ [-h <host>] [-p <port>] [-u <username>] [-pw <password>]
+ -s <source> [-fd <fail_dir>] [-lpf <lines_per_failed_file>]
```
### 2.3 Examples
diff --git
a/src/zh/UserGuide/Master/Table/Deployment-and-Maintenance/Cluster-Deployment_apache.md
b/src/zh/UserGuide/Master/Table/Deployment-and-Maintenance/Cluster-Deployment_apache.md
index a5409871..d40d7c5a 100644
---
a/src/zh/UserGuide/Master/Table/Deployment-and-Maintenance/Cluster-Deployment_apache.md
+++
b/src/zh/UserGuide/Master/Table/Deployment-and-Maintenance/Cluster-Deployment_apache.md
@@ -261,7 +261,11 @@ sbin/start-confignode.sh
# Windows
# 首先切换到IoTDB根目录
-sbin/start-confignode.bat
+# V2.0.4.x 版本之前
+sbin\start-confignode.bat
+
+# V2.0.4.x 版本及之后
+sbin\windows\start-confignode.bat
```
#### 4.1.2 移除ConfigNode节点
@@ -307,7 +311,11 @@ sbin/start-datanode.sh
#Windows
# 首先切换到IoTDB根目录
-sbin/start-datanode.bat
+# V2.0.4.x 版本之前
+sbin\start-datanode.bat
+
+# V2.0.4.x 版本及之后
+tools\windows\start-datanode.bat
```
说明:在添加DataNode后,随着新的写入到来(以及旧数据过期,如果设置了TTL),集群负载会逐渐向新的DataNode均衡,最终在所有节点上达到存算资源的均衡。
diff --git
a/src/zh/UserGuide/Master/Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md
b/src/zh/UserGuide/Master/Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md
index 01459161..21f314c0 100644
---
a/src/zh/UserGuide/Master/Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md
+++
b/src/zh/UserGuide/Master/Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md
@@ -315,7 +315,11 @@ sbin/start-confignode.sh
# Windows
# 首先切换到IoTDB根目录
-sbin/start-confignode.bat
+# V2.0.4.x 版本之前
+sbin\start-confignode.bat
+
+# V2.0.4.x 版本及之后
+sbin\windows\start-confignode.bat
```
#### 4.1.2 移除ConfigNode节点
@@ -361,7 +365,11 @@ sbin/start-datanode.sh
#Windows
# 首先切换到IoTDB根目录
-sbin/start-datanode.bat
+# V2.0.4.x 版本之前
+sbin\start-datanode.bat
+
+# V2.0.4.x 版本及之后
+tools\windows\start-datanode.bat
```
说明:在添加DataNode后,随着新的写入到来(以及旧数据过期,如果设置了TTL),集群负载会逐渐向新的DataNode均衡,最终在所有节点上达到存算资源的均衡。
diff --git a/src/zh/UserGuide/Master/Table/Tools-System/CLI.md
b/src/zh/UserGuide/Master/Table/Tools-System/CLI.md
index 7c6e55b1..91ece8f0 100644
--- a/src/zh/UserGuide/Master/Table/Tools-System/CLI.md
+++ b/src/zh/UserGuide/Master/Table/Tools-System/CLI.md
@@ -40,9 +40,15 @@ Shell> bash sbin/start-cli.sh -h 127.0.0.1 -p 6667 -u root
-pw root -sql_dialect
- Windows 系统常用启动命令为:
```Shell
+# V2.0.4.x 版本之前
Shell> sbin\start-cli.bat -sql_dialect table
或
Shell> sbin\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw root -sql_dialect
table
+
+# V2.0.4.x 版本及之后
+Shell> sbin\windows\start-cli.bat -sql_dialect table
+或
+Shell> sbin\windows\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw root
-sql_dialect table
```
其中:
diff --git a/src/zh/UserGuide/Master/Table/Tools-System/Data-Export-Tool.md
b/src/zh/UserGuide/Master/Table/Tools-System/Data-Export-Tool.md
index 185020c6..0855802c 100644
--- a/src/zh/UserGuide/Master/Table/Tools-System/Data-Export-Tool.md
+++ b/src/zh/UserGuide/Master/Table/Tools-System/Data-Export-Tool.md
@@ -60,10 +60,17 @@
-t <target_directory> [-pfn <prefix_file_name>] [-dt
<datatype>] [-lpf <lines_per_file>] [-tf <time_format>]
[-tz <timezone>] [-q <query_command>] [-timeout <query_timeout>]
# Windows
+# V2.0.4.x 版本之前
> tools\export-data.bat -ft<format> [-sql_dialect<sql_dialect>] -db<database>
> -table<table>
[-start_time<start_time>] [-end_time<end_time>] [-h <host>]
[-p <port>] [-u <username>] [-pw <password>]
-t <target_directory> [-pfn <prefix_file_name>] [-dt
<datatype>] [-lpf <lines_per_file>] [-tf <time_format>]
[-tz <timezone>] [-q <query_command>] [-timeout <query_timeout>]
+
+# V2.0.4.x 版本及之后
+> tools\windows\export-data.bat -ft<format> [-sql_dialect<sql_dialect>]
-db<database> -table<table>
+ [-start_time<start_time>] [-end_time<end_time>] [-h <host>]
[-p <port>] [-u <username>] [-pw <password>]
+ -t <target_directory> [-pfn <prefix_file_name>] [-dt
<datatype>] [-lpf <lines_per_file>] [-tf <time_format>]
+ [-tz <timezone>] [-q <query_command>] [-timeout <query_timeout>]
```
#### 2.2.2 私有参数
@@ -98,10 +105,17 @@ Parse error: Missing required option: db
-lpf <lines_per_file> - [-tf <time_format>] [-tz <timezone>] [-q
<query_command>] [-timeout <query_timeout>]
# Windows
+# V2.0.4.x 版本之前
> tools\export-data.bat -ft<format> [-sql_dialect<sql_dialect>] -db<database>
> -table<table>
[-start_time<start_time>] [-end_time<end_time>] [-h <host> -p
<port> -u <username> -pw <password>]
-t <target_directory> [-pfn <prefix_file_name> -aligned <export
aligned insert sql>
-lpf <lines_per_file> -tf <time_format> -tz <timezone> -q
<query_command> -timeout <query_timeout>]
+
+# V2.0.4.x 版本及之后
+> tools\windows\export-data.bat -ft<format> [-sql_dialect<sql_dialect>]
-db<database> -table<table>
+ [-start_time<start_time>] [-end_time<end_time>] [-h <host> -p
<port> -u <username> -pw <password>]
+ -t <target_directory> [-pfn <prefix_file_name> -aligned <export
aligned insert sql>
+ -lpf <lines_per_file> -tf <time_format> -tz <timezone> -q
<query_command> -timeout <query_timeout>]
```
#### 2.3.2 私有参数
@@ -135,9 +149,15 @@ Parse error: Missing required option: db
-t <target_directory> [-pfn <prefix_file_name>] [-q <query_command>]
[-timeout <query_timeout>]
# Windows
+# V2.0.4.x 版本之前
> tools\export-data.bat -ft<format> [-sql_dialect<sql_dialect>] -db<database>
> -table<table>
[-start_time<start_time>] [-end_time<end_time>] [-h <host>]
[-p <port>] [-u <username>] [-pw <password>]
-t <target_directory> [-pfn <prefix_file_name>] [-q <query_command>]
[-timeout <query_timeout>]
+
+# V2.0.4.x 版本及之后
+> tools\windows\export-data.bat -ft<format> [-sql_dialect<sql_dialect>]
-db<database> -table<table>
+ [-start_time<start_time>] [-end_time<end_time>] [-h <host>]
[-p <port>] [-u <username>] [-pw <password>]
+ -t <target_directory> [-pfn <prefix_file_name>] [-q <query_command>]
[-timeout <query_timeout>]
```
#### 2.4.2 私有参数
diff --git a/src/zh/UserGuide/Master/Table/Tools-System/Data-Import-Tool.md
b/src/zh/UserGuide/Master/Table/Tools-System/Data-Import-Tool.md
index 97cce6f4..3d5d041c 100644
--- a/src/zh/UserGuide/Master/Table/Tools-System/Data-Import-Tool.md
+++ b/src/zh/UserGuide/Master/Table/Tools-System/Data-Import-Tool.md
@@ -72,11 +72,19 @@ IoTDB 支持三种方式进行数据导入:
[-tn <thread_num>]
# Windows
+# V2.0.4.x 版本之前
> tools\import-data.bat -ft<format> [-sql_dialect<sql_dialect>] -db<database>
> -table<table>
[-h <host>] [-p <port>] [-u <username>] [-pw <password>]
-s <source> [-fd <fail_dir>] [-lpf <lines_per_failed_file>] [-aligned
<use the aligned interface>]
[-ti <type_infer>] [-tp <timestamp precision (ms/us/ns)>] [-tz
<timezone>] [-batch <batch_size>]
[-tn <thread_num>]
+
+# V2.0.4.x 版本及之后
+> tools\windows\import-data.bat -ft<format> [-sql_dialect<sql_dialect>]
-db<database> -table<table>
+ [-h <host>] [-p <port>] [-u <username>] [-pw <password>]
+ -s <source> [-fd <fail_dir>] [-lpf <lines_per_failed_file>] [-aligned
<use the aligned interface>]
+ [-ti <type_infer>] [-tp <timestamp precision (ms/us/ns)>] [-tz
<timezone>] [-batch <batch_size>]
+ [-tn <thread_num>]
```
#### 2.2.2 私有参数
@@ -134,10 +142,17 @@ time,region,device,model,temperature,humidity
[-batch <batch_size>] [-tn <thread_num>]
# Windows
+# V2.0.4.x 版本之前
> tools\import-data.bat -ft<format> [-sql_dialect<sql_dialect>] -db<database>
> -table<table>
[-h <host>] [-p <port>] [-u <username>] [-pw <password>]
-s<source> [-fd <fail_dir>] [-lpf <lines_per_failed_file>] [-tz
<timezone>]
[-batch <batch_size>] [-tn <thread_num>]
+
+# V2.0.4.x 版本及之后
+> tools\windows\import-data.bat -ft<format> [-sql_dialect<sql_dialect>]
-db<database> -table<table>
+ [-h <host>] [-p <port>] [-u <username>] [-pw <password>]
+ -s<source> [-fd <fail_dir>] [-lpf <lines_per_failed_file>] [-tz
<timezone>]
+ [-batch <batch_size>] [-tn <thread_num>]
```
#### 2.3.2 私有参数
@@ -174,10 +189,17 @@ Fail to insert measurements '[column.name]' caused by
[data type is not consiste
[-tn <thread_num> ] [-tz <timezone>] [-tp <timestamp precision
(ms/us/ns)>]
# Windows
+# V2.0.4.x 版本之前
> tools\import-data.bat -ft <format> [-sql_dialect<sql_dialect>] -db<database>
> -table<table>
[-h <host>] [-p <port>] [-u <username>] [-pw <password>]
-s <source> -os <on_success> [-sd <success_dir>] -of <on_fail> [-fd
<fail_dir>]
[-tn <thread_num> ] [-tz <timezone>] [-tp <timestamp precision
(ms/us/ns)>]
+
+# V2.0.4.x 版本及之后
+> tools\windows\import-data.bat -ft <format> [-sql_dialect<sql_dialect>]
-db<database> -table<table>
+ [-h <host>] [-p <port>] [-u <username>] [-pw <password>]
+ -s <source> -os <on_success> [-sd <success_dir>] -of <on_fail> [-fd
<fail_dir>]
+ [-tn <thread_num> ] [-tz <timezone>] [-tp <timestamp precision
(ms/us/ns)>]
```
#### 2.4.2 私有参数
diff --git a/src/zh/UserGuide/Master/Table/Tools-System/Schema-Export-Tool.md
b/src/zh/UserGuide/Master/Table/Tools-System/Schema-Export-Tool.md
index 0dc23605..8243acec 100644
--- a/src/zh/UserGuide/Master/Table/Tools-System/Schema-Export-Tool.md
+++ b/src/zh/UserGuide/Master/Table/Tools-System/Schema-Export-Tool.md
@@ -55,10 +55,17 @@ Shell
-t <target_directory> [-path <exportPathPattern>] [-pfn
<prefix_file_name>]
[-lpf <lines_per_file>] [-timeout <query_timeout>]
# Windows
+# V2.0.4.x 版本之前
> tools\export-schema.bat [-sql_dialect<sql_dialect>] -db<database>
> -table<table>
[-h <host>] [-p <port>] [-u <username>] [-pw <password>]
-t <target_directory> [-path <exportPathPattern>] [-pfn
<prefix_file_name>]
[-lpf <lines_per_file>] [-timeout <query_timeout>]
+
+# V2.0.4.x 版本及之后
+> tools\windows\schema\export-schema.bat [-sql_dialect<sql_dialect>]
-db<database> -table<table>
+ [-h <host>] [-p <port>] [-u <username>] [-pw <password>]
+ -t <target_directory> [-path <exportPathPattern>] [-pfn
<prefix_file_name>]
+ [-lpf <lines_per_file>] [-timeout <query_timeout>]
```
### 2.3 运行示例
diff --git a/src/zh/UserGuide/Master/Table/Tools-System/Schema-Import-Tool.md
b/src/zh/UserGuide/Master/Table/Tools-System/Schema-Import-Tool.md
index 3060e5fa..26d704be 100644
--- a/src/zh/UserGuide/Master/Table/Tools-System/Schema-Import-Tool.md
+++ b/src/zh/UserGuide/Master/Table/Tools-System/Schema-Import-Tool.md
@@ -52,9 +52,15 @@ tools/import-schema.sh [-sql_dialect<sql_dialect>]
-db<database> -table<table>
-s <source> [-fd <fail_dir>] [-lpf <lines_per_failed_file>]
# Windows
+# V2.0.4.x 版本之前
tools\import-schema.bat [-sql_dialect<sql_dialect>] -db<database>
-table<table>
[-h <host>] [-p <port>] [-u <username>] [-pw <password>]
-s <source> [-fd <fail_dir>] [-lpf <lines_per_failed_file>]
+
+# V2.0.4.x 版本及之后
+tools\windows\schema\import-schema.bat [-sql_dialect<sql_dialect>]
-db<database> -table<table>
+ [-h <host>] [-p <port>] [-u <username>] [-pw <password>]
+ -s <source> [-fd <fail_dir>] [-lpf <lines_per_failed_file>]
```
### 2.3 运行示例
diff --git
a/src/zh/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_apache.md
b/src/zh/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_apache.md
index ce760abc..fc746d37 100644
---
a/src/zh/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_apache.md
+++
b/src/zh/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_apache.md
@@ -262,7 +262,11 @@ sbin/start-confignode.sh
# Windows
# 首先切换到IoTDB根目录
-sbin/start-confignode.bat
+# V2.0.4.x 版本之前
+sbin\start-confignode.bat
+
+# V2.0.4.x 版本及之后
+sbin\windows\start-confignode.bat
```
参数介绍:
@@ -325,7 +329,11 @@ sbin/start-datanode.sh
# Windows
# 首先切换到IoTDB根目录
-sbin/start-datanode.bat
+# V2.0.4.x 版本之前
+sbin\start-datanode.bat
+
+# V2.0.4.x 版本及之后
+tools\windows\start-datanode.bat
```
参数介绍:
diff --git
a/src/zh/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_timecho.md
b/src/zh/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_timecho.md
index 1af9e50e..56b636e3 100644
---
a/src/zh/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_timecho.md
+++
b/src/zh/UserGuide/Master/Tree/Deployment-and-Maintenance/Cluster-Deployment_timecho.md
@@ -299,7 +299,11 @@ sbin/start-confignode.sh
# Windows
# 首先切换到IoTDB根目录
-sbin/start-confignode.bat
+# V2.0.4.x 版本之前
+sbin\start-confignode.bat
+
+# V2.0.4.x 版本及之后
+sbin\windows\start-confignode.bat
```
参数介绍:
@@ -363,7 +367,11 @@ sbin/start-datanode.sh
# Windows
# 首先切换到IoTDB根目录
-sbin/start-datanode.bat
+# V2.0.4.x 版本之前
+sbin\start-datanode.bat
+
+# V2.0.4.x 版本及之后
+tools\windows\start-datanode.bat
```
参数介绍:
diff --git
a/src/zh/UserGuide/Master/Tree/Reference/DataNode-Config-Manual_apache.md
b/src/zh/UserGuide/Master/Tree/Reference/DataNode-Config-Manual_apache.md
index be97c796..ffda1436 100644
--- a/src/zh/UserGuide/Master/Tree/Reference/DataNode-Config-Manual_apache.md
+++ b/src/zh/UserGuide/Master/Tree/Reference/DataNode-Config-Manual_apache.md
@@ -393,7 +393,11 @@ nohup sbin/start-datanode.sh printgc >/dev/null 2>&1 &
或者
```bash
+# V2.0.4.x 版本之前
sbin\start-datanode.bat printgc
+
+# V2.0.4.x 版本及之后
+tools\windows\start-datanode.bat printgc
```
GC 日志会被存储在`IOTDB_HOME/logs/gc.log`. 至多会存储 10 个 gc.log 文件,每个文件最多 10MB。
diff --git
a/src/zh/UserGuide/Master/Tree/Reference/DataNode-Config-Manual_timecho.md
b/src/zh/UserGuide/Master/Tree/Reference/DataNode-Config-Manual_timecho.md
index 95f9baf6..20e27fbb 100644
--- a/src/zh/UserGuide/Master/Tree/Reference/DataNode-Config-Manual_timecho.md
+++ b/src/zh/UserGuide/Master/Tree/Reference/DataNode-Config-Manual_timecho.md
@@ -393,7 +393,11 @@ nohup sbin/start-datanode.sh printgc >/dev/null 2>&1 &
或者
```bash
+# V2.0.4.x 版本之前
sbin\start-datanode.bat printgc
+
+# V2.0.4.x 版本及之后
+tools\windows\start-datanode.bat printgc
```
GC 日志会被存储在`IOTDB_HOME/logs/gc.log`. 至多会存储 10 个 gc.log 文件,每个文件最多 10MB。
diff --git a/src/zh/UserGuide/Master/Tree/Tools-System/CLI.md
b/src/zh/UserGuide/Master/Tree/Tools-System/CLI.md
index 7c62c4ab..23d3470b 100644
--- a/src/zh/UserGuide/Master/Tree/Tools-System/CLI.md
+++ b/src/zh/UserGuide/Master/Tree/Tools-System/CLI.md
@@ -39,7 +39,7 @@ IOTDB 为用户提供 cli/Shell 工具用于启动客户端和服务端程序。
### 2.1 Cli 运行方式
安装后的 IoTDB 中有一个默认用户:`root`,默认密码为`root`。用户可以使用该用户尝试运行 IoTDB
客户端以测试服务器是否正常启动。客户端启动脚本为$IOTDB_HOME/sbin 文件夹下的`start-cli`脚本。启动脚本时需要指定运行 IP 和
RPC PORT。以下为服务器在本机启动,且用户未更改运行端口号的示例,默认端口为 6667。若用户尝试连接远程服务器或更改了服务器运行的端口号,请在-h
和-p 项处使用服务器的 IP 和 RPC PORT。<br>
-用户也可以在启动脚本的最前方设置自己的环境变量,如 JAVA_HOME 等 (对于 linux 用户,脚本路径为:"/sbin/start-cli.sh";
对于 windows 用户,脚本路径为:"/sbin/start-cli.bat")
+用户也可以在启动脚本的最前方设置自己的环境变量,如 JAVA_HOME 等。
Linux 系统与 MacOS 系统启动命令如下:
@@ -49,7 +49,11 @@ Shell > bash sbin/start-cli.sh -h 127.0.0.1 -p 6667 -u root
-pw root
Windows 系统启动命令如下:
```shell
+# V2.0.4.x 版本之前
Shell > sbin\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw root
+
+# V2.0.4.x 版本及之后
+Shell > sbin\windows\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw root
```
回车后即可成功启动客户端。启动后出现如图提示即为启动成功。
@@ -89,7 +93,11 @@ Shell > bash sbin/start-cli.sh -h 10.129.187.21 -p 6667 -u
root -pw root -disabl
Windows 系统启动命令如下:
```shell
+# V2.0.4.x 版本之前
Shell > sbin\start-cli.bat -h 10.129.187.21 -p 6667 -u root -pw root
-disableISO8601 -maxPRC 10
+
+# V2.0.4.x 版本及之后
+Shell > sbin\windows\start-cli.bat -h 10.129.187.21 -p 6667 -u root -pw root
-disableISO8601 -maxPRC 10
```
### 2.3 CLI 特殊命令
@@ -222,7 +230,11 @@ Shell > bash sbin/start-cli.sh -h {host} -p {rpcPort} -u
{user} -pw {password} -
Windows 系统指令
```shell
+# V2.0.4.x 版本之前
Shell > sbin\start-cli.bat -h {host} -p {rpcPort} -u {user} -pw {password} -e
{sql for iotdb}
+
+# V2.0.4.x 版本及之后
+Shell > sbin\windows\start-cli.bat -h {host} -p {rpcPort} -u {user} -pw
{password} -e {sql for iotdb}
```
在 Windows 环境下,-e 参数的 SQL 语句需要使用` `` `对于`" "`进行替换
diff --git a/src/zh/UserGuide/Master/Tree/Tools-System/Data-Export-Tool.md
b/src/zh/UserGuide/Master/Tree/Tools-System/Data-Export-Tool.md
index d2853627..cfc3b510 100644
--- a/src/zh/UserGuide/Master/Tree/Tools-System/Data-Export-Tool.md
+++ b/src/zh/UserGuide/Master/Tree/Tools-System/Data-Export-Tool.md
@@ -54,9 +54,15 @@
[-pfn <prefix_file_name>] [-dt <datatype>] [-lpf
<lines_per_file>] [-tf <time_format>]
[-tz <timezone>] [-q <query_command>] [-timeout <query_timeout>]
# Windows
+# V2.0.4.x 版本之前
> tools\export-data.bat -ft<format> [-h <host>] [-p <port>] [-u <username>]
> [-pw <password>] -t <target_directory>
[-pfn <prefix_file_name>] [-dt <datatype>] [-lpf
<lines_per_file>] [-tf <time_format>]
[-tz <timezone>] [-q <query_command>] [-timeout <query_timeout>]
+
+# V2.0.4.x 版本及之后
+> tools\windows\export-data.bat -ft<format> [-h <host>] [-p <port>] [-u
<username>] [-pw <password>] -t <target_directory>
+ [-pfn <prefix_file_name>] [-dt <datatype>] [-lpf
<lines_per_file>] [-tf <time_format>]
+ [-tz <timezone>] [-q <query_command>] [-timeout <query_timeout>]
```
#### 2.2.2 私有参数
@@ -92,9 +98,15 @@ Parse error: Missing required option: t
-lpf <lines_per_file> - [-tf <time_format>] [-tz <timezone>] [-q
<query_command>] [-timeout <query_timeout>]
# Windows
+# V2.0.4.x 版本之前
> tools\export-data.bat -ft<format> [-h <host> -p <port> -u <username> -pw
> <password>]
-t <target_directory> [-pfn <prefix_file_name> -aligned <export
aligned insert sql>
-lpf <lines_per_file> -tf <time_format> -tz <timezone> -q
<query_command> -timeout <query_timeout>]
+
+# V2.0.4.x 版本及之后
+> tools\windows\export-data.bat -ft<format> [-h <host> -p <port> -u <username>
-pw <password>]
+ -t <target_directory> [-pfn <prefix_file_name> -aligned <export
aligned insert sql>
+ -lpf <lines_per_file> -tf <time_format> -tz <timezone> -q
<query_command> -timeout <query_timeout>]
```
#### 2.3.2 私有参数
@@ -129,8 +141,13 @@ Parse error: Missing required option: t
-t <target_directory> [-pfn <prefix_file_name>] [-q <query_command>]
[-timeout <query_timeout>]
# Windows
+# V2.0.4.x 版本之前
> tools\export-data.bat -ft<format> [-h <host>] [-p <port>] [-u <username>]
> [-pw <password>]
-t <target_directory> [-pfn <prefix_file_name>] [-q <query_command>]
[-timeout <query_timeout>]
+
+# V2.0.4.x 版本及之后
+> tools\windows\export-data.bat -ft<format> [-h <host>] [-p <port>] [-u
<username>] [-pw <password>]
+ -t <target_directory> [-pfn <prefix_file_name>] [-q <query_command>]
[-timeout <query_timeout>]
```
#### 2.4.2 私有参数
diff --git a/src/zh/UserGuide/Master/Tree/Tools-System/Data-Import-Tool.md
b/src/zh/UserGuide/Master/Tree/Tools-System/Data-Import-Tool.md
index 0d8bede0..57e843a3 100644
--- a/src/zh/UserGuide/Master/Tree/Tools-System/Data-Import-Tool.md
+++ b/src/zh/UserGuide/Master/Tree/Tools-System/Data-Import-Tool.md
@@ -68,10 +68,17 @@ IoTDB 支持三种方式进行数据导入:
[-tn <thread_num>]
# Windows
+# V2.0.4.x 版本之前
> tools\import-data.bat -ft<format> [-h <host>] [-p <port>] [-u <username>]
> [-pw <password>]
-s <source> [-fd <fail_dir>] [-lpf <lines_per_failed_file>] [-aligned
<use the aligned interface>]
[-ti <type_infer>] [-tp <timestamp precision (ms/us/ns)>] [-tz
<timezone>] [-batch <batch_size>]
[-tn <thread_num>]
+
+# V2.0.4.x 版本及之后
+> tools\windows\import-data.bat -ft<format> [-h <host>] [-p <port>] [-u
<username>] [-pw <password>]
+ -s <source> [-fd <fail_dir>] [-lpf <lines_per_failed_file>] [-aligned
<use the aligned interface>]
+ [-ti <type_infer>] [-tp <timestamp precision (ms/us/ns)>] [-tz
<timezone>] [-batch <batch_size>]
+ [-tn <thread_num>]
```
#### 2.2.2 私有参数
@@ -156,6 +163,12 @@ Time,Device,str(TEXT),var(INT32)
[-batch <batch_size>] [-tn <thread_num>]
# Windows
+# V2.0.4.x 版本之前
+> tools\import-data.bat -ft<format> [-h <host>] [-p <port>] [-u <username>]
[-pw <password>]
+ -s<source> [-fd <fail_dir>] [-lpf <lines_per_failed_file>] [-tz
<timezone>]
+ [-batch <batch_size>] [-tn <thread_num>]
+
+# V2.0.4.x 版本及之后
> tools\import-data.bat -ft<format> [-h <host>] [-p <port>] [-u <username>]
> [-pw <password>]
-s<source> [-fd <fail_dir>] [-lpf <lines_per_failed_file>] [-tz
<timezone>]
[-batch <batch_size>] [-tn <thread_num>]
@@ -197,9 +210,15 @@ error: Invalid thread number '0'. Please set a positive
integer.
[-tn <thread_num> ] [-tz <timezone>] [-tp <timestamp precision
(ms/us/ns)>]
# Windows
+# V2.0.4.x 版本之前
> tools\import-data.bat -ft <format> [-h <host>] [-p <port>] [-u <username>]
> [-pw <password>]
-s <source> -os <on_success> [-sd <success_dir>] -of <on_fail> [-fd
<fail_dir>]
[-tn <thread_num> ] [-tz <timezone>] [-tp <timestamp precision
(ms/us/ns)>]
+
+# V2.0.4.x 版本及之后
+> tools\windows\import-data.bat -ft <format> [-h <host>] [-p <port>] [-u
<username>] [-pw <password>]
+ -s <source> -os <on_success> [-sd <success_dir>] -of <on_fail> [-fd
<fail_dir>]
+ [-tn <thread_num> ] [-tz <timezone>] [-tp <timestamp precision
(ms/us/ns)>]
```
#### 2.4.2 私有参数
diff --git a/src/zh/UserGuide/Master/Tree/Tools-System/Schema-Export-Tool.md
b/src/zh/UserGuide/Master/Tree/Tools-System/Schema-Export-Tool.md
index ec217b1e..ec729876 100644
--- a/src/zh/UserGuide/Master/Tree/Tools-System/Schema-Export-Tool.md
+++ b/src/zh/UserGuide/Master/Tree/Tools-System/Schema-Export-Tool.md
@@ -55,10 +55,17 @@ Shell
-t <target_directory> [-path <exportPathPattern>] [-pfn
<prefix_file_name>]
[-lpf <lines_per_file>] [-timeout <query_timeout>]
# Windows
+# V2.0.4.x 版本之前
> tools\export-schema.bat [-sql_dialect<sql_dialect>] -db<database>
> -table<table>
[-h <host>] [-p <port>] [-u <username>] [-pw <password>]
-t <target_directory> [-path <exportPathPattern>] [-pfn
<prefix_file_name>]
[-lpf <lines_per_file>] [-timeout <query_timeout>]
+
+# V2.0.4.x 版本及之后
+> tools\windows\schema\export-schema.bat [-sql_dialect<sql_dialect>]
-db<database> -table<table>
+ [-h <host>] [-p <port>] [-u <username>] [-pw <password>]
+ -t <target_directory> [-path <exportPathPattern>] [-pfn
<prefix_file_name>]
+ [-lpf <lines_per_file>] [-timeout <query_timeout>]
```
### 2.3 运行示例
diff --git a/src/zh/UserGuide/Master/Tree/Tools-System/Schema-Import-Tool.md
b/src/zh/UserGuide/Master/Tree/Tools-System/Schema-Import-Tool.md
index 22bd3cc3..7d398ccc 100644
--- a/src/zh/UserGuide/Master/Tree/Tools-System/Schema-Import-Tool.md
+++ b/src/zh/UserGuide/Master/Tree/Tools-System/Schema-Import-Tool.md
@@ -52,9 +52,15 @@ tools/import-schema.sh [-sql_dialect<sql_dialect>]
-db<database> -table<table>
-s <source> [-fd <fail_dir>] [-lpf <lines_per_failed_file>]
# Windows
+# V2.0.4.x 版本之前
tools\import-schema.bat [-sql_dialect<sql_dialect>] -db<database>
-table<table>
[-h <host>] [-p <port>] [-u <username>] [-pw <password>]
-s <source> [-fd <fail_dir>] [-lpf <lines_per_failed_file>]
+
+# V2.0.4.x 版本及之后
+tools\windows\schema\import-schema.bat [-sql_dialect<sql_dialect>]
-db<database> -table<table>
+ [-h <host>] [-p <port>] [-u <username>] [-pw <password>]
+ -s <source> [-fd <fail_dir>] [-lpf <lines_per_failed_file>]
```
### 2.3 运行示例
diff --git
a/src/zh/UserGuide/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_apache.md
b/src/zh/UserGuide/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_apache.md
index efe2a6f1..fef30240 100644
---
a/src/zh/UserGuide/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_apache.md
+++
b/src/zh/UserGuide/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_apache.md
@@ -260,7 +260,11 @@ sbin/start-confignode.sh
# Windows
# 首先切换到IoTDB根目录
-sbin/start-confignode.bat
+# V2.0.4.x 版本之前
+sbin\start-confignode.bat
+
+# V2.0.4.x 版本及之后
+sbin\windows\start-confignode.bat
```
#### 4.1.2 移除ConfigNode节点
@@ -306,7 +310,11 @@ sbin/start-datanode.sh
#Windows
# 首先切换到IoTDB根目录
-sbin/start-datanode.bat
+# V2.0.4.x 版本之前
+sbin\start-datanode.bat
+
+# V2.0.4.x 版本及之后
+tools\windows\start-datanode.bat
```
说明:在添加DataNode后,随着新的写入到来(以及旧数据过期,如果设置了TTL),集群负载会逐渐向新的DataNode均衡,最终在所有节点上达到存算资源的均衡。
diff --git
a/src/zh/UserGuide/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md
b/src/zh/UserGuide/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md
index 01459161..21f314c0 100644
---
a/src/zh/UserGuide/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md
+++
b/src/zh/UserGuide/latest-Table/Deployment-and-Maintenance/Cluster-Deployment_timecho.md
@@ -315,7 +315,11 @@ sbin/start-confignode.sh
# Windows
# 首先切换到IoTDB根目录
-sbin/start-confignode.bat
+# V2.0.4.x 版本之前
+sbin\start-confignode.bat
+
+# V2.0.4.x 版本及之后
+sbin\windows\start-confignode.bat
```
#### 4.1.2 移除ConfigNode节点
@@ -361,7 +365,11 @@ sbin/start-datanode.sh
#Windows
# 首先切换到IoTDB根目录
-sbin/start-datanode.bat
+# V2.0.4.x 版本之前
+sbin\start-datanode.bat
+
+# V2.0.4.x 版本及之后
+tools\windows\start-datanode.bat
```
说明:在添加DataNode后,随着新的写入到来(以及旧数据过期,如果设置了TTL),集群负载会逐渐向新的DataNode均衡,最终在所有节点上达到存算资源的均衡。
diff --git a/src/zh/UserGuide/latest-Table/Tools-System/CLI.md
b/src/zh/UserGuide/latest-Table/Tools-System/CLI.md
index 7c6e55b1..91ece8f0 100644
--- a/src/zh/UserGuide/latest-Table/Tools-System/CLI.md
+++ b/src/zh/UserGuide/latest-Table/Tools-System/CLI.md
@@ -40,9 +40,15 @@ Shell> bash sbin/start-cli.sh -h 127.0.0.1 -p 6667 -u root
-pw root -sql_dialect
- Windows 系统常用启动命令为:
```Shell
+# V2.0.4.x 版本之前
Shell> sbin\start-cli.bat -sql_dialect table
或
Shell> sbin\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw root -sql_dialect
table
+
+# V2.0.4.x 版本及之后
+Shell> sbin\windows\start-cli.bat -sql_dialect table
+或
+Shell> sbin\windows\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw root
-sql_dialect table
```
其中:
diff --git a/src/zh/UserGuide/latest-Table/Tools-System/Data-Export-Tool.md
b/src/zh/UserGuide/latest-Table/Tools-System/Data-Export-Tool.md
index 185020c6..0855802c 100644
--- a/src/zh/UserGuide/latest-Table/Tools-System/Data-Export-Tool.md
+++ b/src/zh/UserGuide/latest-Table/Tools-System/Data-Export-Tool.md
@@ -60,10 +60,17 @@
-t <target_directory> [-pfn <prefix_file_name>] [-dt
<datatype>] [-lpf <lines_per_file>] [-tf <time_format>]
[-tz <timezone>] [-q <query_command>] [-timeout <query_timeout>]
# Windows
+# V2.0.4.x 版本之前
> tools\export-data.bat -ft<format> [-sql_dialect<sql_dialect>] -db<database>
> -table<table>
[-start_time<start_time>] [-end_time<end_time>] [-h <host>]
[-p <port>] [-u <username>] [-pw <password>]
-t <target_directory> [-pfn <prefix_file_name>] [-dt
<datatype>] [-lpf <lines_per_file>] [-tf <time_format>]
[-tz <timezone>] [-q <query_command>] [-timeout <query_timeout>]
+
+# V2.0.4.x 版本及之后
+> tools\windows\export-data.bat -ft<format> [-sql_dialect<sql_dialect>]
-db<database> -table<table>
+ [-start_time<start_time>] [-end_time<end_time>] [-h <host>]
[-p <port>] [-u <username>] [-pw <password>]
+ -t <target_directory> [-pfn <prefix_file_name>] [-dt
<datatype>] [-lpf <lines_per_file>] [-tf <time_format>]
+ [-tz <timezone>] [-q <query_command>] [-timeout <query_timeout>]
```
#### 2.2.2 私有参数
@@ -98,10 +105,17 @@ Parse error: Missing required option: db
-lpf <lines_per_file> - [-tf <time_format>] [-tz <timezone>] [-q
<query_command>] [-timeout <query_timeout>]
# Windows
+# V2.0.4.x 版本之前
> tools\export-data.bat -ft<format> [-sql_dialect<sql_dialect>] -db<database>
> -table<table>
[-start_time<start_time>] [-end_time<end_time>] [-h <host> -p
<port> -u <username> -pw <password>]
-t <target_directory> [-pfn <prefix_file_name> -aligned <export
aligned insert sql>
-lpf <lines_per_file> -tf <time_format> -tz <timezone> -q
<query_command> -timeout <query_timeout>]
+
+# V2.0.4.x 版本及之后
+> tools\windows\export-data.bat -ft<format> [-sql_dialect<sql_dialect>]
-db<database> -table<table>
+ [-start_time<start_time>] [-end_time<end_time>] [-h <host> -p
<port> -u <username> -pw <password>]
+ -t <target_directory> [-pfn <prefix_file_name> -aligned <export
aligned insert sql>
+ -lpf <lines_per_file> -tf <time_format> -tz <timezone> -q
<query_command> -timeout <query_timeout>]
```
#### 2.3.2 私有参数
@@ -135,9 +149,15 @@ Parse error: Missing required option: db
-t <target_directory> [-pfn <prefix_file_name>] [-q <query_command>]
[-timeout <query_timeout>]
# Windows
+# V2.0.4.x 版本之前
> tools\export-data.bat -ft<format> [-sql_dialect<sql_dialect>] -db<database>
> -table<table>
[-start_time<start_time>] [-end_time<end_time>] [-h <host>]
[-p <port>] [-u <username>] [-pw <password>]
-t <target_directory> [-pfn <prefix_file_name>] [-q <query_command>]
[-timeout <query_timeout>]
+
+# V2.0.4.x 版本及之后
+> tools\windows\export-data.bat -ft<format> [-sql_dialect<sql_dialect>]
-db<database> -table<table>
+ [-start_time<start_time>] [-end_time<end_time>] [-h <host>]
[-p <port>] [-u <username>] [-pw <password>]
+ -t <target_directory> [-pfn <prefix_file_name>] [-q <query_command>]
[-timeout <query_timeout>]
```
#### 2.4.2 私有参数
diff --git a/src/zh/UserGuide/latest-Table/Tools-System/Data-Import-Tool.md
b/src/zh/UserGuide/latest-Table/Tools-System/Data-Import-Tool.md
index 49920e21..aa75f662 100644
--- a/src/zh/UserGuide/latest-Table/Tools-System/Data-Import-Tool.md
+++ b/src/zh/UserGuide/latest-Table/Tools-System/Data-Import-Tool.md
@@ -72,11 +72,19 @@ IoTDB 支持三种方式进行数据导入:
[-tn <thread_num>]
# Windows
+# V2.0.4.x 版本之前
> tools\import-data.bat -ft<format> [-sql_dialect<sql_dialect>] -db<database>
> -table<table>
[-h <host>] [-p <port>] [-u <username>] [-pw <password>]
-s <source> [-fd <fail_dir>] [-lpf <lines_per_failed_file>] [-aligned
<use the aligned interface>]
[-ti <type_infer>] [-tp <timestamp precision (ms/us/ns)>] [-tz
<timezone>] [-batch <batch_size>]
[-tn <thread_num>]
+
+# V2.0.4.x 版本及之后
+> tools\windows\import-data.bat -ft<format> [-sql_dialect<sql_dialect>]
-db<database> -table<table>
+ [-h <host>] [-p <port>] [-u <username>] [-pw <password>]
+ -s <source> [-fd <fail_dir>] [-lpf <lines_per_failed_file>] [-aligned
<use the aligned interface>]
+ [-ti <type_infer>] [-tp <timestamp precision (ms/us/ns)>] [-tz
<timezone>] [-batch <batch_size>]
+ [-tn <thread_num>]
```
#### 2.2.2 私有参数
@@ -134,10 +142,17 @@ time,region,device,model,temperature,humidity
[-batch <batch_size>] [-tn <thread_num>]
# Windows
+# V2.0.4.x 版本之前
> tools\import-data.bat -ft<format> [-sql_dialect<sql_dialect>] -db<database>
> -table<table>
[-h <host>] [-p <port>] [-u <username>] [-pw <password>]
-s<source> [-fd <fail_dir>] [-lpf <lines_per_failed_file>] [-tz
<timezone>]
[-batch <batch_size>] [-tn <thread_num>]
+
+# V2.0.4.x 版本及之后
+> tools\windows\import-data.bat -ft<format> [-sql_dialect<sql_dialect>]
-db<database> -table<table>
+ [-h <host>] [-p <port>] [-u <username>] [-pw <password>]
+ -s<source> [-fd <fail_dir>] [-lpf <lines_per_failed_file>] [-tz
<timezone>]
+ [-batch <batch_size>] [-tn <thread_num>]
```
#### 2.3.2 私有参数
@@ -174,10 +189,17 @@ Fail to insert measurements '[column.name]' caused by
[data type is not consiste
[-tn <thread_num> ] [-tz <timezone>] [-tp <timestamp precision
(ms/us/ns)>]
# Windows
+# V2.0.4.x 版本之前
> tools\import-data.bat -ft <format> [-sql_dialect<sql_dialect>] -db<database>
> -table<table>
[-h <host>] [-p <port>] [-u <username>] [-pw <password>]
-s <source> -os <on_success> [-sd <success_dir>] -of <on_fail> [-fd
<fail_dir>]
[-tn <thread_num> ] [-tz <timezone>] [-tp <timestamp precision
(ms/us/ns)>]
+
+# V2.0.4.x 版本及之后
+> tools\windows\import-data.bat -ft <format> [-sql_dialect<sql_dialect>]
-db<database> -table<table>
+ [-h <host>] [-p <port>] [-u <username>] [-pw <password>]
+ -s <source> -os <on_success> [-sd <success_dir>] -of <on_fail> [-fd
<fail_dir>]
+ [-tn <thread_num> ] [-tz <timezone>] [-tp <timestamp precision
(ms/us/ns)>]
```
#### 2.4.2 私有参数
diff --git a/src/zh/UserGuide/latest-Table/Tools-System/Schema-Export-Tool.md
b/src/zh/UserGuide/latest-Table/Tools-System/Schema-Export-Tool.md
index 0dc23605..8243acec 100644
--- a/src/zh/UserGuide/latest-Table/Tools-System/Schema-Export-Tool.md
+++ b/src/zh/UserGuide/latest-Table/Tools-System/Schema-Export-Tool.md
@@ -55,10 +55,17 @@ Shell
-t <target_directory> [-path <exportPathPattern>] [-pfn
<prefix_file_name>]
[-lpf <lines_per_file>] [-timeout <query_timeout>]
# Windows
+# V2.0.4.x 版本之前
> tools\export-schema.bat [-sql_dialect<sql_dialect>] -db<database>
> -table<table>
[-h <host>] [-p <port>] [-u <username>] [-pw <password>]
-t <target_directory> [-path <exportPathPattern>] [-pfn
<prefix_file_name>]
[-lpf <lines_per_file>] [-timeout <query_timeout>]
+
+# V2.0.4.x 版本及之后
+> tools\windows\schema\export-schema.bat [-sql_dialect<sql_dialect>]
-db<database> -table<table>
+ [-h <host>] [-p <port>] [-u <username>] [-pw <password>]
+ -t <target_directory> [-path <exportPathPattern>] [-pfn
<prefix_file_name>]
+ [-lpf <lines_per_file>] [-timeout <query_timeout>]
```
### 2.3 运行示例
diff --git a/src/zh/UserGuide/latest-Table/Tools-System/Schema-Import-Tool.md
b/src/zh/UserGuide/latest-Table/Tools-System/Schema-Import-Tool.md
index 3060e5fa..26d704be 100644
--- a/src/zh/UserGuide/latest-Table/Tools-System/Schema-Import-Tool.md
+++ b/src/zh/UserGuide/latest-Table/Tools-System/Schema-Import-Tool.md
@@ -52,9 +52,15 @@ tools/import-schema.sh [-sql_dialect<sql_dialect>]
-db<database> -table<table>
-s <source> [-fd <fail_dir>] [-lpf <lines_per_failed_file>]
# Windows
+# V2.0.4.x 版本之前
tools\import-schema.bat [-sql_dialect<sql_dialect>] -db<database>
-table<table>
[-h <host>] [-p <port>] [-u <username>] [-pw <password>]
-s <source> [-fd <fail_dir>] [-lpf <lines_per_failed_file>]
+
+# V2.0.4.x 版本及之后
+tools\windows\schema\import-schema.bat [-sql_dialect<sql_dialect>]
-db<database> -table<table>
+ [-h <host>] [-p <port>] [-u <username>] [-pw <password>]
+ -s <source> [-fd <fail_dir>] [-lpf <lines_per_failed_file>]
```
### 2.3 运行示例
diff --git
a/src/zh/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_apache.md
b/src/zh/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_apache.md
index ce760abc..fc746d37 100644
---
a/src/zh/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_apache.md
+++
b/src/zh/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_apache.md
@@ -262,7 +262,11 @@ sbin/start-confignode.sh
# Windows
# 首先切换到IoTDB根目录
-sbin/start-confignode.bat
+# V2.0.4.x 版本之前
+sbin\start-confignode.bat
+
+# V2.0.4.x 版本及之后
+sbin\windows\start-confignode.bat
```
参数介绍:
@@ -325,7 +329,11 @@ sbin/start-datanode.sh
# Windows
# 首先切换到IoTDB根目录
-sbin/start-datanode.bat
+# V2.0.4.x 版本之前
+sbin\start-datanode.bat
+
+# V2.0.4.x 版本及之后
+tools\windows\start-datanode.bat
```
参数介绍:
diff --git
a/src/zh/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_timecho.md
b/src/zh/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_timecho.md
index 1af9e50e..56b636e3 100644
---
a/src/zh/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_timecho.md
+++
b/src/zh/UserGuide/latest/Deployment-and-Maintenance/Cluster-Deployment_timecho.md
@@ -299,7 +299,11 @@ sbin/start-confignode.sh
# Windows
# 首先切换到IoTDB根目录
-sbin/start-confignode.bat
+# V2.0.4.x 版本之前
+sbin\start-confignode.bat
+
+# V2.0.4.x 版本及之后
+sbin\windows\start-confignode.bat
```
参数介绍:
@@ -363,7 +367,11 @@ sbin/start-datanode.sh
# Windows
# 首先切换到IoTDB根目录
-sbin/start-datanode.bat
+# V2.0.4.x 版本之前
+sbin\start-datanode.bat
+
+# V2.0.4.x 版本及之后
+tools\windows\start-datanode.bat
```
参数介绍:
diff --git a/src/zh/UserGuide/latest/Reference/DataNode-Config-Manual_apache.md
b/src/zh/UserGuide/latest/Reference/DataNode-Config-Manual_apache.md
index be97c796..ffda1436 100644
--- a/src/zh/UserGuide/latest/Reference/DataNode-Config-Manual_apache.md
+++ b/src/zh/UserGuide/latest/Reference/DataNode-Config-Manual_apache.md
@@ -393,7 +393,11 @@ nohup sbin/start-datanode.sh printgc >/dev/null 2>&1 &
或者
```bash
+# V2.0.4.x 版本之前
sbin\start-datanode.bat printgc
+
+# V2.0.4.x 版本及之后
+tools\windows\start-datanode.bat printgc
```
GC 日志会被存储在`IOTDB_HOME/logs/gc.log`. 至多会存储 10 个 gc.log 文件,每个文件最多 10MB。
diff --git
a/src/zh/UserGuide/latest/Reference/DataNode-Config-Manual_timecho.md
b/src/zh/UserGuide/latest/Reference/DataNode-Config-Manual_timecho.md
index 95f9baf6..20e27fbb 100644
--- a/src/zh/UserGuide/latest/Reference/DataNode-Config-Manual_timecho.md
+++ b/src/zh/UserGuide/latest/Reference/DataNode-Config-Manual_timecho.md
@@ -393,7 +393,11 @@ nohup sbin/start-datanode.sh printgc >/dev/null 2>&1 &
或者
```bash
+# V2.0.4.x 版本之前
sbin\start-datanode.bat printgc
+
+# V2.0.4.x 版本及之后
+tools\windows\start-datanode.bat printgc
```
GC 日志会被存储在`IOTDB_HOME/logs/gc.log`. 至多会存储 10 个 gc.log 文件,每个文件最多 10MB。
diff --git a/src/zh/UserGuide/latest/Tools-System/CLI.md
b/src/zh/UserGuide/latest/Tools-System/CLI.md
index 7c62c4ab..23d3470b 100644
--- a/src/zh/UserGuide/latest/Tools-System/CLI.md
+++ b/src/zh/UserGuide/latest/Tools-System/CLI.md
@@ -39,7 +39,7 @@ IOTDB 为用户提供 cli/Shell 工具用于启动客户端和服务端程序。
### 2.1 Cli 运行方式
安装后的 IoTDB 中有一个默认用户:`root`,默认密码为`root`。用户可以使用该用户尝试运行 IoTDB
客户端以测试服务器是否正常启动。客户端启动脚本为$IOTDB_HOME/sbin 文件夹下的`start-cli`脚本。启动脚本时需要指定运行 IP 和
RPC PORT。以下为服务器在本机启动,且用户未更改运行端口号的示例,默认端口为 6667。若用户尝试连接远程服务器或更改了服务器运行的端口号,请在-h
和-p 项处使用服务器的 IP 和 RPC PORT。<br>
-用户也可以在启动脚本的最前方设置自己的环境变量,如 JAVA_HOME 等 (对于 linux 用户,脚本路径为:"/sbin/start-cli.sh";
对于 windows 用户,脚本路径为:"/sbin/start-cli.bat")
+用户也可以在启动脚本的最前方设置自己的环境变量,如 JAVA_HOME 等。
Linux 系统与 MacOS 系统启动命令如下:
@@ -49,7 +49,11 @@ Shell > bash sbin/start-cli.sh -h 127.0.0.1 -p 6667 -u root
-pw root
Windows 系统启动命令如下:
```shell
+# V2.0.4.x 版本之前
Shell > sbin\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw root
+
+# V2.0.4.x 版本及之后
+Shell > sbin\windows\start-cli.bat -h 127.0.0.1 -p 6667 -u root -pw root
```
回车后即可成功启动客户端。启动后出现如图提示即为启动成功。
@@ -89,7 +93,11 @@ Shell > bash sbin/start-cli.sh -h 10.129.187.21 -p 6667 -u
root -pw root -disabl
Windows 系统启动命令如下:
```shell
+# V2.0.4.x 版本之前
Shell > sbin\start-cli.bat -h 10.129.187.21 -p 6667 -u root -pw root
-disableISO8601 -maxPRC 10
+
+# V2.0.4.x 版本及之后
+Shell > sbin\windows\start-cli.bat -h 10.129.187.21 -p 6667 -u root -pw root
-disableISO8601 -maxPRC 10
```
### 2.3 CLI 特殊命令
@@ -222,7 +230,11 @@ Shell > bash sbin/start-cli.sh -h {host} -p {rpcPort} -u
{user} -pw {password} -
Windows 系统指令
```shell
+# V2.0.4.x 版本之前
Shell > sbin\start-cli.bat -h {host} -p {rpcPort} -u {user} -pw {password} -e
{sql for iotdb}
+
+# V2.0.4.x 版本及之后
+Shell > sbin\windows\start-cli.bat -h {host} -p {rpcPort} -u {user} -pw
{password} -e {sql for iotdb}
```
在 Windows 环境下,-e 参数的 SQL 语句需要使用` `` `对于`" "`进行替换
diff --git a/src/zh/UserGuide/latest/Tools-System/Data-Export-Tool.md
b/src/zh/UserGuide/latest/Tools-System/Data-Export-Tool.md
index d2853627..cfc3b510 100644
--- a/src/zh/UserGuide/latest/Tools-System/Data-Export-Tool.md
+++ b/src/zh/UserGuide/latest/Tools-System/Data-Export-Tool.md
@@ -54,9 +54,15 @@
[-pfn <prefix_file_name>] [-dt <datatype>] [-lpf
<lines_per_file>] [-tf <time_format>]
[-tz <timezone>] [-q <query_command>] [-timeout <query_timeout>]
# Windows
+# V2.0.4.x 版本之前
> tools\export-data.bat -ft<format> [-h <host>] [-p <port>] [-u <username>]
> [-pw <password>] -t <target_directory>
[-pfn <prefix_file_name>] [-dt <datatype>] [-lpf
<lines_per_file>] [-tf <time_format>]
[-tz <timezone>] [-q <query_command>] [-timeout <query_timeout>]
+
+# V2.0.4.x 版本及之后
+> tools\windows\export-data.bat -ft<format> [-h <host>] [-p <port>] [-u
<username>] [-pw <password>] -t <target_directory>
+ [-pfn <prefix_file_name>] [-dt <datatype>] [-lpf
<lines_per_file>] [-tf <time_format>]
+ [-tz <timezone>] [-q <query_command>] [-timeout <query_timeout>]
```
#### 2.2.2 私有参数
@@ -92,9 +98,15 @@ Parse error: Missing required option: t
-lpf <lines_per_file> - [-tf <time_format>] [-tz <timezone>] [-q
<query_command>] [-timeout <query_timeout>]
# Windows
+# V2.0.4.x 版本之前
> tools\export-data.bat -ft<format> [-h <host> -p <port> -u <username> -pw
> <password>]
-t <target_directory> [-pfn <prefix_file_name> -aligned <export
aligned insert sql>
-lpf <lines_per_file> -tf <time_format> -tz <timezone> -q
<query_command> -timeout <query_timeout>]
+
+# V2.0.4.x 版本及之后
+> tools\windows\export-data.bat -ft<format> [-h <host> -p <port> -u <username>
-pw <password>]
+ -t <target_directory> [-pfn <prefix_file_name> -aligned <export
aligned insert sql>
+ -lpf <lines_per_file> -tf <time_format> -tz <timezone> -q
<query_command> -timeout <query_timeout>]
```
#### 2.3.2 私有参数
@@ -129,8 +141,13 @@ Parse error: Missing required option: t
-t <target_directory> [-pfn <prefix_file_name>] [-q <query_command>]
[-timeout <query_timeout>]
# Windows
+# V2.0.4.x 版本之前
> tools\export-data.bat -ft<format> [-h <host>] [-p <port>] [-u <username>]
> [-pw <password>]
-t <target_directory> [-pfn <prefix_file_name>] [-q <query_command>]
[-timeout <query_timeout>]
+
+# V2.0.4.x 版本及之后
+> tools\windows\export-data.bat -ft<format> [-h <host>] [-p <port>] [-u
<username>] [-pw <password>]
+ -t <target_directory> [-pfn <prefix_file_name>] [-q <query_command>]
[-timeout <query_timeout>]
```
#### 2.4.2 私有参数
diff --git a/src/zh/UserGuide/latest/Tools-System/Data-Import-Tool.md
b/src/zh/UserGuide/latest/Tools-System/Data-Import-Tool.md
index 0d8bede0..57e843a3 100644
--- a/src/zh/UserGuide/latest/Tools-System/Data-Import-Tool.md
+++ b/src/zh/UserGuide/latest/Tools-System/Data-Import-Tool.md
@@ -68,10 +68,17 @@ IoTDB 支持三种方式进行数据导入:
[-tn <thread_num>]
# Windows
+# V2.0.4.x 版本之前
> tools\import-data.bat -ft<format> [-h <host>] [-p <port>] [-u <username>]
> [-pw <password>]
-s <source> [-fd <fail_dir>] [-lpf <lines_per_failed_file>] [-aligned
<use the aligned interface>]
[-ti <type_infer>] [-tp <timestamp precision (ms/us/ns)>] [-tz
<timezone>] [-batch <batch_size>]
[-tn <thread_num>]
+
+# V2.0.4.x 版本及之后
+> tools\windows\import-data.bat -ft<format> [-h <host>] [-p <port>] [-u
<username>] [-pw <password>]
+ -s <source> [-fd <fail_dir>] [-lpf <lines_per_failed_file>] [-aligned
<use the aligned interface>]
+ [-ti <type_infer>] [-tp <timestamp precision (ms/us/ns)>] [-tz
<timezone>] [-batch <batch_size>]
+ [-tn <thread_num>]
```
#### 2.2.2 私有参数
@@ -156,6 +163,12 @@ Time,Device,str(TEXT),var(INT32)
[-batch <batch_size>] [-tn <thread_num>]
# Windows
+# V2.0.4.x 版本之前
+> tools\import-data.bat -ft<format> [-h <host>] [-p <port>] [-u <username>]
[-pw <password>]
+ -s<source> [-fd <fail_dir>] [-lpf <lines_per_failed_file>] [-tz
<timezone>]
+ [-batch <batch_size>] [-tn <thread_num>]
+
+# V2.0.4.x 版本及之后
> tools\import-data.bat -ft<format> [-h <host>] [-p <port>] [-u <username>]
> [-pw <password>]
-s<source> [-fd <fail_dir>] [-lpf <lines_per_failed_file>] [-tz
<timezone>]
[-batch <batch_size>] [-tn <thread_num>]
@@ -197,9 +210,15 @@ error: Invalid thread number '0'. Please set a positive
integer.
[-tn <thread_num> ] [-tz <timezone>] [-tp <timestamp precision
(ms/us/ns)>]
# Windows
+# V2.0.4.x 版本之前
> tools\import-data.bat -ft <format> [-h <host>] [-p <port>] [-u <username>]
> [-pw <password>]
-s <source> -os <on_success> [-sd <success_dir>] -of <on_fail> [-fd
<fail_dir>]
[-tn <thread_num> ] [-tz <timezone>] [-tp <timestamp precision
(ms/us/ns)>]
+
+# V2.0.4.x 版本及之后
+> tools\windows\import-data.bat -ft <format> [-h <host>] [-p <port>] [-u
<username>] [-pw <password>]
+ -s <source> -os <on_success> [-sd <success_dir>] -of <on_fail> [-fd
<fail_dir>]
+ [-tn <thread_num> ] [-tz <timezone>] [-tp <timestamp precision
(ms/us/ns)>]
```
#### 2.4.2 私有参数
diff --git a/src/zh/UserGuide/latest/Tools-System/Schema-Export-Tool.md
b/src/zh/UserGuide/latest/Tools-System/Schema-Export-Tool.md
index ec217b1e..ec729876 100644
--- a/src/zh/UserGuide/latest/Tools-System/Schema-Export-Tool.md
+++ b/src/zh/UserGuide/latest/Tools-System/Schema-Export-Tool.md
@@ -55,10 +55,17 @@ Shell
-t <target_directory> [-path <exportPathPattern>] [-pfn
<prefix_file_name>]
[-lpf <lines_per_file>] [-timeout <query_timeout>]
# Windows
+# V2.0.4.x 版本之前
> tools\export-schema.bat [-sql_dialect<sql_dialect>] -db<database>
> -table<table>
[-h <host>] [-p <port>] [-u <username>] [-pw <password>]
-t <target_directory> [-path <exportPathPattern>] [-pfn
<prefix_file_name>]
[-lpf <lines_per_file>] [-timeout <query_timeout>]
+
+# V2.0.4.x 版本及之后
+> tools\windows\schema\export-schema.bat [-sql_dialect<sql_dialect>]
-db<database> -table<table>
+ [-h <host>] [-p <port>] [-u <username>] [-pw <password>]
+ -t <target_directory> [-path <exportPathPattern>] [-pfn
<prefix_file_name>]
+ [-lpf <lines_per_file>] [-timeout <query_timeout>]
```
### 2.3 运行示例
diff --git a/src/zh/UserGuide/latest/Tools-System/Schema-Import-Tool.md
b/src/zh/UserGuide/latest/Tools-System/Schema-Import-Tool.md
index 22bd3cc3..7d398ccc 100644
--- a/src/zh/UserGuide/latest/Tools-System/Schema-Import-Tool.md
+++ b/src/zh/UserGuide/latest/Tools-System/Schema-Import-Tool.md
@@ -52,9 +52,15 @@ tools/import-schema.sh [-sql_dialect<sql_dialect>]
-db<database> -table<table>
-s <source> [-fd <fail_dir>] [-lpf <lines_per_failed_file>]
# Windows
+# V2.0.4.x 版本之前
tools\import-schema.bat [-sql_dialect<sql_dialect>] -db<database>
-table<table>
[-h <host>] [-p <port>] [-u <username>] [-pw <password>]
-s <source> [-fd <fail_dir>] [-lpf <lines_per_failed_file>]
+
+# V2.0.4.x 版本及之后
+tools\windows\schema\import-schema.bat [-sql_dialect<sql_dialect>]
-db<database> -table<table>
+ [-h <host>] [-p <port>] [-u <username>] [-pw <password>]
+ -s <source> [-fd <fail_dir>] [-lpf <lines_per_failed_file>]
```
### 2.3 运行示例