This repository was archived by the owner on Jun 14, 2024. It is now read-only.
How to delete old version index file #500
Answered
by
sezruby
ashokblend
asked this question in
Q&A
|
In our project we ingest records every minute. Hence we do refresh index on incremental records every minute. This activity creates lot of version of index. Is there any configuration to keep only last "N" version of index ? |
Answered by
sezruby
Oct 11, 2021
Replies: 2 comments 2 replies
Answer selected by
ashokblend
|
having large no of stale version causes performance bottleneck? I had face this issue when there was around 500's of version file. hs.explain query was taking lot of time. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There's a PR for vacuumIndex which allows to remove all outdated versions of the index - #479 - though it removes all index data except for the latest version.
paryoja Is it possible to extend vacuumIndex to support the last N version of index? WDYT?