TsFile split tool is used to split a TsFile into multiple TsFiles. The location is tools/tsfile/split-tsfile-tool
How to use:
For Windows:
.\split-tsfile-tool.bat <path of your TsFile> (-level <inner space compaction num in new file name, default is 10>) (-size <size of new files in byte, default is 1048576000>)
For Linux or MacOs:
./split-tsfile-tool.sh <path of your TsFile> (-level <inner space compaction num in new file name, default is 10>) (-size <size of new files in byte, default is 1048576000>)
For example, if the new files size is 100MB, and the compaction num is 6, the command is
./split-tsfile-tool.sh test.tsfile -level 6 -size 1048576000
(Linux or MacOs)
Here are some more tips:
.resource
file represent it is closed.