我們現在還需要專用向量資料庫嗎?
Do we even need dedicated vector databases anymore?
作者質疑是否仍需要專用向量資料庫,因為 PostgreSQL、Mongo 和 Elastic 已支援向量搜尋,而相關工具開始代勞分塊、嵌入及檢索。使用 Hippocampus 處理 50 份 Podcast 文字稿時,作者無須編寫向量搜尋程式碼,答案亦能指出來源時間戳,遇上資料未涵蓋的問題會表示信心不足。其缺點是延遲較高;速度、查詢成本、資料類型或檢索控制需求,仍可能令專用向量資料庫派上用場。
Posted on Nov 24 Edited on Nov 24
I've built RAG on Pinecone, Qdrant, Weaviate and pgvector.
But I'm starting to wonder... will these survive?
I've been using Hippocampus by Thalius (they sponsored a project of mine, so grain of salt). You upload documents and it handles the chunking, embedding and retrieval for you. I threw 50 of my podcast transcripts at it and wrote zero vector search code.
The answers have been better than what I usually get from my first few passes at my own pipelines. Every answer points to the exact source, down to the timestamp. When the transcripts don't cover a question, it says it has low confidence instead of making something up.
The catch is latency. It's noticeably slower than a raw vector search plus an LLM call.
So I'm asking myself: when does a dedicated vector DB still earn its spot?
My guesses:
- you need speed (autocomplete, recommendations, live search)
- you're at a volume where per-query pricing hurts
- your data is unique (images, code, audio) and you need control over how it's embedded
- you need to tune every piece of retrieval yourself
Beyond that, I'm not so sure anymore. Postgres, Mongo and Elastic all do vector search now, so storage already feels like a commodity. The hard part was always the chunking, the metadata and getting the right answer back, and tools are starting to take that off our plates.
Where do you still reach for a dedicated vector database? Tell me what I'm missing.
I walked through the whole build here if you want to see it: https://youtu.be/QhB_g4g7PJA
來源:DEV Community · dev.to