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 #769: Adding a precise formula to the README for estimating the amount of memory for HNSW indexing
Date: Tue, 28 Jan 2025 21:39:38 +0000
Message-ID: <gh-pgvector-pgvector-769-c2620110588@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-769@github.com>
References: <gh-pgvector-pgvector-769@github.com>

Hi @michaelbautin, unfortunately, opening another issue while not taking into account previous feedback isn't productive for the project, so closing this out. You're welcome to create an independent tool to calculate this.

fwiw, we're in agreement that memory depends on features of the dataset (number of vectors, number of dimensions) and index options (M), but for any proposed formula, there would need to evidence (data) that it works well.

Also, in general, you can set `maintenance_work_mem` to the max amount of memory you'd like the index build to consume rather than trying to be exact.

view thread (4+ messages)  latest in thread

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