Replies: 2 comments 2 replies
-
Hi @ttys3 The space is reclaimed and reused automatically by the engine. I believe the response in this discussion answers your question. Please let us know if you have any more concerns. |
Beta Was this translation helpful? Give feedback.
1 reply
-
I index about 1450000 documents, and Meilisearch takes 30 GB for index files. After I delete about 30000 documents, it takes 45 GB for index files. Meilisearch can create snapshots and rebuild index from snapshot. But I do not have enough disk space saving snapshot. Is it possible to clean indexes on the fly? Thanks |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
using the tuts
movies.json
, imported into melisearch, it took almost 400MBupdate some updates with only a single int field, it took almost 500MB space. this is amazing.
in elasticsearch, import the
movies.json
only took 35M space. and after bulk updates to a single int filed, it took 42M.that's 7MB delta.
then we can reclaim the space with the segments merge op:
after this, the space come back again.
in meilisearch, how can we do this?
that's to say, on a high load machine, we have updates to documents all the time with a high qps,
the meilisearch space will increased very soon. while the real data does not (like we are update some counters)
I know meilisearch uses lmdb. and lmdb does allow to reuse space. but, if it can reuse the claimed space, while an simple update to a int field cause the space continued to increase ? not reuse the old space ? because the update is a delete op + a full fields index op, so it should can reuse the space. but in my tests, it does not
Beta Was this translation helpful? Give feedback.
All reactions