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: Fri, 27 Sep 2024 19:50:32 +0000
Message-ID: <gh-pgvector-pgvector-678-c2379953370@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-678@github.com>
References: <gh-pgvector-pgvector-678@github.com>
Some data on how batch size and selectivity affect out of order results with SIFT 1M (default parameters, limit 20).
batch_size | sel 0.1 | sel 0.01
--- | --- | ---
1 | 14.3% | 2.8%
10 | 9.4% | 2.6%
40 | 5.5% | 2.3%
100 | 1.4% | 2.0%
200 | 0% | 1.5%
1000 | 0% | 0.3%
(this shows final out of order results, which is lower than % of out of order results during the scan, since many out of order results will not pass the filter condition)