How to solve too many tsfile in IoTDB

Viewed 16

The TsFile generated in IoTDB is small in size and large in number, and the query is very slow. Is there any solution?

1 Answers

You can set compaction_strategy to LEVEL_COMPACTION in iotdb-engine.properties, and increase the value of seq_file_num_in_each_level and increase the value of seq_level_num. If there are too many unsequence files, you can set unseq_level_num to a number greater than 1.

Related