pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
From: michaelbautin (@michaelbautin) <noreply+michaelbautin@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: [pgvector/pgvector] issue #745: Automate estimation of amount of memory needed for fast HNSW index build
Date: Tue, 31 Dec 2024 03:08:43 +0000
Message-ID: <gh-pgvector-pgvector-745@github.com> (raw)

It would be very useful to have a function that would estimate, for a particular combination of vector data type, dimensionality, number of rows, and the value of M, the minimum amount of memory (as represented by maintenance_work_mem) necessary to build the HNSW index fully in memory. In many cases, users would like to avoid the case of spilling the index to disk at build time altogether, because that often slows down the index build too much.

view thread (9+ messages)  latest in thread

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