apache / apache/iotdb

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

Đang mở
#11,660 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Java
Star
6.4k
Fork
1.2k
Merge trung bình
1 ngày 23 giờ
Pull request đã merge (30 ngày)
115

Mô tả

### 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!

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện quá trình di chuyển từ instance IoTDB còn lại, sau đó chạy MERGE trong CLI trong khi theo dõi thư mục unsequence và thời gian thực thi truy vấn. Được coi là hoàn tất khi số lượng tệp unsequence giảm xuống và các truy vấn bị ảnh hưởng hoàn tất trong chưa đầy một giây.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
java
Lĩnh vực
databases
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
30/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.