apache / apache/iotdb

[Bug] a lot of files in unsequence folder after old data migration

未关闭
#11,660 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Java
星标
6.4k
派生
1.2k
平均合并
1 天 23 小时
30 天内合并 PR
115

描述

### Search before asking

- [X] I searched in the [issues](https://github.com/apache/iotdb/issues) and found nothing similar.

### Version

Centos 7.4
0.13.4

### Describe the bug and provide the minimal reproduce step

After migrating data from another iotdb instance to the new one, there are a lot of files in unsequence folder, and the total file size is about 11G, meanwhile, the query performance is very poor for some query sql, which takes about 80+ seconds to finish the query.

### What did you expect to see?

the file size in unsequence folder decrease after run MERGE command in CLI and the query cost should be under 1s.

### What did you see instead?

nothing happen after running the MERGE command.

### Anything else?

_No response_

### Are you willing to submit a PR?

- [ ] I'm willing to submit a PR!

贡献指南

打开贡献指南

调研方向

首先复现从另一个 IoTDB 实例进行的迁移,然后在监控 unsequence 文件夹和查询耗时的同时,在 CLI 中运行 MERGE。完成的标准是 unsequence 文件减少,并且受影响的查询在一秒内完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
java
领域
databases
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
30/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。