Repository navigation
Parallelize duplicate point deletions across segments - #5073
Merged
Merged
Conversation
timvisee
force-pushed
the
paralellize-point-deletions
branch
from
September 13, 2024 08:21
3aa251c to
f208aa1
Compare
timvisee
force-pushed
the
paralellize-point-deletions
branch
from
September 13, 2024 09:04
f208aa1 to
f99b0e4
Compare
timvisee
marked this pull request as ready for review
September 13, 2024 09:04
6 tasks done
generall
approved these changes
Sep 13, 2024
timvisee
added a commit
that referenced
this pull request
Sep 17, 2024
* Parallelize duplicate point deletions across segments * Fix typo
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Improve performance of dropping duplicate points on start in case there is a lot of them.
This parallelizes the deletions across segments, rather than doing them in sequence.
My test collection has a segment of about 750k points with 5 keyword indices having just 2 distinct values. This segment is duplicated to get 750k duplicates.
This is how long it takes when loading:
A more extreme case with 5 copies of the above mentioned segment rather than just 2:
This obviously is an very unlikely scenario, but it's a good way to show the potential benefit.
All Submissions:
devbranch. Did you create your branch fromdev?New Feature Submissions:
cargo +nightly fmt --allcommand prior to submission?cargo clippy --all --all-featurescommand?