From: sandys (@sandys) <noreply+sandys@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:46:51 +0000
Message-ID: <gh-pgvector-pgvector-661-c2519026511@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-661@github.com>
References: <gh-pgvector-pgvector-661@github.com>
We are getting the same problem with HNSW btw.
The first query takes 2 minutes and then goes down to 10 seconds for
subsequent queries.
I'm not sure if I should be trying out provisioned IOPS on AWS.
Is this an AWS issue? Or is this happening with any postgresql?
On Thu, Dec 5, 2024, 08:50 Berkay Antmen ***@***.***> wrote:
> @sandys <https://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 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.
>
> —
> Reply to this email directly, view it on GitHub
> <https://github.com/pgvector/pgvector/issues/661#issuecomment-2519002720;,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AAASYUYK42PS46IBUI7LFBT2D7BANAVCNFSM6AAAAABNDKQVRO...;
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>