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