Choosing among open source vector database projects is less about finding the fastest one and more about finding the one that matches your operational reality. A team with Postgres expertise and a few million vectors has different needs from a team serving billions across tenants. This post surveys the projects most worth following, gives each a fair summary, and shows how to evaluate them on your own data instead of trusting a leaderboard.
License and description details come from each repository’s front page when I checked. I avoid star counts and benchmark numbers, because both age quickly and vendors choose flattering setups. If you want a workload-by-workload comparison, our vector database comparison for RAG goes deeper; this article is about the projects themselves.
The shortlist
| Project | License (front page) | Shape | Notable trait |
|---|---|---|---|
| Milvus | Apache-2.0 | Distributed vector database | Described as cloud-native and built for scalable ANN search |
| Qdrant | Apache-2.0 | Vector database server | Payload filtering is a core design feature |
| Weaviate | BSD-3-Clause | Vector database storing objects and vectors | Combines vector search with structured data and modules |
| Chroma | Apache-2.0 | Search infrastructure for AI | Developer-friendly, common in prototypes |
| pgvector | PostgreSQL License | Postgres extension | Vectors live beside your relational data |
| LanceDB | Apache-2.0 | Embedded retrieval library | Runs in-process, built for multimodal data |
| Vespa | Apache-2.0 | Search and serving platform | Mixes lexical, vector, and ranking in one engine |
| FAISS | MIT | Similarity-search library | A library, not a database |
Two clarifications up front. FAISS is a library for efficient similarity search from Meta’s research group; it has no server, persistence layer, or access control of its own, so it belongs beside databases only as a building block. And pgvector is an extension, so its operational story is Postgres’s operational story, for better and worse.
Distributed engines: Milvus and Vespa
Milvus describes itself as a high-performance, cloud-native vector database for scalable approximate-nearest-neighbor search. The architecture is built for large collections and separates storage from compute, which helps at scale and adds moving parts at small scale. Pick it when you expect very large data and have the platform team to run it.
Vespa calls itself an AI search platform. Its differentiator is that retrieval, ranking models, and filtering run inside one serving engine, which suits recommendation and search products with custom ranking. The learning curve is steeper than for a pure vector store, but so is the ceiling.
Focused vector servers: Qdrant and Weaviate
Qdrant is a vector database under Apache-2.0 with strong support for filtering on payload fields, which matters for multi-tenant apps where every query carries a tenant or permission constraint. Read metadata filters for RAG to see why filter behavior deserves testing.
Weaviate is BSD-3-Clause licensed and stores both objects and vectors, with modules that connect to embedding and generative models. If you want a guided on-ramp, our Weaviate Academy path review lays out the free courses.
Developer-first and embedded: Chroma and LanceDB
Chroma (Apache-2.0) is the project many tutorials begin with, thanks to a low-friction local setup. It is excellent for prototypes; plan a deliberate decision before production rather than letting a prototype’s choice become permanent.
LanceDB (Apache-2.0) is described as a developer-friendly, open-source embedded retrieval library for multimodal AI. Running in-process removes a network hop and a service to operate, which is attractive for desktop apps, notebooks, and serverless jobs. For multimodal ideas, see our multimodal RAG guide.
Postgres-native: pgvector and pgvectorscale
pgvector adds vector similarity search to Postgres under the PostgreSQL License. Its README highlights exact and approximate search and the ability to keep vectors with the rest of your data, including transactions, joins, and point-in-time recovery. For many teams that single sentence ends the debate. Details and tuning live in pgvector for RAG.
pgvectorscale (PostgreSQL License) builds on pgvector with a DiskANN-inspired index and quantization. Its README publishes a vendor benchmark against a managed competitor; treat that as a claim to reproduce on your own data, not as a settled fact. The same README also announces an early-alpha successor index project, a reminder that this corner of the ecosystem is still moving.
How to evaluate beyond a leaderboard
Public benchmarks such as ANN-Benchmarks compare index algorithms on fixed datasets, which is useful for understanding trade-offs. They do not reflect your embeddings, filters, update rate, or hardware. Build a small bake-off:
- Export 100,000 of your real vectors with their metadata, plus 200 real queries and their known good results.
- Load the same data into two or three candidates with comparable index settings, recording build time and memory.
- Measure recall at your target latency, not peak speed. A fast index with poor recall hides retrieval bugs.
- Add your real filters. Tenant, date, and permission constraints change performance dramatically in some engines.
- Test churn. Insert, update, and delete during queries. Many demos only test static data.
- Record operational cost: backup, upgrade, monitoring, and on-call burden.
Questions that decide the shortlist
- Do vectors need transactions with other data? If yes, pgvector gets a head start.
- How big will you get in two years? Past hundreds of millions of vectors, distributed designs earn their complexity.
- Is keyword matching part of relevance? If so, favor engines with good hybrid support; see hybrid search for RAG.
- Who operates it? A managed offering or a platform team changes the answer more than any benchmark.
- Where must data live? Self-hosting in region can satisfy requirements discussed in data residency for LLM apps.
Signals of project health to track
Over a long project, health matters more than a launch-week benchmark. Watch for regular releases with clear notes, issues triaged by maintainers, a documented upgrade path between versions, and a license that has not changed unexpectedly. Also track the commercial company behind the project: its incentives shape which features land in the open-source edition. The broader landscape and trade-offs for managed services are summarized in vector databases for AI, and the embedding choices that feed all of them are covered in what embeddings are.
Finally, keep your own data portable. Store the source text and metadata outside the vector index, so you can re-embed and migrate when a better engine or model appears. That single habit turns today’s choice from a commitment into a decision you can revisit, and it makes this entire survey less stressful.
FAQ
Which open-source vector database is best?
There is no universal winner. pgvector suits teams already on Postgres, Qdrant and Weaviate are focused vector servers, Milvus targets very large scale, and LanceDB fits embedded use. Run a small bake-off on your own vectors, filters, and update patterns.
Is FAISS a vector database?
No. FAISS is a library for efficient similarity search and clustering of dense vectors, developed primarily at Meta. It lacks built-in persistence, access control, and a server, so teams usually use it as a component or choose a full database.
When is pgvector enough?
pgvector is often enough when your data already lives in Postgres, you need transactions and joins with vectors, and your collection is in the millions rather than billions. Test recall and latency at your target scale before committing.
Are public vector database benchmarks reliable?
They are useful for understanding index trade-offs but rarely match your embeddings, filters, update rates, or hardware. Vendor-published numbers deserve extra scrutiny. Reproduce results on your own data before making a decision.
Should I start with Chroma for production?
Chroma is excellent for prototypes thanks to simple local setup. For production, make a deliberate choice based on scale, filtering needs, and operations. It may remain a fine choice, but do not let a prototype default decide by inertia.
How do I avoid vector database lock-in?
Keep source documents and metadata in your own storage, record the embedding model and version, and write retrieval behind a thin interface. Then you can re-embed and move to another engine without rebuilding the whole pipeline.
AI Generated Apps AI Code Learning Technology

One comment
Pingback: Weaviate Academy Vector Course: Path for RAG Engineers