From: jkatz (@jkatz) <noreply+jkatz@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #700: HNSW QPS Degradation as Index Size Grows Beyond Memory
Date: Mon, 28 Oct 2024 17:10:55 +0000
Message-ID: <gh-pgvector-pgvector-700-c2442165441@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-700@github.com>
References: <gh-pgvector-pgvector-700@github.com>
Also, because you set shared_buffers so high relative to available instance memory, you also decreased the available page cache, which can impact fetch speed when data is not in memory (and would be more noticeable over the network). It'd be interesting to see what happens if you use 25% buffers and what the performance degradation is from there. (I don't know if it would be better or worse - this is a thought exercise)