Skip to content

Vector Database

Key idea:

Vector Database — a DB optimised for storing + searching vectors (embeddings) via ANN (Approximate Nearest Neighbor) algorithms. HNSW, IVF, DiskANN — common indexing. Supports hybrid search (vector + keyword), metadata filtering, upsert/delete. 2026 leaders: Qdrant (Rust open-source, fastest), Pinecone (managed, expensive), Weaviate (open hybrid search), Milvus (CNCF), pgvector (Postgres extension, simple).

Below: details, example, related terms, FAQ.

Try it now — free →

Details

  • Scale: billions of vectors on a single node with SSD disk-based indexes
  • Index types: HNSW (best recall) vs IVF (cheaper memory) vs DiskANN (huge scale)
  • Hybrid search: dense vector + sparse BM25 + metadata filter
  • Cloud managed: Pinecone, Qdrant Cloud, Weaviate Cloud, Zilliz (Milvus)
  • Self-host: Qdrant / Weaviate / Milvus Docker image, pgvector extension in Postgres 14+

Example

# Qdrant: create collection + insert + search
curl -X PUT http://localhost:6333/collections/docs \
  -H 'Content-Type: application/json' \
  -d '{"vectors": {"size": 1536, "distance": "Cosine"}}'

# Insert
curl -X PUT http://localhost:6333/collections/docs/points \
  -d '{"points": [{"id": 1, "vector": [0.1, 0.2, ...], "payload": {"text": "..."}}]}'

# Search top-5
curl -X POST http://localhost:6333/collections/docs/points/search \
  -d '{"vector": [0.1, 0.2, ...], "limit": 5}'

Related Terms

Learn more

Frequently Asked Questions

pgvector vs dedicated vector DB?

pgvector: simplicity (you already run Postgres), up to ~1M vectors. Dedicated: better at >10M, hybrid search, HA. Start with pgvector, migrate if upgrade needed.

Qdrant vs Pinecone?

Qdrant: open source, self-host, fast Rust, $0 cost. Pinecone: managed, no ops, $70+/mo. Enterprise features: Qdrant Cloud or Pinecone.

How to monitor?

<a href="/en/ping">Enterno Ping</a> for port 6333 (Qdrant). <a href="/en/monitors">Monitors</a> for /health endpoint.