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 #434: Limit HNSW build's shared memory size for small tables
Date: Thu, 25 Jan 2024 08:28:32 +0000
Message-ID: <gh-pgvector-pgvector-434-c1909646524@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-434@github.com>
References: <gh-pgvector-pgvector-434@github.com>

Makes sense to me. <strike>I think the max memory needed would be `total memory needed for a HNSW_MAX_DIM element * (relation pages + TOAST pages)`.</strike>

Edit: Nevermind, needs to be the opposite (max number of `dimension` vectors that could be present in those pages)

view thread (12+ messages)  latest in thread

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