Sharding pgvector
Mar 25th, 2025Lev Kokotov
If you find yourself working with embeddings, you’ve shopped around for a vector database. pgvector is a great option if you’re using Postgres already. Once you reach a certain scale (about a million arrays), building indices starts taking a long time. Some workarounds, like parallel workers, help, but you still need to fit the whole graph in memory.
The solution to lots of data is more compute, so we sharded pgvector. In this context, we’re specifically talking about s...
Read more at pgdog.dev