pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
From: detrin (@detrin) <noreply+detrin@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: [pgvector/pgvector] issue #918: HNSW scan lock as optional parameter
Date: Tue, 04 Nov 2025 15:35:34 +0000
Message-ID: <gh-pgvector-pgvector-918@github.com> (raw)

Looking into https://www.postgresql.org/docs/current/runtime-config-locks.html and https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.PostgreSQL.CommonDBATasks.Parameters... there are no optional parameters that would allow to disable the page lock during scan and partial scan.

Why should we even bother with that? Well, looking into the codebase, if I understand it correctly, during multiple concurrent scans, the lock table becomes a bottleneck. What if deletion and updates are rather infrequent? Could we make this locking during scans optional?

view thread (5+ messages)  latest in thread

Message-ID: <gh-pgvector-pgvector-918@github.com>
Permalink:  ../gh-pgvector-pgvector-918@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