From: juanandreas (@juanandreas) <noreply+juanandreas@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #244: HNSW + dead tuples: recall loss/usability issues
Date: Wed, 01 May 2024 18:09:30 +0000
Message-ID: <gh-pgvector-pgvector-244-c2088862831@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-244@github.com>
References: <gh-pgvector-pgvector-244@github.com>
has there been a solution for this? I am getting the following notice as well. The index creation also takes hours and fails. How can we scale the parameters as our data grows 10-20x?
```
CREATE INDEX ON table USING hnsw (vector_column_name vector_ip_ops) WITH (m=16, ef_construction = 32);
NOTICE: hnsw graph no longer fits into maintenance_work_mem after 313246 tuples
DETAIL: Building will take significantly more time.
HINT: Increase maintenance_work_mem to speed up builds.
```