Nitrite/Java: Defect? File size is even bigger after record is removed #30
Answered
by
anidotnet
hairinwind
asked this question in
Q&A
-
I found the file size was even bigger after the record was removed. Is it a defect? Here is my test project. How to make the file shrink right after records are removed. |
Beta Was this translation helpful? Give feedback.
Answered by
anidotnet
Mar 23, 2021
Replies: 0 comments 3 replies
-
This is a characteristic of the underlying storage engine mvstore. It doesn't free up the disk space after you delete entries. One thing you can do after cleanup is create a new database and copy the remaining data and delete the old file. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
anidotnet
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is a characteristic of the underlying storage engine mvstore. It doesn't free up the disk space after you delete entries. One thing you can do after cleanup is create a new database and copy the remaining data and delete the old file.