lance-format / lance-format/lance

Optimize merge_partial_vector_auxiliary_files performance for 'non-PQ' index with ShardMergeReader

Open
#6,288 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A-index performance
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.