From: ankane (@ankane) <noreply+ankane@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] PR #897: Parallel IVF scan implementation
Date: Mon, 22 Sep 2025 18:09:48 +0000
Message-ID: <gh-pgvector-pgvector-897-c3320601437@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-897@github.com>
References: <gh-pgvector-pgvector-897@github.com>
Hi @mariosangelis, thanks for the PR. It'd be nice to support parallel index scans for IVFFlat, but it should use the [index AM](https://www.postgresql.org/docs/current/index-functions.html) to do so. Last time I tried this, the Postgres planner would get the cost estimate, but never chose to use the index ([parallel-index-scan3 branch](https://github.com/pgvector/pgvector/compare/parallel-index-scan3)), so this would need to be addressed in Postgres first.
Also, for PRs, please keep changes to a minimum (no style changes).