apache / apache/iotdb

v0.13.4版本 删除设备或测点,文件大小不减反增,并且一直没有触发合并问题

Open
#14,622 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
6.4k
Forks
1.2k
Avg merge
1d 23h
Merged PRs (30d)
115

Description

# 问题
- 我们在生产环境进行删除(按时间删除,横向删除测点)后,生成了mods文件,但一直不执行tsfile的合并,造成删除后数据文件大小不降反增,请问如何解决?
# 尝试方法
执行 merge、full merge命令
等待自动执行合并tsfile操作(至今未执行)
# 运行情况
**执行语句:** DELETE TIMESERIES root.sensor.detail.2024.*.saa 并尝试过删除七天以前的数据
**设备数量:** 100万
**物理量数量:** 1000万
**文件大小:** 30+GB
**版本:** 0.13.4
**上线时间:** 2024年9月初上线,稳定运行3月+

Contributor guide

Open the contributing guide

Research direction

Start with the DELETE TIMESERIES operation and the merge and full merge commands described in the report. Reproduce the mods and tsfile behavior at a smaller scale, then inspect why automatic merging is not triggered; done means the cause is identified and deletion reliably reaches the expected merge behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.