Dedicated Vector Databases

Pinecone, Qdrant, Weaviate, Milvus and Chroma are purpose-built alternatives when scale, features or a managed service outweigh keeping one database.

Intermediate · about 4 hours · difficulty 3/5

Learn first: Similarity Metrics and ANN Indexes

Dedicated vector databases focus entirely on storing and searching vectors. They are a valid alternative to pgvector, especially when vector search is the core of the product.

The main options

  • Pinecone: fully managed, serverless pricing, minimal ops. Good when you do not want to run infrastructure.
  • Qdrant: open source (Rust) with a managed cloud; strong filtering, payload indexes and hybrid support.
  • Weaviate: open source with a managed cloud; built-in hybrid search and module integrations.
  • Milvus / Zilliz: built for very large scale deployments.
  • Chroma: lightweight and embeddable, excellent for prototypes, notebooks and local apps.
  • Search engines like Elasticsearch / OpenSearch also offer vector search alongside mature keyword search.

How to evaluate

  • Filtering performance with your real metadata.
  • Hybrid (keyword plus vector) support.
  • Multi-tenancy and access control model.
  • Operational cost: managed pricing versus running it yourself.
  • Keeping data in sync with your primary database (you now have two sources of truth).

Pitfalls

Picking a database before you have 10,000 documents is premature. The concepts (collections, metadata, ANN indexes, top-k) transfer between all of them, so wrap access behind your own small interface.

Good enough to move on

You can load the same chunks into one dedicated vector database, run filtered queries, and explain when you would choose it over pgvector.

Key concepts

  • Pinecone: Fully managed
  • Qdrant
  • Weaviate
  • Chroma: Great for prototypes
  • Milvus
  • Elasticsearch / OpenSearch vectors
  • Keeping vector store and primary DB in sync

Other options for this step

  • pgvector: Vectors in Postgres: Our recommended starting vector store: keep embeddings next to your relational data with the pgvector extension for Postgres.

Mini project

Load your chunk set into Qdrant or Chroma locally, reproduce the pgvector-style filtered search, and write a half-page comparison of developer experience and query speed.

Check yourself

What new failure mode appears when your documents live in Postgres but their vectors live in a separate vector database?

Free resources