How to delete old version index file #500
-
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 ? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
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? |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
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?