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 #810: Inserting into a pgvector table with an HNSW index is very slow, And update more slow
Date: Fri, 28 Mar 2025 04:34:02 +0000
Message-ID: <gh-pgvector-pgvector-810-c2760152872@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-810@github.com>
References: <gh-pgvector-pgvector-810@github.com>

If you update a column that's indexed (which is the case here), Postgres needs to update all indexes on the table (it can't perform a [HOT update](https://www.postgresql.org/docs/current/storage-hot.html)). I'm guessing the other vector index with m = 64 is responsible.

view thread (22+ messages)  latest in thread

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