From: amano-kenji (@amano-kenji) <noreply+amano-kenji@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: [pgvector/pgvector] issue #796: Horizontal scalability (with citus)
Date: Fri, 07 Mar 2025 14:12:46 +0000
Message-ID: <gh-pgvector-pgvector-796@github.com> (raw)
There are two issues I can think of. If these two sharding issues are gone, I think postgres would be the best database for me.
## recall rate across shards
https://github.com/pgvector/pgvector/pull/129#issuecomment-1657706476 says citus reduces recall rate.
I guess citus reduces recall rate because vector space is split between shards, and postgres doesn't recognize all shards as one vector space.
## being forced to query all shards for vector search.
Since embeddings are split across shards, I can't know which shards to query. Thus, I have to query all shards. Querying all shards for every vector search is bad for performance.