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: Thu, 27 Mar 2025 04:00:16 +0000
Message-ID: <gh-pgvector-pgvector-810-c2756561442@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-810@github.com>
References: <gh-pgvector-pgvector-810@github.com>

Hi @xiaojunxiang2023, a few questions:

1. What values are you using for `m` and `ef_construction`?
2. How are you loading the data (single row insert, multi-row insert, text copy, or binary copy)?
3. What type of disk are you using?
4. What is the schema of the table (including all indexes, foreign keys, etc.)?

It'd also be helpful to see the output of `EXPLAIN (ANALYZE, BUFFERS)` of a single row insert statement (use `BEGIN; EXPLAIN ...; ROLLBACK;` to prevent the insert from being committed).

view thread (22+ messages)  latest in thread

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