Stand-alone
July 10, 2023About 1 min
Here are all files generated or used by IoTDB
Continuously Updating...
Stand-alone
Configuration Files
under conf directory
- iotdb-datanode.properties
- logback.xml
- datanode-env.sh
- jmx.access
- jmx.password
- iotdb-sync-client.properties
- only sync tool use it
under directory basedir/system/schema
- system.properties
- record all immutable properties, will be checked when starting IoTDB to avoid system errors
State Related Files
MetaData Related Files
under directory basedir/system/schema
Meta
- mlog.bin
- record the meta operation
- mtree-1.snapshot
- snapshot of metadata
- mtree-1.snapshot.tmp
- temp file, to avoid damaging the snapshot when updating it
Tags&Attributes
- tlog.txt
- store tags and attributes of each TimeSeries
- about 700 bytes for each TimeSeries
Data Related Files
under directory basedir/data/
WAL
under directory basedir/wal
- {StorageGroupName}-{TsFileName}/wal1
- every database has several wal files, and every memtable has one associated wal file before it is flushed into a TsFile
TsFile
under directory data/sequence or unsequence/{DatabaseName}/{DataRegionId}/{TimePartitionId}/
- {time}-{version}-{mergeCnt}.tsfile
- normal data file
- {TsFileName}.tsfile.mod
- modification file
- record delete operation
TsFileResource
- {TsFileName}.tsfile.resource
- descriptor and statistic file of a TsFile
- {TsFileName}.tsfile.resource.temp
- temp file
- avoid damaging the tsfile.resource when updating it
- {TsFileName}.tsfile.resource.closing
- close flag file, to mark a tsfile closing so during restarts we can continue to close it or reopen it
Version
under directory basedir/system/databases/{DatabaseName}/{DataRegionId}/{TimePartitionId} or upgrade
- Version-{version}
- version file, record the max version in fileName of a database
Upgrade
under directory basedir/system/upgrade
- upgrade.txt
- record which files have been upgraded
Merge
under directory basedir/system/databases/{StorageGroup}/
- merge.mods
- modification file generated during a merge
- merge.log
- record the progress of a merge
- tsfile.merge
- temporary merge result file, an involved sequence tsfile may have one during a merge
Authority
under directory basedir/system/users/
under directory basedir/system/roles/
CompressRatio
under directory basedir/system/compression_ration
- Ration-{compressionRatioSum}-{calTimes}
- record compression ratio of each tsfile