From: jkatz (@jkatz) <noreply+jkatz@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #559: Adding data after building hnsw index is much slower
Date: Thu, 16 May 2024 15:18:39 +0000
Message-ID: <gh-pgvector-pgvector-559-c2115532373@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-559@github.com>
References: <gh-pgvector-pgvector-559@github.com>
@huaimin016 How are you creating the data? Is it INSERTing 100 times, or using a bulk insert, e.g.
```sql
INSERT INTO ... VALUES
(row1),
(row2),
...
```
What are your index build parameters? For your "slow queries" what is your query and what is your explain plan?