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: Tue, 20 Feb 2024 22:49:51 +0000
Message-ID: <gh-pgvector-pgvector-434-c1955249240@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-434@github.com>
References: <gh-pgvector-pgvector-434@github.com>

Thanks for working on getting that fixed.

I'm a bit hesitant to make a big change like this. Creating a large segment doesn't seem to immediately show up in memory usage, so I'm not sure of the actual impact to the system (but don't have a great understanding of it).

My main concern (besides the overhead) is code complexity. The current diff has a lot of changes. If there's a way to do this with very little changes outside of the pointer macros (and changing the type of `base`), this would be less of a concern.

view thread (12+ messages)  latest in thread

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