infiniflow / infinity

The AI-native database built for LLM applications, providing incredibly fast hybrid search of dense vector, sparse vector, tensor (multi-vector), and full-text
https://infiniflow.org
Apache License 2.0
2.59k stars 273 forks source link

[Question]: How to reclaim disk space? #1821

Open miguelwon opened 1 month ago

miguelwon commented 1 month ago

Describe your problem

I created a db, a table and inserted some data and my /var/infinity is now 7GB. Then, I dropped the table and the /var/infinity sizes stills uses 7GB. If I create a new table (even with the same name) and insert more data, the folder size continues to increase.

JinHai-CN commented 1 month ago

Infinity will clear up the deleted data periodically and free the disk space.

Would you please provide the Infinity version you are using. Did you use a customized config file start Infinity? If so, please also attach the config file.

miguelwon commented 1 month ago

I'm using version v0.3.0 and I did not use a customized config file.

yuzhichang commented 1 month ago

@miguelwon Thanks for reporting the issue. PR #1829 should have fixed it. The next release, v0.4.0-dev1, will contain this fix. Please have a try when it's ready.