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_r383679412
########## 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 + +其拥有的主要字段为: + +* 一个读写锁: insertLock + +* 每个时间分区所对应的未关闭的顺序文件树: workSequenceTsFileProcessors + +* 每个时间分区所对应的未关闭的乱序文件列表: workUnsequenceTsFileProcessors Review comment: ```suggestion * 每个时间分区所对应的未关闭的乱序文件处理器: workUnsequenceTsFileProcessors ``` ---------------------------------------------------------------- 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
