pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
From: bantmen (@bantmen) <noreply+bantmen@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #661: IVFFLAT QPS too low
Date: Thu, 05 Dec 2024 03:20:16 +0000
Message-ID: <gh-pgvector-pgvector-661-c2519002720@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-661@github.com>
References: <gh-pgvector-pgvector-661@github.com>

@sandys I don't think we reached a consensus in the above discussion but my understanding is there is a very significant read IO bottleneck for the IVFFLAT index implementation. I could not try HNSW because index building was demanding too much memory. I think you have three options: get a machine with more memory, reduce the space taken by your original tuples and/or index (I have not experimented with this), or partition your data. None of these are satisfying. I've also tried EBS vs local storage and found no difference as the issue is strictly with the IO bandwidth and unaffected by the latency. Let me know if something works for you.

view thread (22+ messages)  latest in thread

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