From: jkatz (@jkatz) <noreply+jkatz@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: Sun, 16 Mar 2025 19:25:24 +0000
Message-ID: <gh-pgvector-pgvector-766-c2727607200@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-766@github.com>
References: <gh-pgvector-pgvector-766@github.com>
> Hope it should internally convert the vector to binary format.
It does if you're using a `numpy.ndarray` type. If you're just using a `list`, it there will be a binary/text/binary conversation that's fairly costly, which could potentially manifest as a lock contention on the server-side due to the additional CPU utilization.