Skip to content

[To rel/0.13][IOTDB-4364]Reduce read amplication in compaction#7301

Merged
THUMarkLau merged 3 commits intoapache:rel/0.13from
choubenson:fixCompactionIOException
Sep 15, 2022
Merged

[To rel/0.13][IOTDB-4364]Reduce read amplication in compaction#7301
THUMarkLau merged 3 commits intoapache:rel/0.13from
choubenson:fixCompactionIOException

Conversation

@choubenson
Copy link
Contributor

@choubenson choubenson commented Sep 13, 2022

Description
In massive timeseries scenarios, each device has 20 timeseries, and each file has tens of thousands of devices, that is, millions of timeseries. Read throughput in cross compaction is 100~1000 times greater than write throughput.

Solution
When compacting, it is necessary to obtain devices and timeseries from all source files, as well as the metadata of each timeseries. To avoid traversing the Zesong tree multiple times, we record the intermediate nodes of the Zesong tree. Please refer to IOTDB-4364 for the experimental results.

@choubenson choubenson changed the title [IOTDB-4364]Reduce read amplication in compaction [To rel/0.13][IOTDB-4364]Reduce read amplication in compaction Sep 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants