This is an automated email from the ASF dual-hosted git repository.
qiaojialin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git
The following commit(s) were added to refs/heads/master by this push:
new 8f0c12f delete serial num (#1256)
8f0c12f is described below
commit 8f0c12f390462478e26f483bf28a770c37e66868
Author: Sail <[email protected]>
AuthorDate: Tue May 26 10:22:57 2020 +0800
delete serial num (#1256)
* delete serial num
---
.../Architecture.md} | 18 +-
.../{8-Client/1-RPC.md => Client/RPC.md} | 0
.../2-Hive-TsFile.md => Connector/Hive-TsFile.md} | 0
.../4-Spark-IOTDB.md => Connector/Spark-IOTDB.md} | 0
.../Spark-TsFile.md} | 2 +-
.../AggregationQuery.md} | 0
.../AlignByDeviceQuery.md} | 6 +-
.../1-DataQuery.md => DataQuery/DataQuery.md} | 18 +-
.../FillFunction.md} | 0
.../GroupByFillQuery.md} | 0
.../GroupByQuery.md} | 0
.../7-LastQuery.md => DataQuery/LastQuery.md} | 0
.../QueryFundamentals.md} | 2 +-
.../RawDataQuery.md} | 0
.../SeriesReader.md} | 0
.../PlanExecutor.md} | 0
.../2-Planner.md => QueryEngine/Planner.md} | 0
.../QueryEngine.md} | 4 +-
.../ResultSetConstruction.md} | 8 +-
.../SchemaManager.md} | 0
.../DataManipulation.md} | 2 +-
.../DataPartition.md} | 0
.../FlushManager.md} | 0
.../MergeManager.md} | 0
.../StorageEngine.md} | 8 +-
.../2-WAL.md => StorageEngine/WAL.md} | 0
.../{6-Tools/1-Sync.md => Tools/Sync.md} | 0
.../{1-TsFile/2-Format.md => TsFile/Format.md} | 0
.../{1-TsFile/4-Read.md => TsFile/Read.md} | 0
.../{1-TsFile/1-TsFile.md => TsFile/TsFile.md} | 6 +-
.../{1-TsFile/3-Write.md => TsFile/Write.md} | 0
.../1-Files.md => Architecture/Files.md} | 8 +-
.../Shared Nothing Cluster.md} | 0
.../Writing Data on HDFS.md} | 0
.../Command Line Interface.md} | 0
.../Programming - JDBC.md} | 0
.../Programming - MQTT.md} | 0
.../Programming - Native API.md} | 0
.../Programming - Other Languages.md} | 0
.../Programming - TsFile API.md} | 2 +-
.../7-Status Codes.md => Client/Status Codes.md} | 0
.../4-Compression.md => Concept/Compression.md} | 2 +-
.../Data Model and Terminology.md} | 0
.../2-Data Type.md => Concept/Data Type.md} | 2 +-
.../3-Encoding.md => Concept/Encoding.md} | 2 +-
.../Grafana.md} | 0
.../Hive TsFile.md} | 0
.../MapReduce TsFile.md} | 0
.../Spark IoTDB.md} | 0
.../Spark TsFile.md} | 0
.../Frequently asked questions.md} | 0
.../Publication.md} | 0
.../1-QuickStart.md => Get Started/QuickStart.md} | 6 +-
.../Administration.md} | 2 +-
.../DDL Data Definition Language.md} | 4 +-
.../DML Data Manipulation Language.md} | 14 +-
.../SQL Reference.md} | 0
.../2-Architecture.md => Overview/Architecture.md} | 0
.../4-Features.md => Overview/Features.md} | 0
.../3-Scenario.md => Overview/Scenario.md} | 0
.../What is IoTDB.md} | 0
.../3-Cluster Setup.md => Server/Cluster Setup.md} | 0
.../4-Config Manual.md => Server/Config Manual.md} | 0
.../5-Docker Image.md => Server/Docker Image.md} | 0
.../{3-Server/1-Download.md => Server/Download.md} | 2 +-
.../Single Node Setup.md} | 0
.../3-JMX Tool.md => System Tools/JMX Tool.md} | 0
.../Load External Tsfile.md} | 0
.../Log Visualizer.md} | 0
.../Memory Estimation Tool.md} | 0
.../Monitor and Log Tools.md} | 4 +-
.../Query History Visualization Tool.md} | 0
.../1-Sync Tool.md => System Tools/Sync Tool.md} | 0
.../Watermark Tool.md} | 0
.../Architecture.md} | 18 +-
.../{8-Client/1-RPC.md => Client/RPC.md} | 0
.../2-Hive-TsFile.md => Connector/Hive-TsFile.md} | 0
.../4-Spark-IOTDB.md => Connector/Spark-IOTDB.md} | 0
.../Spark-TsFile.md} | 22 +-
.../AggregationQuery.md} | 0
.../AlignByDeviceQuery.md} | 6 +-
.../1-DataQuery.md => DataQuery/DataQuery.md} | 18 +-
.../FillFunction.md} | 0
.../GroupByFillQuery.md} | 0
.../GroupByQuery.md} | 0
.../7-LastQuery.md => DataQuery/LastQuery.md} | 0
.../QueryFundamentals.md} | 2 +-
.../RawDataQuery.md} | 0
.../SeriesReader.md} | 0
.../PlanExecutor.md} | 0
.../2-Planner.md => QueryEngine/Planner.md} | 0
.../QueryEngine.md} | 4 +-
.../ResultSetConstruction.md} | 6 +-
.../SchemaManager.md} | 0
.../DataManipulation.md} | 5 +-
.../DataPartition.md} | 0
.../FlushManager.md} | 0
.../MergeManager.md} | 0
.../StorageEngine.md} | 8 +-
.../2-WAL.md => StorageEngine/WAL.md} | 0
.../{6-Tools/1-Sync.md => Tools/Sync.md} | 0
.../{1-TsFile/2-Format.md => TsFile/Format.md} | 0
.../{1-TsFile/4-Read.md => TsFile/Read.md} | 0
.../{1-TsFile/1-TsFile.md => TsFile/TsFile.md} | 10 +-
.../{1-TsFile/3-Write.md => TsFile/Write.md} | 0
.../1-Files.md => Architecture/Files.md} | 8 +-
.../Shared Nothing Cluster.md} | 0
.../Writing Data on HDFS.md} | 0
.../Command Line Interface.md} | 0
.../Programming - JDBC.md} | 0
.../Programming - MQTT.md} | 0
.../Programming - Native API.md} | 0
.../Programming - Other Languages.md} | 0
.../Programming - TsFile API.md} | 2 +-
.../7-Status Codes.md => Client/Status Codes.md} | 0
.../4-Compression.md => Concept/Compression.md} | 2 +-
.../Data Model and Terminology.md} | 0
.../2-Data Type.md => Concept/Data Type.md} | 2 +-
.../3-Encoding.md => Concept/Encoding.md} | 2 +-
.../Grafana.md} | 0
.../Hive TsFile.md} | 0
.../MapReduce TsFile.md} | 0
.../Spark IoTDB.md} | 0
.../Spark TsFile.md} | 0
.../Frequently asked questions.md} | 0
.../Publication.md} | 0
.../1-QuickStart.md => Get Started/QuickStart.md} | 6 +-
.../Administration.md} | 0
.../DDL Data Definition Language.md} | 4 +-
.../DML Data Manipulation Language.md} | 10 +-
.../SQL Reference.md} | 0
.../2-Architecture.md => Overview/Architecture.md} | 0
.../4-Features.md => Overview/Features.md} | 0
.../3-Scenario.md => Overview/Scenario.md} | 0
.../What is IoTDB.md} | 0
.../3-Cluster Setup.md => Server/Cluster Setup.md} | 0
.../4-Config Manual.md => Server/Config Manual.md} | 0
.../5-Docker Image.md => Server/Docker Image.md} | 0
.../{3-Server/1-Download.md => Server/Download.md} | 2 +-
.../Single Node Setup.md} | 0
.../3-JMX Tool.md => System Tools/JMX Tool.md} | 0
.../Load External Tsfile.md} | 0
.../Log Visualizer.md} | 0
.../Memory Estimation Tool.md} | 0
.../Monitor and Log Tools.md} | 6 +-
.../Query History Visualization Tool.md} | 0
.../1-Sync Tool.md => System Tools/Sync Tool.md} | 0
.../Watermark Tool.md} | 0
site/src/main/.vuepress/config.js | 374 ++++++++++-----------
149 files changed, 320 insertions(+), 319 deletions(-)
diff --git a/docs/SystemDesign/0-Architecture/1-Architecture.md
b/docs/SystemDesign/Architecture/Architecture.md
similarity index 79%
rename from docs/SystemDesign/0-Architecture/1-Architecture.md
rename to docs/SystemDesign/Architecture/Architecture.md
index 35dd2d4..ca9b0bc 100644
--- a/docs/SystemDesign/0-Architecture/1-Architecture.md
+++ b/docs/SystemDesign/Architecture/Architecture.md
@@ -33,22 +33,22 @@ As shown in the following figure , IoTDB uses a
client-server architecture.
The server mainly includes a query engine that processes all user requests and
distributes them to the corresponding management components, including the data
writing layer, data query, schema management, and administration modules.
-* [TsFile](../1-TsFile/1-TsFile.html)
-* [QueryEngine](../2-QueryEngine/1-QueryEngine.html)
-* [SchemaManager](/SystemDesign/3-SchemaManager/1-SchemaManager.html)
-* [StorageEngine](/SystemDesign/4-StorageEngine/1-StorageEngine.html)
-* [DataQuery](/SystemDesign/5-DataQuery/1-DataQuery.html)
+* [TsFile](../TsFile/TsFile.html)
+* [QueryEngine](../QueryEngine/QueryEngine.html)
+* [SchemaManager](/SystemDesign/SchemaManager/SchemaManager.html)
+* [StorageEngine](/SystemDesign/StorageEngine/StorageEngine.html)
+* [DataQuery](/SystemDesign/DataQuery/DataQuery.html)
## System Tools
-* [Data synchronization tool](/SystemDesign/6-Tools/1-Sync.html)
+* [Data synchronization tool](/SystemDesign/Tools/Sync.html)
## Connector
IoTDB is connected with big data systems.
* [Hadoop-TsFile](/#/SystemDesign/progress/chap7/sec1)
-* [Hive-TsFile](/SystemDesign/7-Connector/2-Hive-TsFile.html)
-* [Spark-TsFile](/SystemDesign/7-Connector/3-Spark-TsFile.html)
-* [Spark-IoTDB](/SystemDesign/7-Connector/4-Spark-IOTDB.html)
+* [Hive-TsFile](/SystemDesign/Connector/Hive-TsFile.html)
+* [Spark-TsFile](/SystemDesign/Connector/Spark-TsFile.html)
+* [Spark-IoTDB](/SystemDesign/Connector/Spark-IOTDB.html)
* [Grafana](/#/SystemDesign/progress/chap7/sec5)
diff --git a/docs/SystemDesign/8-Client/1-RPC.md
b/docs/SystemDesign/Client/RPC.md
similarity index 100%
rename from docs/SystemDesign/8-Client/1-RPC.md
rename to docs/SystemDesign/Client/RPC.md
diff --git a/docs/SystemDesign/7-Connector/2-Hive-TsFile.md
b/docs/SystemDesign/Connector/Hive-TsFile.md
similarity index 100%
rename from docs/SystemDesign/7-Connector/2-Hive-TsFile.md
rename to docs/SystemDesign/Connector/Hive-TsFile.md
diff --git a/docs/SystemDesign/7-Connector/4-Spark-IOTDB.md
b/docs/SystemDesign/Connector/Spark-IOTDB.md
similarity index 100%
rename from docs/SystemDesign/7-Connector/4-Spark-IOTDB.md
rename to docs/SystemDesign/Connector/Spark-IOTDB.md
diff --git a/docs/SystemDesign/7-Connector/3-Spark-TsFile.md
b/docs/SystemDesign/Connector/Spark-TsFile.md
similarity index 99%
rename from docs/SystemDesign/7-Connector/3-Spark-TsFile.md
rename to docs/SystemDesign/Connector/Spark-TsFile.md
index 18708b2..8b1aea3 100644
--- a/docs/SystemDesign/7-Connector/3-Spark-TsFile.md
+++ b/docs/SystemDesign/Connector/Spark-TsFile.md
@@ -73,7 +73,7 @@ The main logic of the SQL analysis of the wide table
structure is src / main / s
#### 5. Query execution
The actual data query execution is performed by the Tsfile native component,
see:
-* [Tsfile native query process](../1-TsFile/4-Read.md)
+* [Tsfile native query process](../TsFile/Read.md)
## Write step flow
Writing is mainly to convert the data in the Dataframe structure into Tsfile's
RowRecord, and write using Tsfile Writer
diff --git a/docs/SystemDesign/5-DataQuery/5-AggregationQuery.md
b/docs/SystemDesign/DataQuery/AggregationQuery.md
similarity index 100%
rename from docs/SystemDesign/5-DataQuery/5-AggregationQuery.md
rename to docs/SystemDesign/DataQuery/AggregationQuery.md
diff --git a/docs/SystemDesign/5-DataQuery/8-AlignByDeviceQuery.md
b/docs/SystemDesign/DataQuery/AlignByDeviceQuery.md
similarity index 99%
rename from docs/SystemDesign/5-DataQuery/8-AlignByDeviceQuery.md
rename to docs/SystemDesign/DataQuery/AlignByDeviceQuery.md
index 2abda4f..ca37948 100644
--- a/docs/SystemDesign/5-DataQuery/8-AlignByDeviceQuery.md
+++ b/docs/SystemDesign/DataQuery/AlignByDeviceQuery.md
@@ -7,9 +7,9 @@
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
-
+
http://www.apache.org/licenses/LICENSE-2.0
-
+
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
@@ -64,7 +64,7 @@ The following will be explained according to the specific
process:
Unlike the original data query, the alignment by device query does not
concatenate the suffix paths in the SELECT statement and the WHERE statement at
this stage, but when the physical plan is subsequently generated, the mapping
value and filter conditions corresponding to each device are calculated.
Therefore, the work done at this stage by device alignment only includes
optimization of filter conditions in WHERE statements.
-The optimization of the filtering conditions mainly includes three parts:
removing the negation, transforming the disjunction paradigm, and merging the
same path filtering conditions. The corresponding optimizers are:
RemoveNotOptimizer, DnfFilterOptimizer, MergeSingleFilterOptimizer. This part
of the logic can refer to:[Planner](/SystemDesign/2-QueryEngine/2-Planner.html).
+The optimization of the filtering conditions mainly includes three parts:
removing the negation, transforming the disjunction paradigm, and merging the
same path filtering conditions. The corresponding optimizers are:
RemoveNotOptimizer, DnfFilterOptimizer, MergeSingleFilterOptimizer. This part
of the logic can refer to:[Planner](/SystemDesign/QueryEngine/Planner.html).
### Physical plan generation
diff --git a/docs/SystemDesign/5-DataQuery/1-DataQuery.md
b/docs/SystemDesign/DataQuery/DataQuery.md
similarity index 67%
rename from docs/SystemDesign/5-DataQuery/1-DataQuery.md
rename to docs/SystemDesign/DataQuery/DataQuery.md
index cf8b86b..14e0f12 100644
--- a/docs/SystemDesign/5-DataQuery/1-DataQuery.md
+++ b/docs/SystemDesign/DataQuery/DataQuery.md
@@ -35,12 +35,12 @@ In order to achieve the above kinds of queries, a basic
query component for a si
## Related documents
-* [Query fundamentals](/SystemDesign/5-DataQuery/2-QueryFundamentals.html)
-* [Basic query components](/SystemDesign/5-DataQuery/3-SeriesReader.html)
-* [Raw data query](/SystemDesign/5-DataQuery/4-RawDataQuery.html)
-* [Aggregate query](/SystemDesign/5-DataQuery/5-AggregationQuery.html)
-* [Downsampling query](/SystemDesign/5-DataQuery/6-GroupByQuery.html)
-* [Recent timestamp query](/SystemDesign/5-DataQuery/7-LastQuery.html)
-* [Align by device query](/SystemDesign/5-DataQuery/8-AlignByDeviceQuery.html)
-* [Fill function](/SystemDesign/5-DataQuery/9-FillFunction.html)
-* [Group by fill query](/SystemDesign/5-DataQuery/10-GroupByFillQuery.html)
+* [Query fundamentals](/SystemDesign/DataQuery/QueryFundamentals.html)
+* [Basic query components](/SystemDesign/DataQuery/SeriesReader.html)
+* [Raw data query](/SystemDesign/DataQuery/RawDataQuery.html)
+* [Aggregate query](/SystemDesign/DataQuery/AggregationQuery.html)
+* [Downsampling query](/SystemDesign/DataQuery/GroupByQuery.html)
+* [Recent timestamp query](/SystemDesign/DataQuery/LastQuery.html)
+* [Align by device query](/SystemDesign/DataQuery/AlignByDeviceQuery.html)
+* [Fill function](/SystemDesign/DataQuery/FillFunction.html)
+* [Group by fill query](/SystemDesign/DataQuery/GroupByFillQuery.html)
diff --git a/docs/SystemDesign/5-DataQuery/9-FillFunction.md
b/docs/SystemDesign/DataQuery/FillFunction.md
similarity index 100%
rename from docs/SystemDesign/5-DataQuery/9-FillFunction.md
rename to docs/SystemDesign/DataQuery/FillFunction.md
diff --git a/docs/SystemDesign/5-DataQuery/10-GroupByFillQuery.md
b/docs/SystemDesign/DataQuery/GroupByFillQuery.md
similarity index 100%
rename from docs/SystemDesign/5-DataQuery/10-GroupByFillQuery.md
rename to docs/SystemDesign/DataQuery/GroupByFillQuery.md
diff --git a/docs/SystemDesign/5-DataQuery/6-GroupByQuery.md
b/docs/SystemDesign/DataQuery/GroupByQuery.md
similarity index 100%
rename from docs/SystemDesign/5-DataQuery/6-GroupByQuery.md
rename to docs/SystemDesign/DataQuery/GroupByQuery.md
diff --git a/docs/SystemDesign/5-DataQuery/7-LastQuery.md
b/docs/SystemDesign/DataQuery/LastQuery.md
similarity index 100%
rename from docs/SystemDesign/5-DataQuery/7-LastQuery.md
rename to docs/SystemDesign/DataQuery/LastQuery.md
diff --git a/docs/SystemDesign/5-DataQuery/2-QueryFundamentals.md
b/docs/SystemDesign/DataQuery/QueryFundamentals.md
similarity index 98%
rename from docs/SystemDesign/5-DataQuery/2-QueryFundamentals.md
rename to docs/SystemDesign/DataQuery/QueryFundamentals.md
index de54511..5d277c1 100644
--- a/docs/SystemDesign/5-DataQuery/2-QueryFundamentals.md
+++ b/docs/SystemDesign/DataQuery/QueryFundamentals.md
@@ -36,7 +36,7 @@ It should be noted that, in the following query documents, we
tend to use `seq f
## General query process
-The multi-level structure of TsFile is introduced in
[1-TsFile](/#/SystemDesign/progress/chap1/sec1).
+The multi-level structure of TsFile is introduced in
[TsFile](../TsFile/TsFile.html).
For each timeseries, we always follow the query routine across 5 levels:
TsFileResource -> TimeseriesMetadata -> ChunkMetadata -> IPageReader ->
BatchData
The file access utility methods are in
`org.apache.iotdb.db.utils.FileLoaderUtils`
diff --git a/docs/SystemDesign/5-DataQuery/4-RawDataQuery.md
b/docs/SystemDesign/DataQuery/RawDataQuery.md
similarity index 100%
rename from docs/SystemDesign/5-DataQuery/4-RawDataQuery.md
rename to docs/SystemDesign/DataQuery/RawDataQuery.md
diff --git a/docs/SystemDesign/5-DataQuery/3-SeriesReader.md
b/docs/SystemDesign/DataQuery/SeriesReader.md
similarity index 100%
rename from docs/SystemDesign/5-DataQuery/3-SeriesReader.md
rename to docs/SystemDesign/DataQuery/SeriesReader.md
diff --git a/docs/SystemDesign/2-QueryEngine/3-PlanExecutor.md
b/docs/SystemDesign/QueryEngine/PlanExecutor.md
similarity index 100%
rename from docs/SystemDesign/2-QueryEngine/3-PlanExecutor.md
rename to docs/SystemDesign/QueryEngine/PlanExecutor.md
diff --git a/docs/SystemDesign/2-QueryEngine/2-Planner.md
b/docs/SystemDesign/QueryEngine/Planner.md
similarity index 100%
rename from docs/SystemDesign/2-QueryEngine/2-Planner.md
rename to docs/SystemDesign/QueryEngine/Planner.md
diff --git a/docs/SystemDesign/2-QueryEngine/1-QueryEngine.md
b/docs/SystemDesign/QueryEngine/QueryEngine.md
similarity index 94%
rename from docs/SystemDesign/2-QueryEngine/1-QueryEngine.md
rename to docs/SystemDesign/QueryEngine/QueryEngine.md
index 4d73f13..52dc9fa 100644
--- a/docs/SystemDesign/2-QueryEngine/1-QueryEngine.md
+++ b/docs/SystemDesign/QueryEngine/QueryEngine.md
@@ -60,5 +60,5 @@ The query engine is responsible for parsing all user
commands, generating plans,
## Related documents
-* [Query Plan Generator](/SystemDesign/2-QueryEngine/2-Planner.html)
-* [PlanExecutor](/SystemDesign/2-QueryEngine/3-PlanExecutor.html)
+* [Query Plan Generator](/SystemDesign/QueryEngine/Planner.html)
+* [PlanExecutor](/SystemDesign/QueryEngine/PlanExecutor.html)
diff --git a/docs/SystemDesign/2-QueryEngine/4-ResultSetConstruction.md
b/docs/SystemDesign/QueryEngine/ResultSetConstruction.md
similarity index 98%
rename from docs/SystemDesign/2-QueryEngine/4-ResultSetConstruction.md
rename to docs/SystemDesign/QueryEngine/ResultSetConstruction.md
index 681c641..ccb9060 100644
--- a/docs/SystemDesign/2-QueryEngine/4-ResultSetConstruction.md
+++ b/docs/SystemDesign/QueryEngine/ResultSetConstruction.md
@@ -7,9 +7,9 @@
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
-
+
http://www.apache.org/licenses/LICENSE-2.0
-
+
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
@@ -63,7 +63,7 @@ The header construction logic of align by device query is in
the `getAlignByDevi
- org.apache.iotdb.db.service.TSServiceImpl.getAlignByDeviceQueryHeaders
-The result set construction of the AlignByDeviceQuery depends on the list of
**measurements not deduplicated** generated in the physical query plan. For a
brief introduction, the measurements list is a list generated by the suffix
path (including wildcards) in the SELECT clause, including three types, namely
constant, exist and nonexist. For details, please refer to [Align by device
query](/SystemDesign/5-DataQuery/8-AlignByDeviceQuery.html)
+The result set construction of the AlignByDeviceQuery depends on the list of
**measurements not deduplicated** generated in the physical query plan. For a
brief introduction, the measurements list is a list generated by the suffix
path (including wildcards) in the SELECT clause, including three types, namely
constant, exist and nonexist. For details, please refer to [Align by device
query](/SystemDesign/DataQuery/AlignByDeviceQuery.html)
Since the structure of relation table is used for AlignByDeviceQuery, the
device column is added to the header first, and its corresponding data type is
text type.
@@ -124,7 +124,7 @@ The deduplication logic of **AlignByDeviceQuery** is in the
`hasNextWithoutCons
-
org.apache.iotdb.db.query.dataset.AlignByDeviceDataSet.hasNextWithoutConstraint()
Because AlignByDeviceQuery need to organize their query plans by device, each
device query may not have the same path, and it is allowed to contain constant
columns and nonexistent timeseries, so it cannot simply be deduplicated with
other queries. Deduplication requires **removing not only the repeated
timeseries path, but also the constant columns appearing in the query and the
timeseries that do not exist in the current device**.
-The implementation logic can be referred to [Align by device
query](/SystemDesign/5-DataQuery/8-AlignByDeviceQuery.html).
+The implementation logic can be referred to [Align by device
query](/SystemDesign/DataQuery/AlignByDeviceQuery.html).
After the deduplication paths in the query plan are completed, the query
executor of IoTDB can be called to execute the query and obtain the
deduplication result set.
diff --git a/docs/SystemDesign/3-SchemaManager/1-SchemaManager.md
b/docs/SystemDesign/SchemaManager/SchemaManager.md
similarity index 100%
rename from docs/SystemDesign/3-SchemaManager/1-SchemaManager.md
rename to docs/SystemDesign/SchemaManager/SchemaManager.md
diff --git a/docs/SystemDesign/4-StorageEngine/6-DataManipulation.md
b/docs/SystemDesign/StorageEngine/DataManipulation.md
similarity index 98%
rename from docs/SystemDesign/4-StorageEngine/6-DataManipulation.md
rename to docs/SystemDesign/StorageEngine/DataManipulation.md
index 41245f6..3931425 100644
--- a/docs/SystemDesign/4-StorageEngine/6-DataManipulation.md
+++ b/docs/SystemDesign/StorageEngine/DataManipulation.md
@@ -63,7 +63,7 @@ The following describes four common data manipulation
operations, which are inse
Currently does not support data in-place update operations, that is, update
statements, but users can directly insert new data, the same time series at the
same time point is based on the latest inserted data.
Old data is automatically deleted by merging, see:
-* [File merge mechanism](/SystemDesign/4-StorageEngine/4-MergeManager.html)
+* [File merge mechanism](/SystemDesign/StorageEngine/MergeManager.html)
## Data deletion
diff --git a/docs/SystemDesign/4-StorageEngine/5-DataPartition.md
b/docs/SystemDesign/StorageEngine/DataPartition.md
similarity index 100%
rename from docs/SystemDesign/4-StorageEngine/5-DataPartition.md
rename to docs/SystemDesign/StorageEngine/DataPartition.md
diff --git a/docs/SystemDesign/4-StorageEngine/3-FlushManager.md
b/docs/SystemDesign/StorageEngine/FlushManager.md
similarity index 100%
rename from docs/SystemDesign/4-StorageEngine/3-FlushManager.md
rename to docs/SystemDesign/StorageEngine/FlushManager.md
diff --git a/docs/SystemDesign/4-StorageEngine/4-MergeManager.md
b/docs/SystemDesign/StorageEngine/MergeManager.md
similarity index 100%
rename from docs/SystemDesign/4-StorageEngine/4-MergeManager.md
rename to docs/SystemDesign/StorageEngine/MergeManager.md
diff --git a/docs/SystemDesign/4-StorageEngine/1-StorageEngine.md
b/docs/SystemDesign/StorageEngine/StorageEngine.md
similarity index 90%
rename from docs/SystemDesign/4-StorageEngine/1-StorageEngine.md
rename to docs/SystemDesign/StorageEngine/StorageEngine.md
index 0f0b549..7638049 100644
--- a/docs/SystemDesign/4-StorageEngine/1-StorageEngine.md
+++ b/docs/SystemDesign/StorageEngine/StorageEngine.md
@@ -51,7 +51,7 @@ In addition, the storage engine includes asynchronous
persistence and file merge
## Data write
See details:
-* [Data write](/SystemDesign/4-StorageEngine/6-DataManipulation.html)
+* [Data write](/SystemDesign/StorageEngine/DataManipulation.html)
## Data access
@@ -61,8 +61,8 @@ See details:
## Related documents
-* [Write Ahead Log (WAL)](/SystemDesign/4-StorageEngine/2-WAL.html)
+* [Write Ahead Log (WAL)](/SystemDesign/StorageEngine/WAL.html)
-* [memtable Endurance](/SystemDesign/4-StorageEngine/3-FlushManager.html)
+* [memtable Endurance](/SystemDesign/StorageEngine/FlushManager.html)
-* [File merge mechanism](/SystemDesign/4-StorageEngine/4-MergeManager.html)
+* [File merge mechanism](/SystemDesign/StorageEngine/MergeManager.html)
diff --git a/docs/SystemDesign/4-StorageEngine/2-WAL.md
b/docs/SystemDesign/StorageEngine/WAL.md
similarity index 100%
rename from docs/SystemDesign/4-StorageEngine/2-WAL.md
rename to docs/SystemDesign/StorageEngine/WAL.md
diff --git a/docs/SystemDesign/6-Tools/1-Sync.md
b/docs/SystemDesign/Tools/Sync.md
similarity index 100%
rename from docs/SystemDesign/6-Tools/1-Sync.md
rename to docs/SystemDesign/Tools/Sync.md
diff --git a/docs/SystemDesign/1-TsFile/2-Format.md
b/docs/SystemDesign/TsFile/Format.md
similarity index 100%
rename from docs/SystemDesign/1-TsFile/2-Format.md
rename to docs/SystemDesign/TsFile/Format.md
diff --git a/docs/SystemDesign/1-TsFile/4-Read.md
b/docs/SystemDesign/TsFile/Read.md
similarity index 100%
rename from docs/SystemDesign/1-TsFile/4-Read.md
rename to docs/SystemDesign/TsFile/Read.md
diff --git a/docs/SystemDesign/1-TsFile/1-TsFile.md
b/docs/SystemDesign/TsFile/TsFile.md
similarity index 84%
rename from docs/SystemDesign/1-TsFile/1-TsFile.md
rename to docs/SystemDesign/TsFile/TsFile.md
index 016fabf..88a5ce7 100644
--- a/docs/SystemDesign/1-TsFile/1-TsFile.md
+++ b/docs/SystemDesign/TsFile/TsFile.md
@@ -25,6 +25,6 @@ TsFile is the data file of IoTDB.
## Related
-* [File Format](/SystemDesign/1-TsFile/2-Format.html)
-* [Write Process](/SystemDesign/1-TsFile/3-Write.html)
-* [Read Process](/SystemDesign/1-TsFile/4-Read.html)
+* [File Format](/SystemDesign/TsFile/Format.html)
+* [Write Process](/SystemDesign/TsFile/Write.html)
+* [Read Process](/SystemDesign/TsFile/Read.html)
diff --git a/docs/SystemDesign/1-TsFile/3-Write.md
b/docs/SystemDesign/TsFile/Write.md
similarity index 100%
rename from docs/SystemDesign/1-TsFile/3-Write.md
rename to docs/SystemDesign/TsFile/Write.md
diff --git a/docs/UserGuide/8-Architecture/1-Files.md
b/docs/UserGuide/Architecture/Files.md
similarity index 80%
rename from docs/UserGuide/8-Architecture/1-Files.md
rename to docs/UserGuide/Architecture/Files.md
index d5044bd..ad07a1f 100644
--- a/docs/UserGuide/8-Architecture/1-Files.md
+++ b/docs/UserGuide/Architecture/Files.md
@@ -27,17 +27,17 @@ The data that IoTDB stores is divided into three
categories, namely data files,
## Data Files
-Data files store all the data that the user wrote to IoTDB, which contains
TsFile and other files. TsFile storage directory can be configured with the
`data_dirs` configuration item (see [file
layer](../3-Server/4-Config%20Manual.html) for details). Other files can be
configured through [data_dirs](../3-Server/4-Config%20Manual.html)
configuration item (see [Engine Layer](../3-Server/4-Config%20Manual.html) for
details).
+Data files store all the data that the user wrote to IoTDB, which contains
TsFile and other files. TsFile storage directory can be configured with the
`data_dirs` configuration item (see [file
layer](../Server/Config%20Manual.html) for details). Other files can be
configured through [data_dirs](../Server/Config%20Manual.html) configuration
item (see [Engine Layer](../Server/Config%20Manual.html) for details).
-In order to better support users' storage requirements such as disk space
expansion, IoTDB supports multiple file directories storage methods for TsFile
storage configuration. Users can set multiple storage paths as data storage
locations( see [data_dirs](../3-Server/4-Config%20Manual.html) configuration
item), and you can specify or customize the directory selection policy (see
[multi_dir_strategy](../3-Server/4-Config%20Manual.html) configuration item for
details).
+In order to better support users' storage requirements such as disk space
expansion, IoTDB supports multiple file directories storage methods for TsFile
storage configuration. Users can set multiple storage paths as data storage
locations( see [data_dirs](../Server/Config%20Manual.html) configuration item),
and you can specify or customize the directory selection policy (see
[multi_dir_strategy](../Server/Config%20Manual.html) configuration item for
details).
## System files
-System files include schema files, which store metadata information of data in
IoTDB. It can be configured through the `base_dir` configuration item (see
[System Layer](../3-Server/4-Config%20Manual.html) for details).
+System files include schema files, which store metadata information of data in
IoTDB. It can be configured through the `base_dir` configuration item (see
[System Layer](../Server/Config%20Manual.html) for details).
## Pre-write Log Files
-Pre-write log files store WAL files. It can be configured through the
`wal_dir` configuration item (see [System
Layer](../3-Server/2-Single%20Node%20Setup.html) for details).
+Pre-write log files store WAL files. It can be configured through the
`wal_dir` configuration item (see [System
Layer](../Server/Single%20Node%20Setup.html) for details).
## Example of Setting Data storage Directory
diff --git a/docs/UserGuide/8-Architecture/3-Shared Nothing Cluster.md
b/docs/UserGuide/Architecture/Shared Nothing Cluster.md
similarity index 100%
rename from docs/UserGuide/8-Architecture/3-Shared Nothing Cluster.md
rename to docs/UserGuide/Architecture/Shared Nothing Cluster.md
diff --git a/docs/UserGuide/8-Architecture/2-Writing Data on HDFS.md
b/docs/UserGuide/Architecture/Writing Data on HDFS.md
similarity index 100%
rename from docs/UserGuide/8-Architecture/2-Writing Data on HDFS.md
rename to docs/UserGuide/Architecture/Writing Data on HDFS.md
diff --git a/docs/UserGuide/4-Client/1-Command Line Interface.md
b/docs/UserGuide/Client/Command Line Interface.md
similarity index 100%
rename from docs/UserGuide/4-Client/1-Command Line Interface.md
rename to docs/UserGuide/Client/Command Line Interface.md
diff --git a/docs/UserGuide/4-Client/3-Programming - JDBC.md
b/docs/UserGuide/Client/Programming - JDBC.md
similarity index 100%
rename from docs/UserGuide/4-Client/3-Programming - JDBC.md
rename to docs/UserGuide/Client/Programming - JDBC.md
diff --git a/docs/UserGuide/4-Client/6-Programming - MQTT.md
b/docs/UserGuide/Client/Programming - MQTT.md
similarity index 100%
rename from docs/UserGuide/4-Client/6-Programming - MQTT.md
rename to docs/UserGuide/Client/Programming - MQTT.md
diff --git a/docs/UserGuide/4-Client/2-Programming - Native API.md
b/docs/UserGuide/Client/Programming - Native API.md
similarity index 100%
rename from docs/UserGuide/4-Client/2-Programming - Native API.md
rename to docs/UserGuide/Client/Programming - Native API.md
diff --git a/docs/UserGuide/4-Client/4-Programming - Other Languages.md
b/docs/UserGuide/Client/Programming - Other Languages.md
similarity index 100%
rename from docs/UserGuide/4-Client/4-Programming - Other Languages.md
rename to docs/UserGuide/Client/Programming - Other Languages.md
diff --git a/docs/UserGuide/4-Client/5-Programming - TsFile API.md
b/docs/UserGuide/Client/Programming - TsFile API.md
similarity index 99%
rename from docs/UserGuide/4-Client/5-Programming - TsFile API.md
rename to docs/UserGuide/Client/Programming - TsFile API.md
index d2066bb..fbf0eb7 100644
--- a/docs/UserGuide/4-Client/5-Programming - TsFile API.md
+++ b/docs/UserGuide/Client/Programming - TsFile API.md
@@ -226,7 +226,7 @@ A TsFile can be generated by following three steps and the
complete code will be
* type: The data type, now support six types: `BOOLEAN`, `INT32`, `INT64`,
`FLOAT`, `DOUBLE`, `TEXT`;
- * encoding: The data encoding. See [Chapter
2-3](../2-Concept/3-Encoding.html).
+ * encoding: The data encoding. See [Chapter 2-3](../Concept/Encoding.html).
* compression: The data compression. Now supports `UNCOMPRESSED` and
`SNAPPY`.
diff --git a/docs/UserGuide/4-Client/7-Status Codes.md
b/docs/UserGuide/Client/Status Codes.md
similarity index 100%
rename from docs/UserGuide/4-Client/7-Status Codes.md
rename to docs/UserGuide/Client/Status Codes.md
diff --git a/docs/UserGuide/2-Concept/4-Compression.md
b/docs/UserGuide/Concept/Compression.md
similarity index 96%
rename from docs/UserGuide/2-Concept/4-Compression.md
rename to docs/UserGuide/Concept/Compression.md
index 7a1c3dd..da51d11 100644
--- a/docs/UserGuide/2-Concept/4-Compression.md
+++ b/docs/UserGuide/Concept/Compression.md
@@ -29,4 +29,4 @@ IoTDB allows you to specify the compression method of the
column when creating a
* SNAPPY
-The specified syntax for compression is detailed in [Create Timeseries
Statement](../5-Operation%20Manual/4-SQL%20Reference.html).
+The specified syntax for compression is detailed in [Create Timeseries
Statement](../Operation%20Manual/SQL%20Reference.html).
diff --git a/docs/UserGuide/2-Concept/1-Data Model and Terminology.md
b/docs/UserGuide/Concept/Data Model and Terminology.md
similarity index 100%
rename from docs/UserGuide/2-Concept/1-Data Model and Terminology.md
rename to docs/UserGuide/Concept/Data Model and Terminology.md
diff --git a/docs/UserGuide/2-Concept/2-Data Type.md
b/docs/UserGuide/Concept/Data Type.md
similarity index 76%
rename from docs/UserGuide/2-Concept/2-Data Type.md
rename to docs/UserGuide/Concept/Data Type.md
index e7c0dbc..6b94866 100644
--- a/docs/UserGuide/2-Concept/2-Data Type.md
+++ b/docs/UserGuide/Concept/Data Type.md
@@ -30,7 +30,7 @@ IoTDB supports six data types in total:
* TEXT (String).
-The time series of **FLOAT** and **DOUBLE** type can specify
(MAX\_POINT\_NUMBER, see [this
page](../5-Operation%20Manual/4-SQL%20Reference.html) for more information on
how to specify), which is the number of digits after the decimal point of the
floating point number, if the encoding method is
[RLE](../2-Concept/3-Encoding.html) or
[TS\_2DIFF](../2-Concept/3-Encoding.html) (Refer to [Create Timeseries
Statement](../5-Operation%20Manual/4-SQL%20Reference.html) for more information
on ho [...]
+The time series of **FLOAT** and **DOUBLE** type can specify
(MAX\_POINT\_NUMBER, see [this
page](../Operation%20Manual/SQL%20Reference.html) for more information on how
to specify), which is the number of digits after the decimal point of the
floating point number, if the encoding method is
[RLE](../Concept/Encoding.html) or [TS\_2DIFF](../Concept/Encoding.html) (Refer
to [Create Timeseries Statement](../Operation%20Manual/SQL%20Reference.html)
for more information on how to specify). I [...]
* For Float data value, The data range is (-Integer.MAX_VALUE,
Integer.MAX_VALUE), rather than Float.MAX_VALUE, and the max_point_number is
19, it is because of the limition of function Math.round(float) in Java.
* For Double data value, The data range is (-Long.MAX_VALUE, Long.MAX_VALUE),
rather than Double.MAX_VALUE, and the max_point_number is 19, it is because of
the limition of function Math.round(double) in Java (Long.MAX_VALUE=9.22E18).
diff --git a/docs/UserGuide/2-Concept/3-Encoding.md
b/docs/UserGuide/Concept/Encoding.md
similarity index 88%
rename from docs/UserGuide/2-Concept/3-Encoding.md
rename to docs/UserGuide/Concept/Encoding.md
index c715fb2..396844f 100644
--- a/docs/UserGuide/2-Concept/3-Encoding.md
+++ b/docs/UserGuide/Concept/Encoding.md
@@ -35,7 +35,7 @@ Second-order differential encoding is more suitable for
encoding monotonically i
Run-length encoding is more suitable for storing sequence with continuous
integer values, and is not recommended for sequence data with most of the time
different values.
-Run-length encoding can also be used to encode floating-point numbers, but it
is necessary to specify reserved decimal digits (MAX\_POINT\_NUMBER, see [this
page](../5-Operation%20Manual/4-SQL%20Reference.html) for more information on
how to specify) when creating time series. It is more suitable for storing
sequence data where floating-point values appear continuously, monotonously
increasing or decreasing, and it is not suitable for storing sequence data with
high precision requirement [...]
+Run-length encoding can also be used to encode floating-point numbers, but it
is necessary to specify reserved decimal digits (MAX\_POINT\_NUMBER, see [this
page](../Operation%20Manual/SQL%20Reference.html) for more information on how
to specify) when creating time series. It is more suitable for storing sequence
data where floating-point values appear continuously, monotonously increasing
or decreasing, and it is not suitable for storing sequence data with high
precision requirements af [...]
* GORILLA
diff --git a/docs/UserGuide/7-Ecosystem Integration/1-Grafana.md
b/docs/UserGuide/Ecosystem Integration/Grafana.md
similarity index 100%
rename from docs/UserGuide/7-Ecosystem Integration/1-Grafana.md
rename to docs/UserGuide/Ecosystem Integration/Grafana.md
diff --git a/docs/UserGuide/7-Ecosystem Integration/5-Hive TsFile.md
b/docs/UserGuide/Ecosystem Integration/Hive TsFile.md
similarity index 100%
rename from docs/UserGuide/7-Ecosystem Integration/5-Hive TsFile.md
rename to docs/UserGuide/Ecosystem Integration/Hive TsFile.md
diff --git a/docs/UserGuide/7-Ecosystem Integration/2-MapReduce TsFile.md
b/docs/UserGuide/Ecosystem Integration/MapReduce TsFile.md
similarity index 100%
rename from docs/UserGuide/7-Ecosystem Integration/2-MapReduce TsFile.md
rename to docs/UserGuide/Ecosystem Integration/MapReduce TsFile.md
diff --git a/docs/UserGuide/7-Ecosystem Integration/4-Spark IoTDB.md
b/docs/UserGuide/Ecosystem Integration/Spark IoTDB.md
similarity index 100%
rename from docs/UserGuide/7-Ecosystem Integration/4-Spark IoTDB.md
rename to docs/UserGuide/Ecosystem Integration/Spark IoTDB.md
diff --git a/docs/UserGuide/7-Ecosystem Integration/3-Spark TsFile.md
b/docs/UserGuide/Ecosystem Integration/Spark TsFile.md
similarity index 100%
rename from docs/UserGuide/7-Ecosystem Integration/3-Spark TsFile.md
rename to docs/UserGuide/Ecosystem Integration/Spark TsFile.md
diff --git a/docs/UserGuide/0-Get Started/2-Frequently asked questions.md
b/docs/UserGuide/Get Started/Frequently asked questions.md
similarity index 100%
rename from docs/UserGuide/0-Get Started/2-Frequently asked questions.md
rename to docs/UserGuide/Get Started/Frequently asked questions.md
diff --git a/docs/UserGuide/0-Get Started/3-Publication.md b/docs/UserGuide/Get
Started/Publication.md
similarity index 100%
rename from docs/UserGuide/0-Get Started/3-Publication.md
rename to docs/UserGuide/Get Started/Publication.md
diff --git a/docs/UserGuide/0-Get Started/1-QuickStart.md b/docs/UserGuide/Get
Started/QuickStart.md
old mode 100755
new mode 100644
similarity index 97%
rename from docs/UserGuide/0-Get Started/1-QuickStart.md
rename to docs/UserGuide/Get Started/QuickStart.md
index 94e168d..e34ae5d
--- a/docs/UserGuide/0-Get Started/1-QuickStart.md
+++ b/docs/UserGuide/Get Started/QuickStart.md
@@ -39,7 +39,7 @@
<!-- /TOC -->
-This short guide will walk you through the basic process of using IoTDB. For a
more-complete guide, please visit our website's [User
Guide](../1-Overview/1-What%20is%20IoTDB.html).
+This short guide will walk you through the basic process of using IoTDB. For a
more-complete guide, please visit our website's [User
Guide](../Overview/What%20is%20IoTDB.html).
## Prerequisites
@@ -72,7 +72,7 @@ configuration files are under "conf" folder
* system config module (`iotdb-engine.properties`)
* log config module (`logback.xml`).
-For more, see [Chapter3: Server](../3-Server/1-Download.html) in detail.
+For more, see [Chapter3: Server](../Server/Download.html) in detail.
## Start
@@ -235,7 +235,7 @@ or
IoTDB> exit
```
-For more on what commands are supported by IoTDB SQL, see [SQL
Reference](../5-Operation%20Manual/4-SQL%20Reference.html).
+For more on what commands are supported by IoTDB SQL, see [SQL
Reference](../Operation%20Manual/SQL%20Reference.html).
### Stop IoTDB
diff --git a/docs/UserGuide/5-Operation Manual/3-Administration.md
b/docs/UserGuide/Operation Manual/Administration.md
similarity index 96%
rename from docs/UserGuide/5-Operation Manual/3-Administration.md
rename to docs/UserGuide/Operation Manual/Administration.md
index b915545..9b5f04f 100644
--- a/docs/UserGuide/5-Operation Manual/3-Administration.md
+++ b/docs/UserGuide/Operation Manual/Administration.md
@@ -23,7 +23,7 @@
IoTDB provides users with account privilege management operations, so as to
ensure data security.
-We will show you basic user privilege management operations through the
following specific examples. Detailed SQL syntax and usage details can be found
in [SQL Documentation](../5-Operation%20Manual/4-SQL%20Reference.html). At the
same time, in the JAVA programming environment, you can use the [Java
JDBC](../4-Client/3-Programming%20-%20JDBC.html) to execute privilege
management statements in a single or batch mode.
+We will show you basic user privilege management operations through the
following specific examples. Detailed SQL syntax and usage details can be found
in [SQL Documentation](../Operation%20Manual/SQL%20Reference.html). At the same
time, in the JAVA programming environment, you can use the [Java
JDBC](../4-Client/3-Programming%20-%20JDBC.html) to execute privilege
management statements in a single or batch mode.
## Basic Concepts
diff --git a/docs/UserGuide/5-Operation Manual/1-DDL Data Definition
Language.md b/docs/UserGuide/Operation Manual/DDL Data Definition Language.md
similarity index 98%
rename from docs/UserGuide/5-Operation Manual/1-DDL Data Definition Language.md
rename to docs/UserGuide/Operation Manual/DDL Data Definition Language.md
index 6c6ecc6..739865d 100644
--- a/docs/UserGuide/5-Operation Manual/1-DDL Data Definition Language.md
+++ b/docs/UserGuide/Operation Manual/DDL Data Definition Language.md
@@ -41,7 +41,7 @@ Msg: org.apache.iotdb.exception.MetadataErrorException:
org.apache.iotdb.excepti
## Show Storage Group
-After the storage group is created, we can use the [SHOW STORAGE
GROUP](../5-Operation%20Manual/4-SQL%20Reference.html) statement to view all
the storage groups. The SQL statement is as follows:
+After the storage group is created, we can use the [SHOW STORAGE
GROUP](../Operation%20Manual/SQL%20Reference.html) statement to view all the
storage groups. The SQL statement is as follows:
```
IoTDB> show storage group
@@ -70,7 +70,7 @@ IoTDB> create timeseries root.ln.wf02.wt02.status WITH
DATATYPE=BOOLEAN, ENCODIN
error: encoding TS_2DIFF does not support BOOLEAN
```
-Please refer to [Encoding](../2-Concept/3-Encoding.html) for correspondence
between data type and encoding.
+Please refer to [Encoding](../Concept/Encoding.html) for correspondence
between data type and encoding.
### Tag and attribute management
diff --git a/docs/UserGuide/5-Operation Manual/2-DML Data Manipulation
Language.md b/docs/UserGuide/Operation Manual/DML Data Manipulation Language.md
similarity index 96%
rename from docs/UserGuide/5-Operation Manual/2-DML Data Manipulation
Language.md
rename to docs/UserGuide/Operation Manual/DML Data Manipulation Language.md
index 0344e8d..e3c921c 100644
--- a/docs/UserGuide/5-Operation Manual/2-DML Data Manipulation Language.md
+++ b/docs/UserGuide/Operation Manual/DML Data Manipulation Language.md
@@ -24,12 +24,12 @@
## INSERT
### Insert Real-time Data
-IoTDB provides users with a variety of ways to insert real-time data, such as
directly inputting [INSERT SQL
statement](../5-Operation%20Manual/4-SQL%20Reference.html) in [Client/Shell
tools](../4-Client/1-Command%20Line%20Interface.html), or using [Java
JDBC](../4-Client/3-Programming%20-%20JDBC.html) to perform single or batch
execution of [INSERT SQL statement](/#/Documents/progress/chap5/sec4).
+IoTDB provides users with a variety of ways to insert real-time data, such as
directly inputting [INSERT SQL
statement](../Operation%20Manual/SQL%20Reference.html) in [Client/Shell
tools](../4-Client/1-Command%20Line%20Interface.html), or using [Java
JDBC](../4-Client/3-Programming%20-%20JDBC.html) to perform single or batch
execution of [INSERT SQL statement](/#/Documents/progress/chap5/sec4).
-This section mainly introduces the use of [INSERT SQL
statement](/#/Documents/progress/chap5/sec4) for real-time data import in the
scenario. See Section 5.4 for a detailed syntax of [INSERT SQL
statement](../5-Operation%20Manual/4-SQL%20Reference.html).
+This section mainly introduces the use of [INSERT SQL
statement](/#/Documents/progress/chap5/sec4) for real-time data import in the
scenario. See Section 5.4 for a detailed syntax of [INSERT SQL
statement](../Operation%20Manual/SQL%20Reference.html).
#### Use of INSERT Statements
-The [INSERT SQL statement](../5-Operation%20Manual/4-SQL%20Reference.html)
statement can be used to insert data into one or more specified timeseries that
have been created. For each point of data inserted, it consists of a
[timestamp](../2-Concept/1-Data%20Model%20and%20Terminology.html) and a sensor
acquisition value (see [Data Type](../2-Concept/2-Data%20Type.html)).
+The [INSERT SQL statement](../Operation%20Manual/SQL%20Reference.html)
statement can be used to insert data into one or more specified timeseries that
have been created. For each point of data inserted, it consists of a
[timestamp](../2-Concept/1-Data%20Model%20and%20Terminology.html) and a sensor
acquisition value (see [Data Type](../2-Concept/2-Data%20Type.html)).
In the scenario of this section, take two timeseries
`root.ln.wf02.wt02.status` and `root.ln.wf02.wt02.hardware` as an example, and
their data types are BOOLEAN and TEXT, respectively.
@@ -86,7 +86,7 @@ error: The TEXT data type should be covered by " or '
### Time Slice Query
-This chapter mainly introduces the relevant examples of time slice query using
IoTDB SELECT statements. Detailed SQL syntax and usage specifications can be
found in [SQL Documentation](../5-Operation%20Manual/4-SQL%20Reference.html).
You can also use the [Java JDBC](../4-Client/3-Programming%20-%20JDBC.html)
standard interface to execute related queries.
+This chapter mainly introduces the relevant examples of time slice query using
IoTDB SELECT statements. Detailed SQL syntax and usage specifications can be
found in [SQL Documentation](../Operation%20Manual/SQL%20Reference.html). You
can also use the [Java JDBC](../4-Client/3-Programming%20-%20JDBC.html)
standard interface to execute related queries.
#### Select a Column of Data Based on a Time Interval
@@ -149,7 +149,7 @@ The execution result of this SQL statement is as follows:
### Down-Frequency Aggregate Query
This section mainly introduces the related examples of down-frequency
aggregation query,
-using the [GROUP BY clause](../5-Operation%20Manual/4-SQL%20Reference.html),
+using the [GROUP BY clause](../Operation%20Manual/SQL%20Reference.html),
which is used to partition the result set according to the user's given
partitioning conditions and aggregate the partitioned result set.
IoTDB supports partitioning result sets according to time interval and
customized sliding step which should not be smaller than the time interval and
defaults to equal the time interval if not set. And by default results are
sorted by time in ascending order.
You can also use the [Java
JDBC](../4-Client/2-Programming%20-%20Native%20API.html) standard interface to
execute related queries.
@@ -454,7 +454,7 @@ When the fill method is not specified, each data type bears
its own default fill
### Row and Column Control over Query Results
-IoTDB provides [LIMIT/SLIMIT](../5-Operation%20Manual/4-SQL%20Reference.html)
clause and [OFFSET/SOFFSET](../5-Operation%20Manual/4-SQL%20Reference.html)
+IoTDB provides [LIMIT/SLIMIT](../Operation%20Manual/SQL%20Reference.html)
clause and [OFFSET/SOFFSET](../Operation%20Manual/SQL%20Reference.html)
clause in order to make users have more control over query results.
The use of LIMIT and SLIMIT clauses allows users to control the number of rows
and columns of query results,
and the use of OFFSET and SOFSET clauses allows users to set the starting
position of the results for display.
@@ -690,7 +690,7 @@ The SQL statement will not be executed and the
corresponding error prompt is giv
## DELETE
-Users can delete data that meet the deletion condition in the specified
timeseries by using the [DELETE
statement](../5-Operation%20Manual/4-SQL%20Reference.html). When deleting data,
users can select one or more timeseries paths, prefix paths, or paths with star
to delete data before a certain time (current version does not support the
deletion of data within a closed time interval).
+Users can delete data that meet the deletion condition in the specified
timeseries by using the [DELETE
statement](../Operation%20Manual/SQL%20Reference.html). When deleting data,
users can select one or more timeseries paths, prefix paths, or paths with star
to delete data before a certain time (current version does not support the
deletion of data within a closed time interval).
In a JAVA programming environment, you can use the [Java
JDBC](../4-Client/3-Programming%20-%20JDBC.html) to execute single or batch
UPDATE statements.
diff --git a/docs/UserGuide/5-Operation Manual/4-SQL Reference.md
b/docs/UserGuide/Operation Manual/SQL Reference.md
similarity index 100%
rename from docs/UserGuide/5-Operation Manual/4-SQL Reference.md
rename to docs/UserGuide/Operation Manual/SQL Reference.md
diff --git a/docs/UserGuide/1-Overview/2-Architecture.md
b/docs/UserGuide/Overview/Architecture.md
similarity index 100%
rename from docs/UserGuide/1-Overview/2-Architecture.md
rename to docs/UserGuide/Overview/Architecture.md
diff --git a/docs/UserGuide/1-Overview/4-Features.md
b/docs/UserGuide/Overview/Features.md
similarity index 100%
rename from docs/UserGuide/1-Overview/4-Features.md
rename to docs/UserGuide/Overview/Features.md
diff --git a/docs/UserGuide/1-Overview/3-Scenario.md
b/docs/UserGuide/Overview/Scenario.md
similarity index 100%
rename from docs/UserGuide/1-Overview/3-Scenario.md
rename to docs/UserGuide/Overview/Scenario.md
diff --git a/docs/UserGuide/1-Overview/1-What is IoTDB.md
b/docs/UserGuide/Overview/What is IoTDB.md
similarity index 100%
rename from docs/UserGuide/1-Overview/1-What is IoTDB.md
rename to docs/UserGuide/Overview/What is IoTDB.md
diff --git a/docs/UserGuide/3-Server/3-Cluster Setup.md
b/docs/UserGuide/Server/Cluster Setup.md
similarity index 100%
rename from docs/UserGuide/3-Server/3-Cluster Setup.md
rename to docs/UserGuide/Server/Cluster Setup.md
diff --git a/docs/UserGuide/3-Server/4-Config Manual.md
b/docs/UserGuide/Server/Config Manual.md
similarity index 100%
rename from docs/UserGuide/3-Server/4-Config Manual.md
rename to docs/UserGuide/Server/Config Manual.md
diff --git a/docs/UserGuide/3-Server/5-Docker Image.md
b/docs/UserGuide/Server/Docker Image.md
similarity index 100%
rename from docs/UserGuide/3-Server/5-Docker Image.md
rename to docs/UserGuide/Server/Docker Image.md
diff --git a/docs/UserGuide/3-Server/1-Download.md
b/docs/UserGuide/Server/Download.md
similarity index 97%
rename from docs/UserGuide/3-Server/1-Download.md
rename to docs/UserGuide/Server/Download.md
index a2bd30a..c3f6776 100644
--- a/docs/UserGuide/3-Server/1-Download.md
+++ b/docs/UserGuide/Server/Download.md
@@ -71,4 +71,4 @@ After build, the IoTDB server will be at the folder
"server/target/iotdb-server-
## Installation by Docker (Dockerfile)
-You can build and run a IoTDB docker image by following the guide of
[Deployment by Docker](../3-Server/5-Docker%20Image.html)
+You can build and run a IoTDB docker image by following the guide of
[Deployment by Docker](../Server/Docker%20Image.html)
diff --git a/docs/UserGuide/3-Server/2-Single Node Setup.md
b/docs/UserGuide/Server/Single Node Setup.md
similarity index 100%
rename from docs/UserGuide/3-Server/2-Single Node Setup.md
rename to docs/UserGuide/Server/Single Node Setup.md
diff --git a/docs/UserGuide/6-System Tools/3-JMX Tool.md
b/docs/UserGuide/System Tools/JMX Tool.md
similarity index 100%
rename from docs/UserGuide/6-System Tools/3-JMX Tool.md
rename to docs/UserGuide/System Tools/JMX Tool.md
diff --git a/docs/UserGuide/6-System Tools/8-Load External Tsfile.md
b/docs/UserGuide/System Tools/Load External Tsfile.md
similarity index 100%
rename from docs/UserGuide/6-System Tools/8-Load External Tsfile.md
rename to docs/UserGuide/System Tools/Load External Tsfile.md
diff --git a/docs/UserGuide/6-System Tools/5-Log Visualizer.md
b/docs/UserGuide/System Tools/Log Visualizer.md
similarity index 100%
rename from docs/UserGuide/6-System Tools/5-Log Visualizer.md
rename to docs/UserGuide/System Tools/Log Visualizer.md
diff --git a/docs/UserGuide/6-System Tools/2-Memory Estimation Tool.md
b/docs/UserGuide/System Tools/Memory Estimation Tool.md
similarity index 100%
rename from docs/UserGuide/6-System Tools/2-Memory Estimation Tool.md
rename to docs/UserGuide/System Tools/Memory Estimation Tool.md
diff --git a/docs/UserGuide/6-System Tools/7-Monitor and Log Tools.md
b/docs/UserGuide/System Tools/Monitor and Log Tools.md
similarity index 95%
rename from docs/UserGuide/6-System Tools/7-Monitor and Log Tools.md
rename to docs/UserGuide/System Tools/Monitor and Log Tools.md
index 9fd130a..a22c6f0 100644
--- a/docs/UserGuide/6-System Tools/7-Monitor and Log Tools.md
+++ b/docs/UserGuide/System Tools/Monitor and Log Tools.md
@@ -156,9 +156,9 @@ The user can choose to enable or disable the data
statistics monitoring function
The current statistics of writing data by the system can be divided into two
major modules: **Global Writing Data Statistics** and **Storage Group Writing
Data Statistics**. **Global Writing Data Statistics** records the point number
written by the user and the number of requests. **Storage Group Writing Data
Statistics** records data of a certain storage group.
-The system defaults to collect data every 5 seconds, and writes the statistics
to the IoTDB and stores them in a system-specified locate. (If you need to
change the statistic frequency, you can set The `back_loop_period_in_second
entry` in the configuration file, see Section [Engine
Layer](../3-Server/2-Single%20Node%20Setup.html) for details). After the system
is refreshed or restarted, IoTDB does not recover the statistics, and the
statistics data will restart from zero.
+The system defaults to collect data every 5 seconds, and writes the statistics
to the IoTDB and stores them in a system-specified locate. (If you need to
change the statistic frequency, you can set The `back_loop_period_in_second
entry` in the configuration file, see Section [Engine
Layer](../Server/Single%20Node%20Setup.html) for details). After the system is
refreshed or restarted, IoTDB does not recover the statistics, and the
statistics data will restart from zero.
-In order to avoid the excessive use of statistical information, we add a
mechanism to periodically clear invalid data for statistical information. The
system will delete invalid data at regular intervals. The user can set the
trigger frequency (`stat_monitor_retain_interval_in_second`, default is 600s,
see section [Engine Layer](../3-Server/2-Single%20Node%20Setup.html) for
details) to set the frequency of deleting data. By setting the valid data
duration (`stat_monitor_detect_freq_in_se [...]
+In order to avoid the excessive use of statistical information, we add a
mechanism to periodically clear invalid data for statistical information. The
system will delete invalid data at regular intervals. The user can set the
trigger frequency (`stat_monitor_retain_interval_in_second`, default is 600s,
see section [Engine Layer](../Server/Single%20Node%20Setup.html) for details)
to set the frequency of deleting data. By setting the valid data duration
(`stat_monitor_detect_freq_in_second [...]
It's convenient for you to use `select` clause to get the writing data
statistics the same as other timeseires.
diff --git a/docs/UserGuide/6-System Tools/6-Query History Visualization
Tool.md b/docs/UserGuide/System Tools/Query History Visualization Tool.md
similarity index 100%
rename from docs/UserGuide/6-System Tools/6-Query History Visualization Tool.md
rename to docs/UserGuide/System Tools/Query History Visualization Tool.md
diff --git a/docs/UserGuide/6-System Tools/1-Sync Tool.md
b/docs/UserGuide/System Tools/Sync Tool.md
similarity index 100%
rename from docs/UserGuide/6-System Tools/1-Sync Tool.md
rename to docs/UserGuide/System Tools/Sync Tool.md
diff --git a/docs/UserGuide/6-System Tools/4-Watermark Tool.md
b/docs/UserGuide/System Tools/Watermark Tool.md
similarity index 100%
rename from docs/UserGuide/6-System Tools/4-Watermark Tool.md
rename to docs/UserGuide/System Tools/Watermark Tool.md
diff --git a/docs/zh/SystemDesign/0-Architecture/1-Architecture.md
b/docs/zh/SystemDesign/Architecture/Architecture.md
similarity index 80%
rename from docs/zh/SystemDesign/0-Architecture/1-Architecture.md
rename to docs/zh/SystemDesign/Architecture/Architecture.md
index 528df20..f60548b 100644
--- a/docs/zh/SystemDesign/0-Architecture/1-Architecture.md
+++ b/docs/zh/SystemDesign/Architecture/Architecture.md
@@ -33,23 +33,23 @@ IoTDB 采用客户端-服务器架构,如下图所示。
其中服务器端主要包括查询引擎,用来处理用户的所有请求,并分发到对应的管理组件,包括数据写入层、数据查询、元数据管理、权限管理等模块。
-* [数据文件](/#/SystemDesign/progress/chap1/sec1)
-* [查询引擎](/#/SystemDesign/progress/chap2/sec1)
-* [元数据管理](/#/SystemDesign/progress/chap3/sec1)
-* [存储引擎](/#/SystemDesign/progress/chap4/sec1)
-* [数据查询](/#/SystemDesign/progress/chap5/sec1)
+* [数据文件](../TsFile/TsFile.html)
+* [查询引擎](../QueryEngine/QueryEngine.html)
+* [元数据管理](../SchemaManager/SchemaManager.html)
+* [存储引擎](../StorageEngine/StorageEngine.html)
+* [数据查询](../DataQuery/DataQuery.html)
## 系统工具
-* [数据同步工具](/#/SystemDesign/progress/chap6/sec1)
+* [数据同步工具](../Tools/Sync.html)
## 连接器
IoTDB 与大数据系统进行了对接。
* [Hadoop-TsFile](/#/SystemDesign/progress/chap7/sec1)
-* [Hive-TsFile](/#/SystemDesign/progress/chap7/sec2)
-* [Spark-TsFile](/#/SystemDesign/progress/chap7/sec3)
-* [Spark-IoTDB](/#/SystemDesign/progress/chap7/sec4)
+* [Hive-TsFile](../Connector/Hive-TsFile.html)
+* [Spark-TsFile](../Connector/Spark-TsFile.html)
+* [Spark-IoTDB](../Connector/Spark-IOTDB.html)
* [Grafana](/#/SystemDesign/progress/chap7/sec5)
diff --git a/docs/zh/SystemDesign/8-Client/1-RPC.md
b/docs/zh/SystemDesign/Client/RPC.md
similarity index 100%
rename from docs/zh/SystemDesign/8-Client/1-RPC.md
rename to docs/zh/SystemDesign/Client/RPC.md
diff --git a/docs/zh/SystemDesign/7-Connector/2-Hive-TsFile.md
b/docs/zh/SystemDesign/Connector/Hive-TsFile.md
similarity index 100%
rename from docs/zh/SystemDesign/7-Connector/2-Hive-TsFile.md
rename to docs/zh/SystemDesign/Connector/Hive-TsFile.md
diff --git a/docs/zh/SystemDesign/7-Connector/4-Spark-IOTDB.md
b/docs/zh/SystemDesign/Connector/Spark-IOTDB.md
similarity index 100%
rename from docs/zh/SystemDesign/7-Connector/4-Spark-IOTDB.md
rename to docs/zh/SystemDesign/Connector/Spark-IOTDB.md
diff --git a/docs/zh/SystemDesign/7-Connector/3-Spark-TsFile.md
b/docs/zh/SystemDesign/Connector/Spark-TsFile.md
similarity index 97%
rename from docs/zh/SystemDesign/7-Connector/3-Spark-TsFile.md
rename to docs/zh/SystemDesign/Connector/Spark-TsFile.md
index 19c8eb1..bb10bc7 100644
--- a/docs/zh/SystemDesign/7-Connector/3-Spark-TsFile.md
+++ b/docs/zh/SystemDesign/Connector/Spark-TsFile.md
@@ -7,9 +7,9 @@
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
-
+
http://www.apache.org/licenses/LICENSE-2.0
-
+
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
@@ -43,14 +43,14 @@
| time | device_name | status | hardware
| temperature |
|------|-------------------------------|--------------------------|----------------------------|-------------------------------|
-| 1 | root.ln.wf02.wt01 | true | null
| 2.2 |
-| 1 | root.ln.wf02.wt02 | true | null
| null |
-| 2 | root.ln.wf02.wt01 | null | null
| 2.2 |
-| 2 | root.ln.wf02.wt02 | false | aaa
| null |
-| 3 | root.ln.wf02.wt01 | true | null
| 2.1 |
-| 4 | root.ln.wf02.wt02 | true | bbb
| null |
-| 5 | root.ln.wf02.wt01 | false | null
| null |
-| 6 | root.ln.wf02.wt02 | null | ccc
| null |
+| 1 | root.ln.wf02.wt01 | true | null
| 2.2 |
+| 1 | root.ln.wf02.wt02 | true | null
| null |
+| 2 | root.ln.wf02.wt01 | null | null
| 2.2 |
+| 2 | root.ln.wf02.wt02 | false | aaa
| null |
+| 3 | root.ln.wf02.wt01 | true | null
| 2.1 |
+| 4 | root.ln.wf02.wt02 | true | bbb
| null |
+| 5 | root.ln.wf02.wt01 | false | null
| null |
+| 6 | root.ln.wf02.wt02 | null | ccc
| null |
## 查询流程步骤
@@ -85,7 +85,7 @@ SQL转化为表达式后,由于窄表结构与 TsFile 原生查询结构不同
实际数据查询执行由 TsFile 原生组件完成,参见:
-* [Tsfile原生查询流程](../1-TsFile/4-Read.md)
+* [Tsfile原生查询流程](../TsFile/Read.md)
## 写入步骤流程
diff --git a/docs/zh/SystemDesign/5-DataQuery/5-AggregationQuery.md
b/docs/zh/SystemDesign/DataQuery/AggregationQuery.md
similarity index 100%
rename from docs/zh/SystemDesign/5-DataQuery/5-AggregationQuery.md
rename to docs/zh/SystemDesign/DataQuery/AggregationQuery.md
diff --git a/docs/zh/SystemDesign/5-DataQuery/8-AlignByDeviceQuery.md
b/docs/zh/SystemDesign/DataQuery/AlignByDeviceQuery.md
similarity index 98%
rename from docs/zh/SystemDesign/5-DataQuery/8-AlignByDeviceQuery.md
rename to docs/zh/SystemDesign/DataQuery/AlignByDeviceQuery.md
index a74a3e1..8043ba1 100644
--- a/docs/zh/SystemDesign/5-DataQuery/8-AlignByDeviceQuery.md
+++ b/docs/zh/SystemDesign/DataQuery/AlignByDeviceQuery.md
@@ -7,9 +7,9 @@
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
-
+
http://www.apache.org/licenses/LICENSE-2.0
-
+
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
@@ -183,7 +183,7 @@ private void getAlignByDeviceQueryHeaders(
1. 首先判断当前结果集是否被初始化且有下一个结果,如果是则直接返回 true,即当前可以调用 `next()` 方法获取下一个
`RowRecord`;否则设置结果集未被初始化进入步骤2.
2. 迭代 `deviceIterator` 获取本次执行需要的设备,之后通过设备路径在 MManager
中查询到该设备节点,并取得该设备节点下的所有传感器节点,保存为 `measurementOfGivenDevice`.
3. 遍历当前查询中的所有 measurement,将其与执行设备的所有传感器节点进行比较,得到该设备需要查询的列 `executeColumns`.
之后拼接当前设备名与 measurements,计算当前设备的查询路径、数据类型及过滤条件,得到对应的字段分别为 `executePaths`,
`tsDataTypes`, `expression`,如果是聚合查询,则还需要计算 `executeAggregations`。
-4. 判断当前子查询类型为 GroupByQuery, AggregationQuery, FillQuery 或 RawDataQuery
进行对应的查询并返回结果集,实现逻辑可参考[原始数据查询](/#/SystemDesign/progress/chap5/sec3),[聚合查询](/#/SystemDesign/progress/chap5/sec4),[降采样查询](/#/SystemDesign/progress/chap5/sec5)。
+4. 判断当前子查询类型为 GroupByQuery, AggregationQuery, FillQuery 或 RawDataQuery
进行对应的查询并返回结果集,实现逻辑可参考[原始数据查询](../DataQuery/RawDataQuery.html),[聚合查询](../DataQuery/AggregationQuery.html),[降采样查询](../DataQuery/GroupByQuery.html)。
通过 `hasNextWithoutConstraint()` 方法初始化结果集并确保有下一结果后,则可调用 `QueryDataSet.next()`
方法获取下一个 `RowRecord`.
diff --git a/docs/zh/SystemDesign/5-DataQuery/1-DataQuery.md
b/docs/zh/SystemDesign/DataQuery/DataQuery.md
similarity index 64%
rename from docs/zh/SystemDesign/5-DataQuery/1-DataQuery.md
rename to docs/zh/SystemDesign/DataQuery/DataQuery.md
index 66ae84d..36510cd 100644
--- a/docs/zh/SystemDesign/5-DataQuery/1-DataQuery.md
+++ b/docs/zh/SystemDesign/DataQuery/DataQuery.md
@@ -35,12 +35,12 @@
## 相关文档
-* [查询基础介绍](/zh/SystemDesign/5-DataQuery/2-QueryFundamentals.html)
-* [基础查询组件](/zh/SystemDesign/5-DataQuery/3-SeriesReader.html)
-* [原始数据查询](/zh/SystemDesign/5-DataQuery/4-RawDataQuery.html)
-* [聚合查询](/zh/SystemDesign/5-DataQuery/5-AggregationQuery.html)
-* [降采样查询](/zh/SystemDesign/5-DataQuery/6-GroupByQuery.html)
-* [最近时间戳查询](/zh/SystemDesign/5-DataQuery/7-LastQuery.html)
-* [按设备对齐查询](/zh/SystemDesign/5-DataQuery/8-AlignByDeviceQuery.html)
-* [空值填充](/zh/SystemDesign/5-DataQuery/9-FillFunction.html)
-* [降采样补空值查询](/zh/SystemDesign/5-DataQuery/10-GroupByFillQuery.html)
+* [查询基础介绍](/zh/SystemDesign/DataQuery/QueryFundamentals.html)
+* [基础查询组件](/zh/SystemDesign/DataQuery/SeriesReader.html)
+* [原始数据查询](/zh/SystemDesign/DataQuery/RawDataQuery.html)
+* [聚合查询](/zh/SystemDesign/DataQuery/AggregationQuery.html)
+* [降采样查询](/zh/SystemDesign/DataQuery/GroupByQuery.html)
+* [最近时间戳查询](/zh/SystemDesign/DataQuery/LastQuery.html)
+* [按设备对齐查询](/zh/SystemDesign/DataQuery/AlignByDeviceQuery.html)
+* [空值填充](/zh/SystemDesign/DataQuery/FillFunction.html)
+* [降采样补空值查询](/zh/SystemDesign/DataQuery/GroupByFillQuery.html)
diff --git a/docs/zh/SystemDesign/5-DataQuery/9-FillFunction.md
b/docs/zh/SystemDesign/DataQuery/FillFunction.md
similarity index 100%
rename from docs/zh/SystemDesign/5-DataQuery/9-FillFunction.md
rename to docs/zh/SystemDesign/DataQuery/FillFunction.md
diff --git a/docs/zh/SystemDesign/5-DataQuery/10-GroupByFillQuery.md
b/docs/zh/SystemDesign/DataQuery/GroupByFillQuery.md
similarity index 100%
rename from docs/zh/SystemDesign/5-DataQuery/10-GroupByFillQuery.md
rename to docs/zh/SystemDesign/DataQuery/GroupByFillQuery.md
diff --git a/docs/zh/SystemDesign/5-DataQuery/6-GroupByQuery.md
b/docs/zh/SystemDesign/DataQuery/GroupByQuery.md
similarity index 100%
rename from docs/zh/SystemDesign/5-DataQuery/6-GroupByQuery.md
rename to docs/zh/SystemDesign/DataQuery/GroupByQuery.md
diff --git a/docs/zh/SystemDesign/5-DataQuery/7-LastQuery.md
b/docs/zh/SystemDesign/DataQuery/LastQuery.md
similarity index 100%
rename from docs/zh/SystemDesign/5-DataQuery/7-LastQuery.md
rename to docs/zh/SystemDesign/DataQuery/LastQuery.md
diff --git a/docs/zh/SystemDesign/5-DataQuery/2-QueryFundamentals.md
b/docs/zh/SystemDesign/DataQuery/QueryFundamentals.md
similarity index 96%
rename from docs/zh/SystemDesign/5-DataQuery/2-QueryFundamentals.md
rename to docs/zh/SystemDesign/DataQuery/QueryFundamentals.md
index f3421b3..baff167 100644
--- a/docs/zh/SystemDesign/5-DataQuery/2-QueryFundamentals.md
+++ b/docs/zh/SystemDesign/DataQuery/QueryFundamentals.md
@@ -30,7 +30,7 @@ IoTDB会将顺序和乱序文件分开存储在data/sequence和data/unsequence
## 读取TsFile的一般流程
-TsFile
各级结构在前面的[1-TsFile](/#/SystemDesign/progress/chap1/sec1)文档中已有介绍,读取一个时间序列的过程需要按照层级各级展开TsFileResource
-> TimeseriesMetadata -> ChunkMetadata -> IPageReader -> BatchData。
+TsFile
各级结构在前面的[TsFile](../TsFile/TsFile.html)文档中已有介绍,读取一个时间序列的过程需要按照层级各级展开TsFileResource
-> TimeseriesMetadata -> ChunkMetadata -> IPageReader -> BatchData。
文件读取的功能方法在
`org.apache.iotdb.db.utils.FileLoaderUtils`
diff --git a/docs/zh/SystemDesign/5-DataQuery/4-RawDataQuery.md
b/docs/zh/SystemDesign/DataQuery/RawDataQuery.md
similarity index 100%
rename from docs/zh/SystemDesign/5-DataQuery/4-RawDataQuery.md
rename to docs/zh/SystemDesign/DataQuery/RawDataQuery.md
diff --git a/docs/zh/SystemDesign/5-DataQuery/3-SeriesReader.md
b/docs/zh/SystemDesign/DataQuery/SeriesReader.md
similarity index 100%
rename from docs/zh/SystemDesign/5-DataQuery/3-SeriesReader.md
rename to docs/zh/SystemDesign/DataQuery/SeriesReader.md
diff --git a/docs/zh/SystemDesign/2-QueryEngine/3-PlanExecutor.md
b/docs/zh/SystemDesign/QueryEngine/PlanExecutor.md
similarity index 100%
rename from docs/zh/SystemDesign/2-QueryEngine/3-PlanExecutor.md
rename to docs/zh/SystemDesign/QueryEngine/PlanExecutor.md
diff --git a/docs/zh/SystemDesign/2-QueryEngine/2-Planner.md
b/docs/zh/SystemDesign/QueryEngine/Planner.md
similarity index 100%
rename from docs/zh/SystemDesign/2-QueryEngine/2-Planner.md
rename to docs/zh/SystemDesign/QueryEngine/Planner.md
diff --git a/docs/zh/SystemDesign/2-QueryEngine/1-QueryEngine.md
b/docs/zh/SystemDesign/QueryEngine/QueryEngine.md
similarity index 93%
rename from docs/zh/SystemDesign/2-QueryEngine/1-QueryEngine.md
rename to docs/zh/SystemDesign/QueryEngine/QueryEngine.md
index 5610bf7..9c668ab 100644
--- a/docs/zh/SystemDesign/2-QueryEngine/1-QueryEngine.md
+++ b/docs/zh/SystemDesign/QueryEngine/QueryEngine.md
@@ -60,5 +60,5 @@
## 相关文档
-* [查询计划生成器](/zh/SystemDesign/2-QueryEngine/2-Planner.html)
-* [计划执行器](/zh/SystemDesign/2-QueryEngine/3-PlanExecutor.html)
\ No newline at end of file
+* [查询计划生成器](/zh/SystemDesign/QueryEngine/Planner.html)
+* [计划执行器](/zh/SystemDesign/QueryEngine/PlanExecutor.html)
\ No newline at end of file
diff --git a/docs/zh/SystemDesign/2-QueryEngine/4-ResultSetConstruction.md
b/docs/zh/SystemDesign/QueryEngine/ResultSetConstruction.md
similarity index 99%
rename from docs/zh/SystemDesign/2-QueryEngine/4-ResultSetConstruction.md
rename to docs/zh/SystemDesign/QueryEngine/ResultSetConstruction.md
index da79fab..6c18129 100644
--- a/docs/zh/SystemDesign/2-QueryEngine/4-ResultSetConstruction.md
+++ b/docs/zh/SystemDesign/QueryEngine/ResultSetConstruction.md
@@ -7,9 +7,9 @@
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
-
+
http://www.apache.org/licenses/LICENSE-2.0
-
+
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
@@ -63,7 +63,7 @@ SQL2:`SELECT count(s1), max_time(s1) FROM root.sg.d1;` ->
- org.apache.iotdb.db.service.TSServiceImpl.getAlignByDeviceQueryHeaders
-按设备对齐查询的结果集构造依赖于物理查询计划中生成的**未去重**的度量(Measurements)列表。在此作简单介绍,度量列表是由 SELECT
子句中的后缀路径(包括通配符)生成的列表,其中共有三种类型,分别为常量(Constant)、存在的时间序列(Exist)以及不存在的时间序列(NonExist)。详细可以参考
[Align by device query](/SystemDesign/5-DataQuery/8-AlignByDeviceQuery.html)
+按设备对齐查询的结果集构造依赖于物理查询计划中生成的**未去重**的度量(Measurements)列表。在此作简单介绍,度量列表是由 SELECT
子句中的后缀路径(包括通配符)生成的列表,其中共有三种类型,分别为常量(Constant)、存在的时间序列(Exist)以及不存在的时间序列(NonExist)。详细可以参考
[Align by device query](/SystemDesign/DataQuery/AlignByDeviceQuery.html)
由于按设备对齐查询采用关系表结构,因此首先在表头中加入设备列,其对应的数据类型为文本类型。
diff --git a/docs/zh/SystemDesign/3-SchemaManager/1-SchemaManager.md
b/docs/zh/SystemDesign/SchemaManager/SchemaManager.md
similarity index 100%
rename from docs/zh/SystemDesign/3-SchemaManager/1-SchemaManager.md
rename to docs/zh/SystemDesign/SchemaManager/SchemaManager.md
diff --git a/docs/zh/SystemDesign/4-StorageEngine/6-DataManipulation.md
b/docs/zh/SystemDesign/StorageEngine/DataManipulation.md
similarity index 97%
rename from docs/zh/SystemDesign/4-StorageEngine/6-DataManipulation.md
rename to docs/zh/SystemDesign/StorageEngine/DataManipulation.md
index 6c5b790..2a87d06 100644
--- a/docs/zh/SystemDesign/4-StorageEngine/6-DataManipulation.md
+++ b/docs/zh/SystemDesign/StorageEngine/DataManipulation.md
@@ -64,17 +64,18 @@
目前不支持数据的原地更新操作,即update语句,但用户可以直接插入新的数据,在同一个时间点上的同一个时间序列以最新插入的数据为准
旧数据会通过合并来自动删除,参见:
-* [文件合并机制](/zh/SystemDesign/4-StorageEngine/4-MergeManager.html)
+* [文件合并机制](/zh/SystemDesign/StorageEngine/MergeManager.html)
## 数据删除
* 对应的接口
* JDBC 的 execute 接口,使用delete SQL语句
+
每个 StorageGroupProsessor 中针对每个分区会维护一个自增的版本号,由 SimpleFileVersionController 管理。
每个内存缓冲区 memtable 在持久化的时候会申请一个版本号。持久化到 TsFile 后,会在 TsFileMetadata 中记录此 memtable
对应的 多个 ChunkGroup 的终止位置和版本号。
查询时会根据此信息对 ChunkMetadata 赋 version。
-
+
* 总入口: public void delete(String deviceId, String measurementId, long
timestamp) StorageEngine.java
* 找到对应的 StorageGroupProcessor
* 找到受影响的所有 working TsFileProcessor 记录写前日志
diff --git a/docs/zh/SystemDesign/4-StorageEngine/5-DataPartition.md
b/docs/zh/SystemDesign/StorageEngine/DataPartition.md
similarity index 100%
rename from docs/zh/SystemDesign/4-StorageEngine/5-DataPartition.md
rename to docs/zh/SystemDesign/StorageEngine/DataPartition.md
diff --git a/docs/zh/SystemDesign/4-StorageEngine/3-FlushManager.md
b/docs/zh/SystemDesign/StorageEngine/FlushManager.md
similarity index 100%
rename from docs/zh/SystemDesign/4-StorageEngine/3-FlushManager.md
rename to docs/zh/SystemDesign/StorageEngine/FlushManager.md
diff --git a/docs/zh/SystemDesign/4-StorageEngine/4-MergeManager.md
b/docs/zh/SystemDesign/StorageEngine/MergeManager.md
similarity index 100%
rename from docs/zh/SystemDesign/4-StorageEngine/4-MergeManager.md
rename to docs/zh/SystemDesign/StorageEngine/MergeManager.md
diff --git a/docs/zh/SystemDesign/4-StorageEngine/1-StorageEngine.md
b/docs/zh/SystemDesign/StorageEngine/StorageEngine.md
similarity index 89%
rename from docs/zh/SystemDesign/4-StorageEngine/1-StorageEngine.md
rename to docs/zh/SystemDesign/StorageEngine/StorageEngine.md
index ec9df0b..978803f 100644
--- a/docs/zh/SystemDesign/4-StorageEngine/1-StorageEngine.md
+++ b/docs/zh/SystemDesign/StorageEngine/StorageEngine.md
@@ -49,7 +49,7 @@
## 数据写入
详见:
-* [数据写入](/zh/SystemDesign/4-StorageEngine/6-DataManipulation.html)
+* [数据写入](/zh/SystemDesign/StorageEngine/DataManipulation.html)
## 数据访问
@@ -60,8 +60,8 @@
## 相关文档
-* [写前日志 (WAL)](/zh/SystemDesign/4-StorageEngine/2-WAL.html)
+* [写前日志 (WAL)](/zh/SystemDesign/StorageEngine/WAL.html)
-* [memtable 持久化](/zh/SystemDesign/4-StorageEngine/3-FlushManager.html)
+* [memtable 持久化](/zh/SystemDesign/StorageEngine/FlushManager.html)
-* [文件合并机制](/zh/SystemDesign/4-StorageEngine/4-MergeManager.html)
\ No newline at end of file
+* [文件合并机制](/zh/SystemDesign/StorageEngine/MergeManager.html)
\ No newline at end of file
diff --git a/docs/zh/SystemDesign/4-StorageEngine/2-WAL.md
b/docs/zh/SystemDesign/StorageEngine/WAL.md
similarity index 100%
rename from docs/zh/SystemDesign/4-StorageEngine/2-WAL.md
rename to docs/zh/SystemDesign/StorageEngine/WAL.md
diff --git a/docs/zh/SystemDesign/6-Tools/1-Sync.md
b/docs/zh/SystemDesign/Tools/Sync.md
similarity index 100%
rename from docs/zh/SystemDesign/6-Tools/1-Sync.md
rename to docs/zh/SystemDesign/Tools/Sync.md
diff --git a/docs/zh/SystemDesign/1-TsFile/2-Format.md
b/docs/zh/SystemDesign/TsFile/Format.md
similarity index 100%
rename from docs/zh/SystemDesign/1-TsFile/2-Format.md
rename to docs/zh/SystemDesign/TsFile/Format.md
diff --git a/docs/zh/SystemDesign/1-TsFile/4-Read.md
b/docs/zh/SystemDesign/TsFile/Read.md
similarity index 100%
rename from docs/zh/SystemDesign/1-TsFile/4-Read.md
rename to docs/zh/SystemDesign/TsFile/Read.md
diff --git a/docs/zh/SystemDesign/1-TsFile/1-TsFile.md
b/docs/zh/SystemDesign/TsFile/TsFile.md
similarity index 85%
rename from docs/zh/SystemDesign/1-TsFile/1-TsFile.md
rename to docs/zh/SystemDesign/TsFile/TsFile.md
index 4cf33ae..2897901 100644
--- a/docs/zh/SystemDesign/1-TsFile/1-TsFile.md
+++ b/docs/zh/SystemDesign/TsFile/TsFile.md
@@ -7,9 +7,9 @@
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
-
+
http://www.apache.org/licenses/LICENSE-2.0
-
+
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
@@ -26,6 +26,6 @@ TsFile 是 IoTDB 的底层数据文件,专门为时间序列数据设计的列
## 相关文档
-* [文件格式](/#/SystemDesign/progress/chap1/sec2)
-* [写流程](/#/SystemDesign/progress/chap1/sec3)
-* [读流程](/#/SystemDesign/progress/chap1/sec4)
+* [文件格式](../TsFile/Format.html)
+* [写流程](../TsFile/Write.html)
+* [读流程](../TsFile/Read.html)
diff --git a/docs/zh/SystemDesign/1-TsFile/3-Write.md
b/docs/zh/SystemDesign/TsFile/Write.md
similarity index 100%
rename from docs/zh/SystemDesign/1-TsFile/3-Write.md
rename to docs/zh/SystemDesign/TsFile/Write.md
diff --git a/docs/zh/UserGuide/8-Architecture/1-Files.md
b/docs/zh/UserGuide/Architecture/Files.md
similarity index 86%
rename from docs/zh/UserGuide/8-Architecture/1-Files.md
rename to docs/zh/UserGuide/Architecture/Files.md
index f35fb7c..957867e 100644
--- a/docs/zh/UserGuide/8-Architecture/1-Files.md
+++ b/docs/zh/UserGuide/Architecture/Files.md
@@ -27,17 +27,17 @@ IoTDB需要存储的数据分为三类,分别为数据文件、系统文件以
## 数据文件
-数据文件存储了用户写入IoTDB系统的所有数据。包含TsFile文件和其他文件,可通过[data_dirs配置项](../3-Server/4-Config%20Manual.html)进行配置。
+数据文件存储了用户写入IoTDB系统的所有数据。包含TsFile文件和其他文件,可通过[data_dirs配置项](../Server/Config%20Manual.html)进行配置。
-为了更好的支持用户对于磁盘空间扩展等存储需求,IoTDB为TsFile的存储配置增加了多文件目录的存储方式,用户可自主配置多个存储路径作为数据的持久化位置(详情见[data_dirs配置项](../3-Server/4-Config%20Manual.html)),并可以指定或自定义目录选择策略(详情见[mult_dir_strategy配置项](../3-Server/4-Config%20Manual.html))。
+为了更好的支持用户对于磁盘空间扩展等存储需求,IoTDB为TsFile的存储配置增加了多文件目录的存储方式,用户可自主配置多个存储路径作为数据的持久化位置(详情见[data_dirs配置项](../Server/Config%20Manual.html)),并可以指定或自定义目录选择策略(详情见[mult_dir_strategy配置项](../Server/Config%20Manual.html))。
## 系统文件
-系统Schema文件,存储了数据文件的元数据信息。可通过base_dir配置项进行配置(详情见[base_dir配置项](../3-Server/4-Config%20Manual.html))。
+系统Schema文件,存储了数据文件的元数据信息。可通过base_dir配置项进行配置(详情见[base_dir配置项](../Server/Config%20Manual.html))。
## 写前日志文件
-写前日志文件存储了系统的写前日志。可通过`wal_dir`配置项进行配置(详情见[wal_dir配置项](../3-Server/4-Config%20Manual.html))。
+写前日志文件存储了系统的写前日志。可通过`wal_dir`配置项进行配置(详情见[wal_dir配置项](../Server/Config%20Manual.html))。
## 数据存储目录设置举例
diff --git a/docs/zh/UserGuide/8-Architecture/3-Shared Nothing Cluster.md
b/docs/zh/UserGuide/Architecture/Shared Nothing Cluster.md
similarity index 100%
rename from docs/zh/UserGuide/8-Architecture/3-Shared Nothing Cluster.md
rename to docs/zh/UserGuide/Architecture/Shared Nothing Cluster.md
diff --git a/docs/zh/UserGuide/8-Architecture/2-Writing Data on HDFS.md
b/docs/zh/UserGuide/Architecture/Writing Data on HDFS.md
similarity index 100%
rename from docs/zh/UserGuide/8-Architecture/2-Writing Data on HDFS.md
rename to docs/zh/UserGuide/Architecture/Writing Data on HDFS.md
diff --git a/docs/zh/UserGuide/4-Client/1-Command Line Interface.md
b/docs/zh/UserGuide/Client/Command Line Interface.md
similarity index 100%
rename from docs/zh/UserGuide/4-Client/1-Command Line Interface.md
rename to docs/zh/UserGuide/Client/Command Line Interface.md
diff --git a/docs/zh/UserGuide/4-Client/3-Programming - JDBC.md
b/docs/zh/UserGuide/Client/Programming - JDBC.md
similarity index 100%
rename from docs/zh/UserGuide/4-Client/3-Programming - JDBC.md
rename to docs/zh/UserGuide/Client/Programming - JDBC.md
diff --git a/docs/zh/UserGuide/4-Client/6-Programming - MQTT.md
b/docs/zh/UserGuide/Client/Programming - MQTT.md
similarity index 100%
rename from docs/zh/UserGuide/4-Client/6-Programming - MQTT.md
rename to docs/zh/UserGuide/Client/Programming - MQTT.md
diff --git a/docs/zh/UserGuide/4-Client/2-Programming - Native API.md
b/docs/zh/UserGuide/Client/Programming - Native API.md
similarity index 100%
rename from docs/zh/UserGuide/4-Client/2-Programming - Native API.md
rename to docs/zh/UserGuide/Client/Programming - Native API.md
diff --git a/docs/zh/UserGuide/4-Client/4-Programming - Other Languages.md
b/docs/zh/UserGuide/Client/Programming - Other Languages.md
similarity index 100%
rename from docs/zh/UserGuide/4-Client/4-Programming - Other Languages.md
rename to docs/zh/UserGuide/Client/Programming - Other Languages.md
diff --git a/docs/zh/UserGuide/4-Client/5-Programming - TsFile API.md
b/docs/zh/UserGuide/Client/Programming - TsFile API.md
similarity index 99%
rename from docs/zh/UserGuide/4-Client/5-Programming - TsFile API.md
rename to docs/zh/UserGuide/Client/Programming - TsFile API.md
index 99987cd..edc1337 100644
--- a/docs/zh/UserGuide/4-Client/5-Programming - TsFile API.md
+++ b/docs/zh/UserGuide/Client/Programming - TsFile API.md
@@ -226,7 +226,7 @@ TsFile可以通过以下三个步骤生成,完整的代码参见"写入 TsFile
* type: 数据类型,现在支持六种类型: `BOOLEAN`, `INT32`, `INT64`, `FLOAT`, `DOUBLE`,
`TEXT`;
- * encoding: 编码类型. 参见 [Chapter 2-3](../2-Concept/3-Encoding.html).
+ * encoding: 编码类型. 参见 [Chapter 2-3](../Concept/Encoding.html).
* compression: 压缩方式. 现在支持 `UNCOMPRESSED` 和 `SNAPPY`.
diff --git a/docs/zh/UserGuide/4-Client/7-Status Codes.md
b/docs/zh/UserGuide/Client/Status Codes.md
similarity index 100%
rename from docs/zh/UserGuide/4-Client/7-Status Codes.md
rename to docs/zh/UserGuide/Client/Status Codes.md
diff --git a/docs/zh/UserGuide/2-Concept/4-Compression.md
b/docs/zh/UserGuide/Concept/Compression.md
similarity index 94%
rename from docs/zh/UserGuide/2-Concept/4-Compression.md
rename to docs/zh/UserGuide/Concept/Compression.md
index 65844d2..9fcd640 100644
--- a/docs/zh/UserGuide/2-Concept/4-Compression.md
+++ b/docs/zh/UserGuide/Concept/Compression.md
@@ -28,4 +28,4 @@ IoTDB允许在创建一个时间序列的时候指定该列的压缩方式。现
* UNCOMPRESSED(不压缩)
* SNAPPY压缩
-压缩方式的指定语法详见本文[5.4节](../5-Operation%20Manual/4-SQL%20Reference.html)。
+压缩方式的指定语法详见本文[5.4节](../Operation%20Manual/SQL%20Reference.html)。
diff --git a/docs/zh/UserGuide/2-Concept/1-Data Model and Terminology.md
b/docs/zh/UserGuide/Concept/Data Model and Terminology.md
similarity index 100%
rename from docs/zh/UserGuide/2-Concept/1-Data Model and Terminology.md
rename to docs/zh/UserGuide/Concept/Data Model and Terminology.md
diff --git a/docs/zh/UserGuide/2-Concept/2-Data Type.md
b/docs/zh/UserGuide/Concept/Data Type.md
similarity index 78%
rename from docs/zh/UserGuide/2-Concept/2-Data Type.md
rename to docs/zh/UserGuide/Concept/Data Type.md
index 928b00c..68768cf 100644
--- a/docs/zh/UserGuide/2-Concept/2-Data Type.md
+++ b/docs/zh/UserGuide/Concept/Data Type.md
@@ -31,7 +31,7 @@ IoTDB支持:
一共六种数据类型。
-其中**FLOAT**与**DOUBLE**类型的序列,如果编码方式采用[RLE](../2-Concept/3-Encoding.html)或[TS_2DIFF](../2-Concept/3-Encoding.html)可以指定MAX_POINT_NUMBER,该项为浮点数的小数点后位数,具体指定方式请参见本文[第5.4节](../5-Operation%20Manual/4-SQL%20Reference.html),若不指定则系统会根据配置文件`iotdb-engine.properties`文件中的[float_precision项](../3-Server/4-Config%20Manual.html)配置。
+其中**FLOAT**与**DOUBLE**类型的序列,如果编码方式采用[RLE](../Concept/Encoding.html)或[TS_2DIFF](../Concept/Encoding.html)可以指定MAX_POINT_NUMBER,该项为浮点数的小数点后位数,具体指定方式请参见本文[第5.4节](../Operation%20Manual/SQL%20Reference.html),若不指定则系统会根据配置文件`iotdb-engine.properties`文件中的[float_precision项](../Server/Config%20Manual.html)配置。
当系统中用户输入的数据类型与该时间序列的数据类型不对应时,系统会提醒类型错误,如下所示,二阶差分不支持布尔类型的编码:
diff --git a/docs/zh/UserGuide/2-Concept/3-Encoding.md
b/docs/zh/UserGuide/Concept/Encoding.md
similarity index 91%
rename from docs/zh/UserGuide/2-Concept/3-Encoding.md
rename to docs/zh/UserGuide/Concept/Encoding.md
index 70170bc..e35460d 100644
--- a/docs/zh/UserGuide/2-Concept/3-Encoding.md
+++ b/docs/zh/UserGuide/Concept/Encoding.md
@@ -35,7 +35,7 @@ PLAIN编码,默认的编码方式,即不编码,支持多种数据类型,
游程编码,比较适合存储某些整数值连续出现的序列,不适合编码大部分情况下前后值不一样的序列数据。
-游程编码也可用于对浮点数进行编码,但在创建时间序列的时候需指定保留小数位数(MAX_POINT_NUMBER,具体指定方式参见本文本文[第5.4节](../5-Operation%20Manual/4-SQL%20Reference.html))。比较适合存储某些浮点数值连续出现的序列数据,不适合存储对小数点后精度要求较高以及前后波动较大的序列数据。
+游程编码也可用于对浮点数进行编码,但在创建时间序列的时候需指定保留小数位数(MAX_POINT_NUMBER,具体指定方式参见本文本文[第5.4节](../Operation%20Manual/SQL%20Reference.html))。比较适合存储某些浮点数值连续出现的序列数据,不适合存储对小数点后精度要求较高以及前后波动较大的序列数据。
* GORILLA编码(GORILLA)
diff --git a/docs/zh/UserGuide/7-Ecosystem Integration/1-Grafana.md
b/docs/zh/UserGuide/Ecosystem Integration/Grafana.md
similarity index 100%
rename from docs/zh/UserGuide/7-Ecosystem Integration/1-Grafana.md
rename to docs/zh/UserGuide/Ecosystem Integration/Grafana.md
diff --git a/docs/zh/UserGuide/7-Ecosystem Integration/5-Hive TsFile.md
b/docs/zh/UserGuide/Ecosystem Integration/Hive TsFile.md
similarity index 100%
rename from docs/zh/UserGuide/7-Ecosystem Integration/5-Hive TsFile.md
rename to docs/zh/UserGuide/Ecosystem Integration/Hive TsFile.md
diff --git a/docs/zh/UserGuide/7-Ecosystem Integration/2-MapReduce TsFile.md
b/docs/zh/UserGuide/Ecosystem Integration/MapReduce TsFile.md
similarity index 100%
rename from docs/zh/UserGuide/7-Ecosystem Integration/2-MapReduce TsFile.md
rename to docs/zh/UserGuide/Ecosystem Integration/MapReduce TsFile.md
diff --git a/docs/zh/UserGuide/7-Ecosystem Integration/4-Spark IoTDB.md
b/docs/zh/UserGuide/Ecosystem Integration/Spark IoTDB.md
similarity index 100%
rename from docs/zh/UserGuide/7-Ecosystem Integration/4-Spark IoTDB.md
rename to docs/zh/UserGuide/Ecosystem Integration/Spark IoTDB.md
diff --git a/docs/zh/UserGuide/7-Ecosystem Integration/3-Spark TsFile.md
b/docs/zh/UserGuide/Ecosystem Integration/Spark TsFile.md
similarity index 100%
rename from docs/zh/UserGuide/7-Ecosystem Integration/3-Spark TsFile.md
rename to docs/zh/UserGuide/Ecosystem Integration/Spark TsFile.md
diff --git a/docs/zh/UserGuide/0-Get Started/2-Frequently asked questions.md
b/docs/zh/UserGuide/Get Started/Frequently asked questions.md
similarity index 100%
rename from docs/zh/UserGuide/0-Get Started/2-Frequently asked questions.md
rename to docs/zh/UserGuide/Get Started/Frequently asked questions.md
diff --git a/docs/zh/UserGuide/0-Get Started/3-Publication.md
b/docs/zh/UserGuide/Get Started/Publication.md
similarity index 100%
rename from docs/zh/UserGuide/0-Get Started/3-Publication.md
rename to docs/zh/UserGuide/Get Started/Publication.md
diff --git a/docs/zh/UserGuide/0-Get Started/1-QuickStart.md
b/docs/zh/UserGuide/Get Started/QuickStart.md
old mode 100755
new mode 100644
similarity index 97%
rename from docs/zh/UserGuide/0-Get Started/1-QuickStart.md
rename to docs/zh/UserGuide/Get Started/QuickStart.md
index 69bdf35..b6f9b66
--- a/docs/zh/UserGuide/0-Get Started/1-QuickStart.md
+++ b/docs/zh/UserGuide/Get Started/QuickStart.md
@@ -41,7 +41,7 @@
<!-- /TOC -->
-本文将介绍关于IoTDB使用的基本流程,如果需要更多信息,请浏览我们官网的[指引](../1-Overview/1-What%20is%20IoTDB.html).
+本文将介绍关于IoTDB使用的基本流程,如果需要更多信息,请浏览我们官网的[指引](../Overview/What%20is%20IoTDB.html).
## 安装环境
@@ -71,7 +71,7 @@ IoTDB支持多种安装途径。用户可以使用三种方式对IoTDB进行安
* 系统配置模块 (`iotdb-engine.properties`)
* 日志配置模块 (`logback.xml`).
-想要了解更多,请浏览[Chapter3: Server](../3-Server/1-Download.html)
+想要了解更多,请浏览[Chapter3: Server](../Server/Download.html)
## IoTDB试用
@@ -268,7 +268,7 @@ IoTDB> quit
IoTDB> exit
```
-想要浏览更多IoTDB数据库支持的命令,请浏览[SQL
Reference](../5-Operation%20Manual/4-SQL%20Reference.html).
+想要浏览更多IoTDB数据库支持的命令,请浏览[SQL
Reference](../Operation%20Manual/SQL%20Reference.html).
### 停止IoTDB
diff --git a/docs/zh/UserGuide/5-Operation Manual/3-Administration.md
b/docs/zh/UserGuide/Operation Manual/Administration.md
similarity index 100%
rename from docs/zh/UserGuide/5-Operation Manual/3-Administration.md
rename to docs/zh/UserGuide/Operation Manual/Administration.md
diff --git a/docs/zh/UserGuide/5-Operation Manual/1-DDL Data Definition
Language.md b/docs/zh/UserGuide/Operation Manual/DDL Data Definition Language.md
similarity index 98%
rename from docs/zh/UserGuide/5-Operation Manual/1-DDL Data Definition
Language.md
rename to docs/zh/UserGuide/Operation Manual/DDL Data Definition Language.md
index 392e97b..8e47ce3 100644
--- a/docs/zh/UserGuide/5-Operation Manual/1-DDL Data Definition Language.md
+++ b/docs/zh/UserGuide/Operation Manual/DDL Data Definition Language.md
@@ -41,7 +41,7 @@ Msg: org.apache.iotdb.exception.MetadataErrorException:
org.apache.iotdb.excepti
## 查看存储组
-在存储组创建后,我们可以使用[SHOW STORAGE
GROUP](../5-Operation%20Manual/4-SQL%20Reference.html)语句来查看所有的存储组,SQL语句如下所示:
+在存储组创建后,我们可以使用[SHOW STORAGE
GROUP](../Operation%20Manual/SQL%20Reference.html)语句来查看所有的存储组,SQL语句如下所示:
```
IoTDB> show storage group
@@ -69,7 +69,7 @@ IoTDB> create timeseries root.ln.wf02.wt02.status WITH
DATATYPE=BOOLEAN, ENCODIN
error: encoding TS_2DIFF does not support BOOLEAN
```
-详细的数据类型与编码方式的对应列表请参见[编码方式](../2-Concept/3-Encoding.html)。
+详细的数据类型与编码方式的对应列表请参见[编码方式](../Concept/Encoding.html)。
### 标签点管理
diff --git a/docs/zh/UserGuide/5-Operation Manual/2-DML Data Manipulation
Language.md b/docs/zh/UserGuide/Operation Manual/DML Data Manipulation
Language.md
similarity index 97%
rename from docs/zh/UserGuide/5-Operation Manual/2-DML Data Manipulation
Language.md
rename to docs/zh/UserGuide/Operation Manual/DML Data Manipulation Language.md
index f370464..7c5ce19 100644
--- a/docs/zh/UserGuide/5-Operation Manual/2-DML Data Manipulation Language.md
+++ b/docs/zh/UserGuide/Operation Manual/DML Data Manipulation Language.md
@@ -25,7 +25,7 @@
IoTDB为用户提供多种插入实时数据的方式,例如在[Cli/Shell工具](../4-Client/1-Command%20Line%20Interface.html)中直接输入插入数据的INSERT语句,或使用Java
API(标准[Java
JDBC](../4-Client/3-Programming%20-%20JDBC.html)接口)单条或批量执行插入数据的INSERT语句。
-本节主要为您介绍实时数据接入的INSERT语句在场景中的实际使用示例,有关INSERT
SQL语句的详细语法请参见本文[INSERT语句](../5-Operation%20Manual/4-SQL%20Reference.html)节。
+本节主要为您介绍实时数据接入的INSERT语句在场景中的实际使用示例,有关INSERT
SQL语句的详细语法请参见本文[INSERT语句](../Operation%20Manual/SQL%20Reference.html)节。
### 使用INSERT语句
@@ -89,7 +89,7 @@ error: The TEXT data type should be covered by " or '
### 时间切片查询
-本节主要介绍时间切片查询的相关示例,主要使用的是[IoTDB
SELECT语句](../5-Operation%20Manual/4-SQL%20Reference.html)。同时,您也可以使用[Java
JDBC](../4-Client/3-Programming%20-%20JDBC.html)标准接口来执行相关的查询语句。
+本节主要介绍时间切片查询的相关示例,主要使用的是[IoTDB
SELECT语句](../Operation%20Manual/SQL%20Reference.html)。同时,您也可以使用[Java
JDBC](../4-Client/3-Programming%20-%20JDBC.html)标准接口来执行相关的查询语句。
#### 根据一个时间区间选择一列数据
@@ -174,7 +174,7 @@ select s1,s2 from root.sg1.* GROUP BY DEVICE
### 降频聚合查询
本章节主要介绍降频聚合查询的相关示例,
-主要使用的是IoTDB SELECT语句的[GROUP
BY子句](../5-Operation%20Manual/4-SQL%20Reference.html),
+主要使用的是IoTDB SELECT语句的[GROUP BY子句](../Operation%20Manual/SQL%20Reference.html),
该子句是IoTDB中用于根据用户给定划分条件对结果集进行划分,并对已划分的结果集进行聚合计算的语句。
IoTDB支持根据时间间隔和自定义的滑动步长(默认值与时间间隔相同,自定义的值必须大于等于时间间隔)对结果集进行划分,默认结果按照时间升序排列。
同时,您也可以使用Java JDBC标准接口来执行相关的查询语句。
@@ -492,7 +492,7 @@ select temperature from root.sgcc.wf03.wt01 where time =
2017-11-01T16:37:50.000
### 对查询结果的行和列控制
-IoTDB提供 [LIMIT/SLIMIT](../5-Operation%20Manual/4-SQL%20Reference.html) 子句和
[OFFSET/SOFFSET](../5-Operation%20Manual/4-SQL%20Reference.html)
子句,以使用户可以更好地控制查询结果。使用LIMIT和SLIMIT子句可让用户控制查询结果的行数和列数,
+IoTDB提供 [LIMIT/SLIMIT](../Operation%20Manual/SQL%20Reference.html) 子句和
[OFFSET/SOFFSET](../Operation%20Manual/SQL%20Reference.html)
子句,以使用户可以更好地控制查询结果。使用LIMIT和SLIMIT子句可让用户控制查询结果的行数和列数,
并且使用OFFSET和SOFSET子句允许用户设置结果显示的起始位置。
请注意,按组查询不支持LIMIT和OFFSET。
@@ -747,7 +747,7 @@ SQL语句将不会执行,并且相应的错误提示如下:
### 数据删除
-用户使用[DELETE语句](../5-Operation%20Manual/4-SQL%20Reference.html)可以删除指定的时间序列中符合时间删除条件的数据。在删除数据时,用户可以选择需要删除的一个或多个时间序列、时间序列的前缀、时间序列带\*路径对某时间之前的数据进行删除(当前版本暂不支持删除某一闭时间区间范围内的数据)。
+用户使用[DELETE语句](../Operation%20Manual/SQL%20Reference.html)可以删除指定的时间序列中符合时间删除条件的数据。在删除数据时,用户可以选择需要删除的一个或多个时间序列、时间序列的前缀、时间序列带\*路径对某时间之前的数据进行删除(当前版本暂不支持删除某一闭时间区间范围内的数据)。
在JAVA编程环境中,您可以使用JDBC API单条或批量执行DELETE语句。
diff --git a/docs/zh/UserGuide/5-Operation Manual/4-SQL Reference.md
b/docs/zh/UserGuide/Operation Manual/SQL Reference.md
similarity index 100%
rename from docs/zh/UserGuide/5-Operation Manual/4-SQL Reference.md
rename to docs/zh/UserGuide/Operation Manual/SQL Reference.md
diff --git a/docs/zh/UserGuide/1-Overview/2-Architecture.md
b/docs/zh/UserGuide/Overview/Architecture.md
similarity index 100%
rename from docs/zh/UserGuide/1-Overview/2-Architecture.md
rename to docs/zh/UserGuide/Overview/Architecture.md
diff --git a/docs/zh/UserGuide/1-Overview/4-Features.md
b/docs/zh/UserGuide/Overview/Features.md
similarity index 100%
rename from docs/zh/UserGuide/1-Overview/4-Features.md
rename to docs/zh/UserGuide/Overview/Features.md
diff --git a/docs/zh/UserGuide/1-Overview/3-Scenario.md
b/docs/zh/UserGuide/Overview/Scenario.md
similarity index 100%
rename from docs/zh/UserGuide/1-Overview/3-Scenario.md
rename to docs/zh/UserGuide/Overview/Scenario.md
diff --git a/docs/zh/UserGuide/1-Overview/1-What is IoTDB.md
b/docs/zh/UserGuide/Overview/What is IoTDB.md
similarity index 100%
rename from docs/zh/UserGuide/1-Overview/1-What is IoTDB.md
rename to docs/zh/UserGuide/Overview/What is IoTDB.md
diff --git a/docs/zh/UserGuide/3-Server/3-Cluster Setup.md
b/docs/zh/UserGuide/Server/Cluster Setup.md
similarity index 100%
rename from docs/zh/UserGuide/3-Server/3-Cluster Setup.md
rename to docs/zh/UserGuide/Server/Cluster Setup.md
diff --git a/docs/zh/UserGuide/3-Server/4-Config Manual.md
b/docs/zh/UserGuide/Server/Config Manual.md
similarity index 100%
rename from docs/zh/UserGuide/3-Server/4-Config Manual.md
rename to docs/zh/UserGuide/Server/Config Manual.md
diff --git a/docs/zh/UserGuide/3-Server/5-Docker Image.md
b/docs/zh/UserGuide/Server/Docker Image.md
similarity index 100%
rename from docs/zh/UserGuide/3-Server/5-Docker Image.md
rename to docs/zh/UserGuide/Server/Docker Image.md
diff --git a/docs/zh/UserGuide/3-Server/1-Download.md
b/docs/zh/UserGuide/Server/Download.md
similarity index 96%
rename from docs/zh/UserGuide/3-Server/1-Download.md
rename to docs/zh/UserGuide/Server/Download.md
index b0141e1..06513b1 100644
--- a/docs/zh/UserGuide/3-Server/1-Download.md
+++ b/docs/zh/UserGuide/Server/Download.md
@@ -85,4 +85,4 @@ Shell > tar -zxf iotdb-<version>.tar.gz # For Linux or MacOS
## 通过Docker安装 (Dockerfile)
-你可以通过[这份指南](../3-Server/5-Docker%20Image.html)编译并运行一个IoTDB docker image。
+你可以通过[这份指南](../Server/Docker%20Image.html)编译并运行一个IoTDB docker image。
diff --git a/docs/zh/UserGuide/3-Server/2-Single Node Setup.md
b/docs/zh/UserGuide/Server/Single Node Setup.md
similarity index 100%
rename from docs/zh/UserGuide/3-Server/2-Single Node Setup.md
rename to docs/zh/UserGuide/Server/Single Node Setup.md
diff --git a/docs/zh/UserGuide/6-System Tools/3-JMX Tool.md
b/docs/zh/UserGuide/System Tools/JMX Tool.md
similarity index 100%
rename from docs/zh/UserGuide/6-System Tools/3-JMX Tool.md
rename to docs/zh/UserGuide/System Tools/JMX Tool.md
diff --git a/docs/zh/UserGuide/6-System Tools/8-Load External Tsfile.md
b/docs/zh/UserGuide/System Tools/Load External Tsfile.md
similarity index 100%
rename from docs/zh/UserGuide/6-System Tools/8-Load External Tsfile.md
rename to docs/zh/UserGuide/System Tools/Load External Tsfile.md
diff --git a/docs/zh/UserGuide/6-System Tools/5-Log Visualizer.md
b/docs/zh/UserGuide/System Tools/Log Visualizer.md
similarity index 100%
rename from docs/zh/UserGuide/6-System Tools/5-Log Visualizer.md
rename to docs/zh/UserGuide/System Tools/Log Visualizer.md
diff --git a/docs/zh/UserGuide/6-System Tools/2-Memory Estimation Tool.md
b/docs/zh/UserGuide/System Tools/Memory Estimation Tool.md
similarity index 100%
rename from docs/zh/UserGuide/6-System Tools/2-Memory Estimation Tool.md
rename to docs/zh/UserGuide/System Tools/Memory Estimation Tool.md
diff --git a/docs/zh/UserGuide/6-System Tools/7-Monitor and Log Tools.md
b/docs/zh/UserGuide/System Tools/Monitor and Log Tools.md
similarity index 96%
rename from docs/zh/UserGuide/6-System Tools/7-Monitor and Log Tools.md
rename to docs/zh/UserGuide/System Tools/Monitor and Log Tools.md
index 6e2e3bc..d1390b9 100644
--- a/docs/zh/UserGuide/6-System Tools/7-Monitor and Log Tools.md
+++ b/docs/zh/UserGuide/System Tools/Monitor and Log Tools.md
@@ -151,13 +151,13 @@ Monitor下有几个属性,包括在不同文件夹中打开的文件数,数
本模块是IoTDB为用户提供的对其中存储数据信息的数据统计监控方式,我们会在系统中为您记录各个模块的数据统计信息,并将其汇总存入数据库中。当前版本的IoTDB提供IoTDB写入数据的统计功能。
-用户可以选择开启或关闭数据统计监控功能(您可以设定配置文件中的`enable_stat_monitor`项,详细信息参见[第3.4节](../3-Server/4-Config%20Manual.html))。
+用户可以选择开启或关闭数据统计监控功能(您可以设定配置文件中的`enable_stat_monitor`项,详细信息参见[第3.4节](../Server/Config%20Manual.html))。
#### 写入数据统计
-系统目前对写入数据的统计可分为两大模块: 全局(Global) 写入数据统计和存储组(Storage Group) 写入数据统计。
全局统计量记录了所有写入数据的点数、请求数统计,存储组统计量对某一个存储组的写入数据进行了统计,系统默认设定每 5 秒
(若需更改统计频率,您可以设定配置文件中的`back_loop_period_in_second`项,详细信息参见本文[3.4节](../3-Server/4-Config%20Manual.html))
将统计量写入 IoTDB 中,并以系统指定的命名方式存储。系统刷新或者重启后, IoTDB 不对统计量做恢复处理,统计量从零值重新开始计算。
+系统目前对写入数据的统计可分为两大模块: 全局(Global) 写入数据统计和存储组(Storage Group) 写入数据统计。
全局统计量记录了所有写入数据的点数、请求数统计,存储组统计量对某一个存储组的写入数据进行了统计,系统默认设定每 5 秒
(若需更改统计频率,您可以设定配置文件中的`back_loop_period_in_second`项,详细信息参见本文[3.4节](../Server/Config%20Manual.html))
将统计量写入 IoTDB 中,并以系统指定的命名方式存储。系统刷新或者重启后, IoTDB 不对统计量做恢复处理,统计量从零值重新开始计算。
-为了避免统计信息占用过多空间,我们为统计信息加入定期清除无效数据的机制。系统将每隔一段时间删除无效数据。用户可以通过设置删除机制触发频率(`stat_monitor_retain_interval_in_second`项,默认为600s,详细信息参见本文[3.4节](../3-Server/4-Config%20Manual.html))配置删除数据的频率,通过设置有效数据的期限(`stat_monitor_detect_freq_in_second`项,默认为600s,详细信息参见本文[3.4节](../3-Server/4-Config%20Manual.html))设置有效数据的范围,即距离清除操作触发时间为`stat_monitor_detect_freq_in_second`以内的数据为有效数据。为了保证系统的稳定,不允许频繁地删除统计量,因此如果配置参数的时间小于默认值,系统不采用配置参数而使用默认参数。
+为了避免统计信息占用过多空间,我们为统计信息加入定期清除无效数据的机制。系统将每隔一段时间删除无效数据。用户可以通过设置删除机制触发频率(`stat_monitor_retain_interval_in_second`项,默认为600s,详细信息参见本文[3.4节](../Server/Config%20Manual.html))配置删除数据的频率,通过设置有效数据的期限(`stat_monitor_detect_freq_in_second`项,默认为600s,详细信息参见本文[3.4节](../Server/Config%20Manual.html))设置有效数据的范围,即距离清除操作触发时间为`stat_monitor_detect_freq_in_second`以内的数据为有效数据。为了保证系统的稳定,不允许频繁地删除统计量,因此如果配置参数的时间小于默认值,系统不采用配置参数而使用默认参数。
注:当前版本统计的写入数据统计信息会同时统计用户写入的数据与系统内部监控数据。
diff --git a/docs/zh/UserGuide/6-System Tools/6-Query History Visualization
Tool.md b/docs/zh/UserGuide/System Tools/Query History Visualization Tool.md
similarity index 100%
rename from docs/zh/UserGuide/6-System Tools/6-Query History Visualization
Tool.md
rename to docs/zh/UserGuide/System Tools/Query History Visualization Tool.md
diff --git a/docs/zh/UserGuide/6-System Tools/1-Sync Tool.md
b/docs/zh/UserGuide/System Tools/Sync Tool.md
similarity index 100%
rename from docs/zh/UserGuide/6-System Tools/1-Sync Tool.md
rename to docs/zh/UserGuide/System Tools/Sync Tool.md
diff --git a/docs/zh/UserGuide/6-System Tools/4-Watermark Tool.md
b/docs/zh/UserGuide/System Tools/Watermark Tool.md
similarity index 100%
rename from docs/zh/UserGuide/6-System Tools/4-Watermark Tool.md
rename to docs/zh/UserGuide/System Tools/Watermark Tool.md
diff --git a/site/src/main/.vuepress/config.js
b/site/src/main/.vuepress/config.js
index ba279ca..9653455 100644
--- a/site/src/main/.vuepress/config.js
+++ b/site/src/main/.vuepress/config.js
@@ -72,14 +72,14 @@ var config = {
{
text: 'Document',
items: [
- { text: 'In progress', link:
'/UserGuide/Master/0-Get Started/1-QuickStart' },
+ { text: 'In progress', link:
'/UserGuide/Master/Get Started/QuickStart' },
{ text: 'V0.9.x', link:
'/UserGuide/V0.9.x/0-Get Started/1-QuickStart' },
{ text: 'V0.8.x', link:
'/UserGuide/V0.8.x/0-Get Started/1-QuickStart'},
]
},
{
text: 'System design',
- link:
'/SystemDesign/0-Architecture/1-Architecture'
+ link:
'/SystemDesign/Architecture/Architecture'
},
{
text: 'Download',
@@ -307,91 +307,91 @@ var config = {
collapsable: false,
},
{
- title: '0-Get Started',
+ title: 'Get Started',
children: [
- ['0-Get
Started/1-QuickStart','QuickStart'],
- ['0-Get
Started/2-Frequently asked questions','Frequently asked questions'],
- ['0-Get
Started/3-Publication','Research Papers']
+ ['Get
Started/QuickStart','QuickStart'],
+ ['Get
Started/Frequently asked questions','Frequently asked questions'],
+ ['Get
Started/Publication','Research Papers']
]
},
{
- title: '1-Overview',
+ title: 'Overview',
children: [
- ['1-Overview/1-What is
IoTDB','What is IoTDB'],
-
['1-Overview/2-Architecture','Architecture'],
-
['1-Overview/3-Scenario','Scenario'],
-
['1-Overview/4-Features','Features']
+ ['Overview/What is
IoTDB','What is IoTDB'],
+
['Overview/Architecture','Architecture'],
+
['Overview/Scenario','Scenario'],
+
['Overview/Features','Features']
]
},
{
- title: '2-Concept',
+ title: 'Concept',
children: [
- ['2-Concept/1-Data
Model and Terminology','Data Model and Terminology'],
- ['2-Concept/2-Data
Type','Data Type'],
-
['2-Concept/3-Encoding','Encoding'],
-
['2-Concept/4-Compression','Compression']
+ ['Concept/Data Model
and Terminology','Data Model and Terminology'],
+ ['Concept/Data
Type','Data Type'],
+
['Concept/Encoding','Encoding'],
+
['Concept/Compression','Compression']
]
},
{
- title: '3-Server',
+ title: 'Server',
children: [
-
['3-Server/1-Download','Download'],
- ['3-Server/2-Single
Node Setup','Single Node Setup'],
- ['3-Server/3-Cluster
Setup','Cluster Setup'],
- ['3-Server/4-Config
Manual','Config Manual'],
- ['3-Server/5-Docker
Image','Docker Image']
+
['Server/Download','Download'],
+ ['Server/Single Node
Setup','Single Node Setup'],
+ ['Server/Cluster
Setup','Cluster Setup'],
+ ['Server/Config
Manual','Config Manual'],
+ ['Server/Docker
Image','Docker Image']
]
},
{
- title: '4-Client',
+ title: 'Client',
children: [
- ['4-Client/1-Command
Line Interface','Command Line Interface'],
-
['4-Client/2-Programming - Native API','Native API'],
-
['4-Client/3-Programming - JDBC','JDBC'],
-
['4-Client/4-Programming - Other Languages','Other Languages'],
-
['4-Client/5-Programming - TsFile API','TsFile API'],
-
['4-Client/6-Programming - MQTT','MQTT'],
- ['4-Client/7-Status
Codes','Status Codes']
+ ['Client/Command Line
Interface','Command Line Interface'],
+ ['Client/Programming -
Native API','Native API'],
+ ['Client/Programming -
JDBC','JDBC'],
+ ['Client/Programming -
Other Languages','Other Languages'],
+ ['Client/Programming -
TsFile API','TsFile API'],
+ ['Client/Programming -
MQTT','MQTT'],
+ ['Client/Status
Codes','Status Codes']
]
},
{
- title: '5-Operation Manual',
+ title: 'Operation Manual',
children: [
- ['5-Operation
Manual/1-DDL Data Definition Language','DDL (Data Definition Language)'],
- ['5-Operation
Manual/2-DML Data Manipulation Language','DML (Data Manipulation Language)'],
- ['5-Operation
Manual/3-Administration','Administration'],
- ['5-Operation
Manual/4-SQL Reference','SQL Reference']
+ ['Operation Manual/DDL
Data Definition Language','DDL (Data Definition Language)'],
+ ['Operation Manual/DML
Data Manipulation Language','DML (Data Manipulation Language)'],
+ ['Operation
Manual/Administration','Administration'],
+ ['Operation Manual/SQL
Reference','SQL Reference']
]
},
{
- title: '6-System Tools',
+ title: 'System Tools',
children: [
- ['6-System Tools/1-Sync
Tool','Sync Tool'],
- ['6-System
Tools/2-Memory Estimation Tool','Memory Estimation Tool'],
- ['6-System Tools/3-JMX
Tool','JMX Tool'],
- ['6-System
Tools/4-Watermark Tool','Watermark Tool'],
- ['6-System Tools/5-Log
Visualizer','Log Visualizer'],
- ['6-System
Tools/6-Query History Visualization Tool','Query History Visualization Tool'],
- ['6-System
Tools/7-Monitor and Log Tools','Monitor and Log Tools'],
- ['6-System Tools/8-Load
External Tsfile','Load External Tsfile']
+ ['System Tools/Sync
Tool','Sync Tool'],
+ ['System Tools/Memory
Estimation Tool','Memory Estimation Tool'],
+ ['System Tools/JMX
Tool','JMX Tool'],
+ ['System
Tools/Watermark Tool','Watermark Tool'],
+ ['System Tools/Log
Visualizer','Log Visualizer'],
+ ['System Tools/Query
History Visualization Tool','Query History Visualization Tool'],
+ ['System Tools/Monitor
and Log Tools','Monitor and Log Tools'],
+ ['System Tools/Load
External Tsfile','Load External Tsfile']
]
},
{
- title: '7-Ecosystem
Integration',
+ title: 'Ecosystem Integration',
children: [
- ['7-Ecosystem
Integration/1-Grafana','Grafana'],
- ['7-Ecosystem
Integration/2-MapReduce TsFile','MapReduce TsFile'],
- ['7-Ecosystem
Integration/3-Spark TsFile','Spark TsFile'],
- ['7-Ecosystem
Integration/4-Spark IoTDB','Spark IoTDB'],
- ['7-Ecosystem
Integration/5-Hive TsFile','Hive TsFile']
+ ['Ecosystem
Integration/Grafana','Grafana'],
+ ['Ecosystem
Integration/MapReduce TsFile','MapReduce TsFile'],
+ ['Ecosystem
Integration/Spark TsFile','Spark TsFile'],
+ ['Ecosystem
Integration/Spark IoTDB','Spark IoTDB'],
+ ['Ecosystem
Integration/Hive TsFile','Hive TsFile']
]
},
{
- title: '8-Architecture',
+ title: 'Architecture',
children: [
-
['8-Architecture/1-Files','Files'],
-
['8-Architecture/2-Writing Data on HDFS','Writing Data on HDFS'],
-
['8-Architecture/3-Shared Nothing Cluster','Shared Nothing Cluster']
+
['Architecture/Files','Files'],
+ ['Architecture/Writing
Data on HDFS','Writing Data on HDFS'],
+ ['Architecture/Shared
Nothing Cluster','Shared Nothing Cluster']
]
},
],
@@ -401,79 +401,79 @@ var config = {
collapsable: false,
},
{
- title: '0-Architecture',
+ title: 'Architecture',
children: [
-
['0-Architecture/1-Architecture','Architecture']
+
['Architecture/Architecture','Architecture']
]
},
{
- title: '1-TsFile',
+ title: 'TsFile',
children: [
-
['1-TsFile/1-TsFile','TsFile'],
-
['1-TsFile/2-Format','Format'],
-
['1-TsFile/3-Write','Write'],
-
['1-TsFile/4-Read','Read']
+
['TsFile/TsFile','TsFile'],
+
['TsFile/Format','Format'],
+
['TsFile/Write','Write'],
+ ['TsFile/Read','Read']
]
},
{
- title: '2-QueryEngine',
+ title: 'QueryEngine',
children: [
-
['2-QueryEngine/1-QueryEngine','QueryEngine'],
-
['2-QueryEngine/2-Planner','Planner'],
-
['2-QueryEngine/3-PlanExecutor','PlanExecutor'],
-
['2-QueryEngine/4-ResultSetConstruction','ResultSetConstruction']
+
['QueryEngine/QueryEngine','QueryEngine'],
+
['QueryEngine/Planner','Planner'],
+
['QueryEngine/PlanExecutor','PlanExecutor'],
+
['QueryEngine/ResultSetConstruction','ResultSetConstruction']
]
},
{
- title: '3-SchemaManager',
+ title: 'SchemaManager',
children: [
-
['3-SchemaManager/1-SchemaManager','SchemaManager'],
+
['SchemaManager/SchemaManager','SchemaManager'],
]
},
{
- title: '4-StorageEngine',
+ title: 'StorageEngine',
children: [
-
['4-StorageEngine/1-StorageEngine','StorageEngine'],
-
['4-StorageEngine/2-WAL','WAL'],
-
['4-StorageEngine/3-FlushManager','FlushManager'],
-
['4-StorageEngine/4-MergeManager','MergeManager'],
-
['4-StorageEngine/5-DataPartition','DataPartition'],
-
['4-StorageEngine/6-DataManipulation','DataManipulation']
+
['StorageEngine/StorageEngine','StorageEngine'],
+
['StorageEngine/WAL','WAL'],
+
['StorageEngine/FlushManager','FlushManager'],
+
['StorageEngine/MergeManager','MergeManager'],
+
['StorageEngine/DataPartition','DataPartition'],
+
['StorageEngine/DataManipulation','DataManipulation']
]
},
{
- title: '5-DataQuery',
+ title: 'DataQuery',
children: [
-
['5-DataQuery/1-DataQuery','DataQuery'],
-
['5-DataQuery/2-QueryFundamentals','QueryFundamentals'],
-
['5-DataQuery/3-SeriesReader','SeriesReader'],
-
['5-DataQuery/4-RawDataQuery','RawDataQuery'],
-
['5-DataQuery/5-AggregationQuery','AggregationQuery'],
-
['5-DataQuery/6-GroupByQuery','GroupByQuery'],
-
['5-DataQuery/7-LastQuery','LastQuery'],
-
['5-DataQuery/8-AlignByDeviceQuery','AlignByDeviceQuery'],
-
['5-DataQuery/9-FillFunction','FillFunction'],
- ['5-DataQuery/10-GroupByFillQuery',
'GroupByFillQuery']
+
['DataQuery/DataQuery','DataQuery'],
+
['DataQuery/QueryFundamentals','QueryFundamentals'],
+
['DataQuery/SeriesReader','SeriesReader'],
+
['DataQuery/RawDataQuery','RawDataQuery'],
+
['DataQuery/AggregationQuery','AggregationQuery'],
+
['DataQuery/GroupByQuery','GroupByQuery'],
+
['DataQuery/LastQuery','LastQuery'],
+
['DataQuery/AlignByDeviceQuery','AlignByDeviceQuery'],
+
['DataQuery/FillFunction','FillFunction'],
+ ['DataQuery/GroupByFillQuery',
'GroupByFillQuery']
]
},
{
- title: '6-Tools',
+ title: 'Tools',
children: [
-
['6-Tools/1-Sync','Sync']
+ ['Tools/Sync','Sync']
]
},
{
- title: '7-Connector',
+ title: 'Connector',
children: [
-
['7-Connector/2-Hive-TsFile','Hive-TsFile'],
-
['7-Connector/3-Spark-TsFile','Spark-TsFile'],
-
['7-Connector/4-Spark-IOTDB','Spark-IOTDB']
+
['Connector/Hive-TsFile','Hive-TsFile'],
+
['Connector/Spark-TsFile','Spark-TsFile'],
+
['Connector/Spark-IOTDB','Spark-IOTDB']
]
},
{
- title: '8-Client',
+ title: 'Client',
children: [
- ['8-Client/1-RPC','RPC']
+ ['Client/RPC','RPC']
]
},
],
@@ -500,14 +500,14 @@ var config = {
{
text: '文档',
items: [
- { text: 'In progress', link:
'/zh/UserGuide/Master/0-Get Started/1-QuickStart' },
+ { text: 'In progress', link:
'/zh/UserGuide/Master/Get Started/QuickStart' },
{ text: 'V0.9.x', link:
'/zh/UserGuide/V0.9.x/0-Get Started/1-QuickStart' },
{ text: 'V0.8.x', link:
'/zh/UserGuide/V0.8.x/0-Get Started/1-QuickStart'},
]
},
{
text: '系统设计',
- link:
'/zh/SystemDesign/0-Architecture/1-Architecture'
+ link:
'/zh/SystemDesign/Architecture/Architecture'
},
{
text: '下载',
@@ -728,91 +728,91 @@ var config = {
collapsable: false,
},
{
- title: '0-开始',
+ title: '开始',
children: [
- ['0-Get
Started/1-QuickStart','快速入门'],
- ['0-Get
Started/2-Frequently asked questions','经常问的问题'],
- ['0-Get
Started/3-Publication','调查报告']
+ ['Get
Started/QuickStart','快速入门'],
+ ['Get
Started/Frequently asked questions','经常问的问题'],
+ ['Get
Started/Publication','调查报告']
]
},
{
- title: '1-概述',
+ title: '概述',
children: [
- ['1-Overview/1-What is
IoTDB','什么是IoTDB'],
-
['1-Overview/2-Architecture','架构'],
-
['1-Overview/3-Scenario','场景'],
-
['1-Overview/4-Features','特征']
+ ['Overview/What is
IoTDB','什么是IoTDB'],
+
['Overview/Architecture','架构'],
+
['Overview/Scenario','场景'],
+
['Overview/Features','特征']
]
},
{
- title: '2-概念',
+ title: '概念',
children: [
- ['2-Concept/1-Data
Model and Terminology','数据模型与技术'],
- ['2-Concept/2-Data
Type','数据类型'],
-
['2-Concept/3-Encoding','编码方式'],
-
['2-Concept/4-Compression','压缩方式']
+ ['Concept/Data Model
and Terminology','数据模型与技术'],
+ ['Concept/Data
Type','数据类型'],
+
['Concept/Encoding','编码方式'],
+
['Concept/Compression','压缩方式']
]
},
{
- title: '3-服务器端',
+ title: '服务器端',
children: [
-
['3-Server/1-Download','下载'],
- ['3-Server/2-Single
Node Setup','单节点安装'],
- ['3-Server/3-Cluster
Setup','集群设置'],
- ['3-Server/4-Config
Manual','配置手册'],
- ['3-Server/5-Docker
Image','Docker镜像']
+
['Server/Download','下载'],
+ ['Server/Single Node
Setup','单节点安装'],
+ ['Server/Cluster
Setup','集群设置'],
+ ['Server/Config
Manual','配置手册'],
+ ['Server/Docker
Image','Docker镜像']
]
},
{
- title: '4-客户端',
+ title: '客户端',
children: [
- ['4-Client/1-Command
Line Interface','命令行接口(CLI)'],
-
['4-Client/2-Programming - Native API','原生接口'],
-
['4-Client/3-Programming - JDBC','JDBC'],
-
['4-Client/4-Programming - Other Languages','其他语言'],
-
['4-Client/5-Programming - TsFile API','TsFile API'],
-
['4-Client/6-Programming - MQTT','MQTT'],
- ['4-Client/7-Status
Codes','状态码']
+ ['Client/Command Line
Interface','命令行接口(CLI)'],
+ ['Client/Programming -
Native API','原生接口'],
+ ['Client/Programming -
JDBC','JDBC'],
+ ['Client/Programming -
Other Languages','其他语言'],
+ ['Client/Programming -
TsFile API','TsFile API'],
+ ['Client/Programming -
MQTT','MQTT'],
+ ['Client/Status
Codes','状态码']
]
},
{
- title: '5-操作指南',
+ title: '操作指南',
children: [
- ['5-Operation
Manual/1-DDL Data Definition Language','DDL (数据定义语言)'],
- ['5-Operation
Manual/2-DML Data Manipulation Language','DML (数据操作语言)'],
- ['5-Operation
Manual/3-Administration','权限管理语句'],
- ['5-Operation
Manual/4-SQL Reference','SQL 参考文档']
+ ['Operation Manual/DDL
Data Definition Language','DDL (数据定义语言)'],
+ ['Operation Manual/DML
Data Manipulation Language','DML (数据操作语言)'],
+ ['Operation
Manual/Administration','权限管理语句'],
+ ['Operation Manual/SQL
Reference','SQL 参考文档']
]
},
{
- title: '6-系统工具',
+ title: '系统工具',
children: [
- ['6-System Tools/1-Sync
Tool','同步工具'],
- ['6-System
Tools/2-Memory Estimation Tool','内存预估'],
- ['6-System Tools/3-JMX
Tool','JMX工具'],
- ['6-System
Tools/4-Watermark Tool','水印工具'],
- ['6-System Tools/5-Log
Visualizer','日志可视化工具'],
- ['6-System
Tools/6-Query History Visualization Tool','查询历史可视化工具'],
- ['6-System
Tools/7-Monitor and Log Tools','监控与日志工具'],
- ['6-System Tools/8-Load
External Tsfile','加载外部tsfile文件']
+ ['System Tools/Sync
Tool','同步工具'],
+ ['System Tools/Memory
Estimation Tool','内存预估'],
+ ['System Tools/JMX
Tool','JMX工具'],
+ ['System
Tools/Watermark Tool','水印工具'],
+ ['System Tools/Log
Visualizer','日志可视化工具'],
+ ['System Tools/Query
History Visualization Tool','查询历史可视化工具'],
+ ['System Tools/Monitor
and Log Tools','监控与日志工具'],
+ ['System Tools/Load
External Tsfile','加载外部tsfile文件']
]
},
{
- title: '7-生态集成',
+ title: '生态集成',
children: [
- ['7-Ecosystem
Integration/1-Grafana','Grafana'],
- ['7-Ecosystem
Integration/2-MapReduce TsFile','MapReduce TsFile'],
- ['7-Ecosystem
Integration/3-Spark TsFile','Spark TsFile'],
- ['7-Ecosystem
Integration/4-Spark IoTDB','Spark IoTDB'],
- ['7-Ecosystem
Integration/5-Hive TsFile','Hive TsFile']
+ ['Ecosystem
Integration/Grafana','Grafana'],
+ ['Ecosystem
Integration/MapReduce TsFile','MapReduce TsFile'],
+ ['Ecosystem
Integration/Spark TsFile','Spark TsFile'],
+ ['Ecosystem
Integration/Spark IoTDB','Spark IoTDB'],
+ ['Ecosystem
Integration/Hive TsFile','Hive TsFile']
]
},
{
- title: '8-系统设计',
+ title: '系统设计',
children: [
-
['8-Architecture/1-Files','文件'],
-
['8-Architecture/2-Writing Data on HDFS','使用HDFS存储数据'],
-
['8-Architecture/3-Shared Nothing Cluster','Shared-nothing 架构']
+
['Architecture/Files','文件'],
+ ['Architecture/Writing
Data on HDFS','使用HDFS存储数据'],
+ ['Architecture/Shared
Nothing Cluster','Shared-nothing 架构']
]
}
],
@@ -822,79 +822,79 @@ var config = {
collapsable: false,
},
{
- title: '0-应用概览',
+ title: '应用概览',
children: [
-
['0-Architecture/1-Architecture','应用概览']
+
['Architecture/Architecture','应用概览']
]
},
{
- title: '1-TsFile',
+ title: 'TsFile',
children: [
-
['1-TsFile/1-TsFile','TsFile'],
-
['1-TsFile/2-Format','格式'],
-
['1-TsFile/3-Write','写流程'],
-
['1-TsFile/4-Read','读流程']
+
['TsFile/TsFile','TsFile'],
+ ['TsFile/Format','格式'],
+ ['TsFile/Write','写流程'],
+ ['TsFile/Read','读流程']
]
},
{
- title: '2-查询引擎',
+ title: '查询引擎',
children: [
-
['2-QueryEngine/1-QueryEngine','查询引擎'],
-
['2-QueryEngine/2-Planner','执行计划生成器'],
-
['2-QueryEngine/3-PlanExecutor','计划执行器'],
-
['2-QueryEngine/4-ResultSetConstruction','结果集构造']
+
['QueryEngine/QueryEngine','查询引擎'],
+
['QueryEngine/Planner','执行计划生成器'],
+
['QueryEngine/PlanExecutor','计划执行器'],
+
['QueryEngine/ResultSetConstruction','结果集构造']
]
},
{
- title: '3-元数据管理',
+ title: '元数据管理',
children: [
-
['3-SchemaManager/1-SchemaManager','元数据管理']
+
['SchemaManager/SchemaManager','元数据管理']
]
},
{
- title: '4-存储引擎',
+ title: '存储引擎',
children: [
-
['4-StorageEngine/1-StorageEngine','存储引擎'],
-
['4-StorageEngine/2-WAL','写前日志'],
-
['4-StorageEngine/3-FlushManager','FlushManager'],
-
['4-StorageEngine/4-MergeManager','文件合并机制'],
-
['4-StorageEngine/5-DataPartition','数据分区'],
-
['4-StorageEngine/6-DataManipulation','数据增删改']
+
['StorageEngine/StorageEngine','存储引擎'],
+
['StorageEngine/WAL','写前日志'],
+
['StorageEngine/FlushManager','FlushManager'],
+
['StorageEngine/MergeManager','文件合并机制'],
+
['StorageEngine/DataPartition','数据分区'],
+
['StorageEngine/DataManipulation','数据增删改']
]
},
{
title: '5-数据查询',
children: [
-
['5-DataQuery/1-DataQuery','数据查询'],
-
['5-DataQuery/2-QueryFundamentals','查询基础介绍'],
-
['5-DataQuery/3-SeriesReader','查询基础组件'],
-
['5-DataQuery/4-RawDataQuery','原始数据查询'],
-
['5-DataQuery/5-AggregationQuery','聚合查询'],
-
['5-DataQuery/6-GroupByQuery','降采样查询'],
-
['5-DataQuery/7-LastQuery','最近时间戳 Last 查询'],
-
['5-DataQuery/8-AlignByDeviceQuery','按设备对齐查询'],
-
['5-DataQuery/9-FillFunction','空值填充'],
- ['5-DataQuery/10-GroupByFillQuery',
'降采样补空值查询']
+
['DataQuery/DataQuery','数据查询'],
+
['DataQuery/QueryFundamentals','查询基础介绍'],
+
['DataQuery/SeriesReader','查询基础组件'],
+
['DataQuery/RawDataQuery','原始数据查询'],
+
['DataQuery/AggregationQuery','聚合查询'],
+
['DataQuery/GroupByQuery','降采样查询'],
+
['DataQuery/LastQuery','最近时间戳 Last 查询'],
+
['DataQuery/AlignByDeviceQuery','按设备对齐查询'],
+
['DataQuery/FillFunction','空值填充'],
+ ['DataQuery/GroupByFillQuery', '降采样补空值查询']
]
},
{
- title: '6-工具',
+ title: '工具',
children: [
-
['6-Tools/1-Sync','同步工具']
+ ['Tools/Sync','同步工具']
]
},
{
- title: '7-连接器',
+ title: '连接器',
children: [
-
['7-Connector/2-Hive-TsFile','Hive-TsFile'],
-
['7-Connector/3-Spark-TsFile','Spark-TsFile'],
-
['7-Connector/4-Spark-IOTDB','Spark-IOTDB']
+
['Connector/Hive-TsFile','Hive-TsFile'],
+
['Connector/Spark-TsFile','Spark-TsFile'],
+
['Connector/Spark-IOTDB','Spark-IOTDB']
]
},
{
- title: '8-客户端',
+ title: '客户端',
children: [
- ['8-Client/1-RPC','RPC']
+ ['Client/RPC','RPC']
]
},
],