lance-format / lance-format/lance
Optimize merge_partial_vector_auxiliary_files performance for 'non-PQ' index with ShardMergeReader
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 7.1k
- Forks
- 852
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 272
Description
When processing the merge_partial_vector_auxiliary_files stage for the ivf-sq index on a dataset of 5 million records with 8 workers and 2236 partitions, the operation takes an excessively long time (3780 seconds), which significantly impacts the overall efficiency of vector index merging.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the merge_partial_vector_auxiliary_files stage and the ShardMergeReader path for non-PQ ivf-sq indexes. Reproduce the reported configuration of 5 million records, 8 workers, and 2236 partitions, then profile the 3780-second operation. Done means identifying and addressing the bottleneck with a measured performance improvement.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- machine-learning, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100