pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
From: Hannibal96 (@Hannibal96) <noreply+Hannibal96@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: [pgvector/pgvector] issue #824: Is the HNSW Index in pgvector Fully ACID Compliant, Including Under Crash Recovery and Concurrent Updates?
Date: Sun, 20 Apr 2025 15:19:14 +0000
Message-ID: <gh-pgvector-pgvector-824@github.com> (raw)

Hi 👋

I’d like to clarify the extent to which the HNSW index implementation in pgvector is fully ACID compliant, especially in the following areas:
1. If a transaction that inserts vectors is rolled back (either manually or due to a crash), will the HNSW index also roll back?

2. Does HNSW support deletions or in-place updates and is there any risk of index-table inconsistency?

3. During concurrent inserts and vector similarity queries, are there any scenarios where search queries might observe partially inserted or uncommitted vectors in the index?

4. What happens in the case of a crash after vector insertions but before the index is fully written to disk?

I’ve reviewed the docs and issues but couldn’t find a complete breakdown of how pgvector handles ACID properties specifically for the HNSW index. If there is any reliable source about it and you can share it will also be great!

Thanks,

view thread (7+ messages)  latest in thread

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