pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
From: wahajali (@wahajali) <noreply+wahajali@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: Thu, 31 Oct 2024 05:51:10 +0000
Message-ID: <gh-pgvector-pgvector-700-c2449053672@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-700@github.com>
References: <gh-pgvector-pgvector-700@github.com>

@jkatz Here are the results with 25% shared buffer. The QPS is stable as long as the data fits in shared_buffer. After that the decline is more subtle than before.

| Dataset Size | Index Size | QPS        |
|--------------|------------|------------|
| OpenAI 500K  | 4 GB       | 2245.62805 |
| OpenAI 1M    | 8 GB       | 2159.0031  |
| OpenAI 1.5M  | 11 GB      | 1906.83545 |
| OpenAI 2M    | 15 GB      | 1665.35345 |
| OpenAI 2.5M  | 19 GB      | 1479.72235 |
| OpenAI 3M    | 23 GB      | 90.29945   |
| OpenAI 3.5M  | 27 GB      | 52.84175   |
| OpenAI 4M    | 31 GB      | 27.77215   |
| OpenAI 4.5M  | 34 GB      | 59.3837    |
| OpenAI 5M    | 38 GB      | 12.13395   |

I had to make some changes to VectorDBBench test dataset. With the original 1000 test datasets, the results were very different. I have captured that discussion here: https://github.com/zilliztech/VectorDBBench/issues/385

Regarding the numbers you shared [here](https://github.com/pgvector/pgvector/issues/678#issuecomment-2392576311), is the VectorDBBenchmark running on the same instance as the DB or running on a separate VM?


view thread (8+ messages)  latest in thread

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