From: ankane (@ankane) <noreply+ankane@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #678: Iterative index scans
Date: Tue, 24 Sep 2024 17:58:05 +0000
Message-ID: <gh-pgvector-pgvector-678-c2371949404@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-678@github.com>
References: <gh-pgvector-pgvector-678@github.com>
@hlinnaka I think the main benefits to batching are:
1. Minimizing out of order elements (elements can only be out of order between batches)
2. Less code duplication
3. Possibly better performance with how vacuum locking is currently implemented
`batch_size` is currently `ef_search`, but it could be as small as 1.