apache / apache/iotdb

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

オープン
#11,660 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Java
スター
6.4k
フォーク
1.2k
平均マージ
1日 23時間
マージ済み PR(30日)
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 ファイルが減少し、影響を受けるクエリが 1 秒未満で完了すれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java
領域
databases
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
30/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。