From: SunnyBo0302 (@SunnyBo0302) <noreply+SunnyBo0302@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #650: Support index based on DiskANN
Date: Sat, 19 Apr 2025 01:55:53 +0000
Message-ID: <gh-pgvector-pgvector-650-c2816458175@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-650@github.com>
References: <gh-pgvector-pgvector-650@github.com>
@sushrut141
Hi! I’m also really interested in the comparison between DiskANN and pgvector
From what I understand in the paper:
1. DiskANN uses an in-memory graph structure with PQ-compressed data.
2. It introduces a new graph construction algorithm called Vamana.
3. A custom disk layer structure is also applied for efficient access.
Are you planning to implement all of these components, or just a subset?
Also, I noticed that [pgvectorscale](https://github.com/timescale/pgvectorscale) has implemented DiskANN support, but it’s unclear which parts of the original design they adopted. Would love to hear your thoughts!