You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by su...@apache.org on 2020/11/11 11:57:09 UTC
[iotdb] 01/01: Add tsfile structure graph
This is an automated email from the ASF dual-hosted git repository.
sunzesong pushed a commit to branch tsfile_structure
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 030bd9416da16b3c2e6f841e314a0d47079e32f8
Author: samperson1997 <sz...@mails.tsinghua.edu.cn>
AuthorDate: Wed Nov 11 19:56:28 2020 +0800
Add tsfile structure graph
---
docs/SystemDesign/TsFile/Format.md | 6 ++++++
docs/zh/SystemDesign/TsFile/Format.md | 6 ++++++
2 files changed, 12 insertions(+)
diff --git a/docs/SystemDesign/TsFile/Format.md b/docs/SystemDesign/TsFile/Format.md
index 9b62b9b..dce871e 100644
--- a/docs/SystemDesign/TsFile/Format.md
+++ b/docs/SystemDesign/TsFile/Format.md
@@ -72,6 +72,12 @@ Here is a graph about the TsFile structure.
This TsFile contains two devices: d1, d2. Each device contains two measurements: s1, s2. 4 timeseries in total. Each timeseries contains 2 Chunks.
+Here is another graph:
+
+<img style="width:100%; max-width:800px; max-height:600px; margin-left:auto; margin-right:auto; display:block;" src="https://user-images.githubusercontent.com/19167280/98808354-ed2f0080-2456-11eb-8e7f-b11a4759d560.png">
+
+This TsFile contains two devices: d1, d2. Each device contains three measurements: s1, s2, s3. 6 timeseries in total. Each timeseries contains 2 Chunks.
+
There are three parts of metadata
* ChunkMetadata list that grouped by timeseries
diff --git a/docs/zh/SystemDesign/TsFile/Format.md b/docs/zh/SystemDesign/TsFile/Format.md
index c4bb88e..09ef421 100644
--- a/docs/zh/SystemDesign/TsFile/Format.md
+++ b/docs/zh/SystemDesign/TsFile/Format.md
@@ -71,6 +71,12 @@
此文件包括两个设备 d1、d2,每个设备包含两个测点 s1、s2,共 4 个时间序列。每个时间序列包含两个 Chunk。
+下图是另一种关于TsFile的结构表示:
+
+<img style="width:100%; max-width:800px; max-height:600px; margin-left:auto; margin-right:auto; display:block;" src="https://user-images.githubusercontent.com/19167280/98808354-ed2f0080-2456-11eb-8e7f-b11a4759d560.png">
+
+此文件包括两个设备 d1、d2,每个设备包含三个测点 s1、s2、s3,共 6 个时间序列。每个时间序列包含两个 Chunk。
+
元数据分为三部分
* 按时间序列组织的 ChunkMetadata 列表