Hi all,

Please think of documenting this in any release notes as incompatible change.

Chris

Holen Sie sichOutlook für Android<https://aka.ms/ghei36>

________________________________
From: Jialin Qiao <qj...@mails.tsinghua.edu.cn>
Sent: Wednesday, July 3, 2019 4:46:18 AM
To: dev@iotdb.apache.org
Subject: Re: New directory structure

Hi,

The following illustration is more clear:

data  ―――――――――――――――――――――――――(base directory)
|├── data   ―――――――――――――――――――――(data files)
│   ├── sequence  ――――――――――――――――――(folder of sequence data files in each 
storage group)
│   │   └── storage_group_x ――――――――――――――(storage group x)
│   │       ├── {systemtime-version}.tsfile ――――――――(data file)
│   │       ├── {name_of_TsFile}.resource  ――――――――(resource file of 
corresponding tsfile)
│   └── unsequence ―――――――――――――――――(folder of unsequence data files, which the 
same structure with "sequence" directory)
|├── system
│   ├── roles  ――――――――――――――――――――(information of roles)
│   ├── schema ―――――――――――――――――――(system schema, including storage groups and 
timeseries)
│   ├── storage_groups   ―――――――――――――――(version file of each storage group)
│   └── users  ――――――――――――――――――――(information of users)
|└── wal
|    ├── {name_of_storage_group}-{name_of_TsFile} ―――(a folder for one data 
file)
|      └── wal{version}  ――――――――――――――――(wal file for a memtable in 
corresponding data file)

Best,
--
Jialin Qiao
School of Software, Tsinghua University

乔嘉林
清华大学 软件学院

> -----原始邮件-----
> 发件人: "Jialin Qiao" <qj...@mails.tsinghua.edu.cn>
> 发送时间: 2019-07-03 10:24:43 (星期三)
> 收件人: dev@iotdb.apache.org
> 抄送:
> 主题: New directory structure
>
> Hi,
>
> The directory structure of IoTDB is in chaos, so I reorganize it in PR[1].
>
> User configurations:
>
> base_dir: base directory of IoTDB ("data" by default)
> sys_dir: system data directory ("data/system" by default)
> data_dirs: data file directories, which supports multiple directories 
> ("data/data" by default, multiple directories are separated by ',")
> wal_dir: directory of write-ahead-log ("data/wal" by default)
>
> Under default configurations, the actual folders are like this:
>
>     data
>         data    ―――――――――――――――――――――(data files)
>             sequence  ――――――――――――――――――(folder of sequence data files)
>                 storage_group_x ――――――――――――――(storage group x)
>                     {systemtime-version}.tsfile  ――――――――(data file)
>                     {name_of_TsFile}.resource   ――――――――(resource file of 
> corresponding tsfile)
>             unsequence ―――――――――――――――――(folder of unsequence data files, 
> which the same structure with "sequence" directory)
>         system
>             roles  ――――――――――――――――――――(information of roles)
>             users ――――――――――――――――――――(information of users)
>             schema ―――――――――――――――――――(system schema, including storage 
> groups and timeseries)
>             storage_groups   ―――――――――――――――(version file of each storage 
> group)
>         wal
>             {name_of_storage_group}-{name_of_TsFile} ―――(a folder for one 
> data file)
>                 wal{version}  ――――――――――――――――(wal file for a memtable in 
> corresponding data file)
>
>
> [1] https://github.com/apache/incubator-iotdb/pull/217
>
> Best,
> --
> Jialin Qiao
> School of Software, Tsinghua University
>
> 乔嘉林
> 清华大学 软件学院

Reply via email to