Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

(下文链接需要map到conflunece对应的路径)

Table of Contents

系统文件目录 data/system

partition_interval=9223372036854775807
timestamp_precision=ms
tsfile_storage_fs=LOCAL
enable_partition=false
max_degree_of_index_node=256
tag_attribute_total_size=700
iotdb_version=UNKNOWN

格式为:

oldTsFilePath,UpgradeCheckStatus

其中 UpgradeCheckStatus 表示文件的升级状态

...

username (UTF-8)
password (UTF-8)
privilegeNumber n (int)
n privileges (Privelege)
rolNumber k (int)
k role names (UTF-8)
UseWaterMarkFlag (Boolean)
  • data/system/roles/<UserID{UserID}.profile> profile (角色信息)
roleName (UTF-8)
privilegeNumber n (int)
n privileges (Privilege)

...

           用原数据大小除以压缩后的数据大小就能得出压缩率。

  • data/system/udf/ulog.txt (udf注册信息(UDF 注册信息)
0,DISTINCT,org.apache.iotdb.quality.dprofile.UDTFDistinct (UTF8, 注册 UDF DISTINCT,全类名 org.apache.iotdb.quality.dprofile.UDTFDistinct)
0,HISTOGRAM,org.apache.iotdb.quality.dprofile.UDTFHistogram
0,INTEGRAL,org.apache.iotdb.quality.dprofile.UDAFIntegral
1,DISTINCT (UTF8, 反注册 UDF DISTINCT)
  • data/system/udf/tmp (udf框架临时文件(嵌套表达式框架的临时文件夹,用于存储框架在计算时进行内存控制产生的二进制文件,仅在查询执行时有意义)
    序列化、反序列化方法可能随版本变动,见 org.apache.iotdb.db.query.udf.datastructure.SerializableList
  • data/system/trigger/tlog.bin (触发器注册信息,二进制,格式类 mlog)

数据文件目录 data/data

  • data/data/sequence/{storage_group}/{virtual_storage_group_id}/{partition}/{timestamp}-{version}-{inner_compaction_times}-{outter_compaction_times}.tsfile (数据文件)

...

TsFile 文件格式#2TsFile%E7%9A%84%E6%80%BB%E8%A7%88%E5%9B%BE

...

  • data/data/sequence/{storage_group}/{virtual_storage_group_id}/{partition}/{tsfile}.mods (数据修改操作标记)

...

Query Fundamentals#QuerywithModifications

...