From: jkatz (@jkatz) <noreply+jkatz@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #461: Increase max vectors dimension limit for index
Date: Mon, 18 Mar 2024 17:26:33 +0000
Message-ID: <gh-pgvector-pgvector-461-c2004522600@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-461@github.com>
References: <gh-pgvector-pgvector-461@github.com>
> pgvecto.rs could support up to 65535 dimensions, could pgvector also support it?
Are there examples of use cases with vectors of that high dimensionality that are being used with vector databases? I know there are some cases in the "up to 4,096 dimension" range (such as the cited ada003 model above), but I'm curious what is being used beyond that.
Unless something has changed since I last checked, pgvecto.rs bypasses the PostgreSQL storage system, which makes it easier to index vectors that are larger than 8KB, with the tradeoff that you're losing [ACID](https://en.wikipedia.org/wiki/ACID) (especially the "[D](https://en.wikipedia.org/wiki/Durability_(database_systems))";) guarantees. Based on what you're doing with your application, that may be an acceptable tradeoff and allows you to index larger vectors in PostgreSQL today, though I'd advise that the PostgreSQL storage system provides a lot of infrastructure around data management that's easy to take for granted (and I certainly have while going on this vector journey!).