From: detrin (@detrin) <noreply+detrin@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #918: HNSW scan lock as optional parameter
Date: Tue, 04 Nov 2025 19:36:56 +0000
Message-ID: <gh-pgvector-pgvector-918-c3487729851@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-918@github.com>
References: <gh-pgvector-pgvector-918@github.com>
@ankane
> At this point, I don't think there's anything for pgvector to do here. It seems like this behavior may be limited to low-dimensional vectors with a very low ef_search.
1) I am not using low dimensional vector, it is 300+ dims (dense vectors)
2) ef_search is also not very low with setting it to 200.
When the number of high concurrent scans are running, this starts to be an issue, and I am getting timeouts. I suspect the page lock is the bottleneck here. I don't think the comment you mentioned is relevant.