pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
From: jkatz (@jkatz) <noreply+jkatz@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #285: Interest in DiskANN
Date: Wed, 29 Nov 2023 07:09:55 +0000
Message-ID: <gh-pgvector-pgvector-285-c1831332249@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-285@github.com>
References: <gh-pgvector-pgvector-285@github.com>

I currently do not see any reason to support this as I don't think we've hit the ceiling yet on HNSW nor IVFFLAT performance, particularly with a variety of enhancements coming up. I recently shared some [performance results for pgvector and HNSW][1] which are already quite fast, and I think we still have some more room improve both with supporting smaller data types in dimensions, adding support for quantization, and also improvements higher end of `hnsw.ef_search`. Per https://github.com/pgvector/pgvector/issues/285#issuecomment-1807258210 we can take pgvector's HNSW implementation quite far both for some pretty large data access patterns, so I'm not sure why we need an additional algorithm at this point.

There may be a time where it makes sense to add another indexing algorithm, but I've yet to see a convincing argument at this time is now given the relative performance/recall we're getting w/HNSW today.

[1]: https://aws.amazon.com/blogs/database/accelerate-hnsw-indexing-and-searching-with-pgvector-on-amazon...

view thread (15+ messages)  latest in thread

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