qiaojialin commented on a change in pull request #826: Update StorageEngine and 
Spark connectors design doc
URL: https://github.com/apache/incubator-iotdb/pull/826#discussion_r382995068
 
 

 ##########
 File path: 
docs/Documentation-CHN/SystemDesign/4-StorageEngine/5-DataPartition.md
 ##########
 @@ -0,0 +1,86 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    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
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+
+# 数据分区
+
+时间序列数据在存储组和时间范围两个层级上进行分区
+
+## 存储组
+
+存储组由用户显示指定,使用语句"SET STORAGE GROUP TO"来指定存储组,每一个存储组有一个对应的StoragetGroupProcessor
+
+其拥有的主要字段为:
+
+* 一个读写锁
+
+* 每个时间分区所对应的未关闭的顺序文件树
+
+* 每个时间分区所对应的未关闭的乱序文件列表
+
+* 该存储组的全部顺序文件列表(按照时间排序)
+
+* 该存储组的全部乱序文件列表(无顺序)
+
+* 记录每一个设备最后写入时间的map
+
+* 记录每一个设备最后刷盘时间的map
 
 Review comment:
   以后用 apache 的仓库提交分支吧,我就可以直接改了

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to