The recommendation most vendors won't give you

If you already run PostgreSQL, start with pgvector. It handles the scale most business applications actually reach, adds no new infrastructure to operate, and keeps your vectors alongside the relational data you filter by. Move to something specialised when you have measured a reason.

Vector database selection attracts more discussion than it deserves for most projects. Here is a practical comparison and an honest view of when the choice actually matters.

The options compared

pgvectorQdrantWeaviatePinecone
TypePostgres extensionSelf-host or cloudSelf-host or cloudManaged only
New infrastructureNoneYesYesNone to run
Relational filteringNative SQLPayload filtersPayload filtersMetadata filters
Hybrid searchWith Postgres FTSBuilt inBuilt inBuilt in
Operational burdenLowest if you have PGModerateModerateLowest overall
Scale ceilingMillionsVery highVery highVery high
Cost shapeYour existing DBInfrastructureInfrastructureUsage-based

The factor people under-weight is filtering. Real queries are rarely pure similarity — they are "similar documents, for this customer, in this region, not archived". If that metadata lives in Postgres and your vectors live elsewhere, you either duplicate the metadata or make two round trips. pgvector avoids that entirely by keeping both in one query.

Choosing by situation

Your situationSensible choiceWhy
Already run Postgres, moderate corpuspgvectorNo new infrastructure; SQL filtering
Small team, want zero opsManaged serviceOperational simplicity is worth paying for
Very large corpus, high QPSDedicated vector DBPurpose-built for that regime
Strict data residencySelf-hostedFull control over location
Prototypingpgvector or in-memoryFastest to working; easy to change
Corpus under ~10k docsPossibly no vector DBTest whether hybrid keyword search suffices

The last row is worth taking seriously. A well-tuned keyword search over ten thousand documents frequently outperforms a mediocre vector setup — and costs nothing to operate.

What actually determines retrieval quality

The database is rarely the constraint. In order of impact:

  1. Chunking strategy — determines what can be found at all.
  2. Embedding model choice — domain fit matters more than benchmark rank.
  3. Hybrid retrieval — combining keyword and semantic search.
  4. Reranking — precision within the candidate set.
  5. Metadata filtering — narrowing before ranking.
  6. The vector store itself — genuinely last, until you hit scale limits.

Teams routinely migrate vector databases hoping to fix retrieval quality, and are disappointed. If your recall is poor, the cause is almost always chunking or the absence of hybrid search. Both are fixable without changing infrastructure, and both should be exhausted first.

Operational realities to plan for

  • Re-embedding cost. Changing embedding model means re-embedding the entire corpus. Budget for it, and avoid changing casually.
  • Index build time. Large corpora take real time to index; plan for it in deployment.
  • Incremental updates. How new and changed documents enter the index without a full rebuild.
  • Deletion. Genuinely removing a document from the index — a GDPR requirement, and easy to overlook.
  • Backup. Vectors are derived data, but re-deriving them is expensive. Back up or accept the rebuild cost.

That deletion point deserves attention for teams serving European customers. A deletion request must remove content from the index, not only from the source system, and some architectures make that harder than expected.

Keep your options open

  • Abstract the retrieval interface. Your application should call your search method, not the vendor's SDK throughout.
  • Store source documents separately from the index, so re-indexing never risks the originals.
  • Record which embedding model produced each vector, so a migration is traceable.
  • Keep an evaluation set so you can prove whether a change helped rather than assuming.

A practical recommendation

Start with pgvector if you have Postgres. Invest your effort in chunking, hybrid retrieval and reranking — that is where quality is decided. Revisit the infrastructure choice when you have a measured scale or latency problem, at which point you will know exactly what you need rather than guessing.

Choosing infrastructure for a RAG system? Tell us your corpus size and query patterns. See our AI agent service, RAG architecture, and general database selection.

Frequently asked questions

For corpora up to roughly a few million vectors with sensible indexing, comfortably yes for most business applications. It becomes the wrong choice at very large scale or very high query concurrency — but far fewer systems reach that threshold than the market implies.
Not always. If your corpus is small — a few thousand documents — an in-memory index or even a well-tuned keyword search may serve you better and simpler. Vector infrastructure is worth adding when semantic retrieval measurably beats the alternative on your evaluation set.
Moderate, and worth planning for. Re-embedding and re-indexing is mechanical; the work is in query-layer differences and any provider-specific features you adopted. Abstracting your retrieval interface from the start keeps this a port rather than a rewrite.