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 06:35:00 +0000
Message-ID: <gh-pgvector-pgvector-810-c2756896199@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-810@github.com>
References: <gh-pgvector-pgvector-810@github.com>

If recall is low, I'd recommend trying `ef_construction` 128, 256, and 512 before trying a higher `m`.

m | ef_construction | time | time / row
--- | --- | --- | ---
16 | 128 | 24 sec | 2.4 ms
16 | 256 | 30 sec | 3.0 ms
16 | 512 | 45 sec | 4.5 ms

view thread (22+ messages)  latest in thread

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