A Practical Vector Database Selection Guide for Enterprise RAG
A Juejin AI article recommends selecting vector databases by corpus scale, filtering requirements, existing infrastructure and operational capacity rather than GitHub popularity. It places pgvector first for existing PostgreSQL deployments with up to one million records, suggests Qdrant for tens-of-millions-scale workloads with complex filtering, and reserves Milvus 3.x for hundred-million-scale systems with dedicated SRE capacity. It also positions Elasticsearch or OpenSearch for teams with an existing search stack and Chroma, LanceDB and Faiss mainly for prototypes or offline experiments.
The guide offers a concrete decision framework for enterprise RAG architecture, while explicitly warning that its scale thresholds and hybrid-retrieval estimates come from public comparisons and are not official performance guarantees.
主流向量数据库:流行度、优缺点与选型结论(精简版)
一、结论速览
别按 star 选,按语料规模和运维能力选。
对「已有 Postgres、语料百万级以内、要和业务权限与事务绑在一起」的企业知识库 RAG,答案是 pgvector;千万级且过滤复杂再考虑 Qdrant;亿级以上、有专职 SRE 团队才上 Milvus 3.x;已有 ES 集群就直接复用搜索栈;Chroma / LanceDB / Faiss 只用于原型与离线实验(Faiss 根本不是数据库)。
二、数据口径(读表前先看)
- star 反映关注度,不等于生产采用率。
- 「近 4 周提交」用 commits API 的 Link 头取总数,包含 merge 提交;各仓库合并策略不同,不能横向比有效工作量(Weaviate 的 1,504 条明显含大量 merge,样本里是真实人类开发)。
- pgvector 走 tag 发布、不建 GitHub Release,故用近 30 天提交数标注。
- 规模分档、混合检索收益等经验值来自公开横评(含厂商内容),仅作方向参考,不是官方性能承诺。
#pgvector#Milvus#Qdrant#Weaviate#Chroma#LanceDB#Elasticsearch#OpenSearch#Vespa#Faiss