pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
From: ankane (@ankane) <noreply+ankane@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #766: High LWLock Contention During Concurrent HNSW Index Scans
Date: Sat, 22 Mar 2025 18:53:39 +0000
Message-ID: <gh-pgvector-pgvector-766-c2745409242@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-766@github.com>
References: <gh-pgvector-pgvector-766@github.com>

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`. Also, removing `HNSW_SCAN_LOCK` does not seem to increase performance (per @greenhal's testing).

If someone does find a way to improve performance, feel free to submit a PR.

view thread (17+ messages)  latest in thread

Message-ID: <gh-pgvector-pgvector-766-c2745409242@github.com>
Permalink:  ../gh-pgvector-pgvector-766-c2745409242@github.com/

 · 


This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox