Zum Inhalt springen
Agent Hub
Back to glossary
architecture

Vector database

A vector database stores embeddings efficiently and answers similarity searches in milliseconds — the storage behind every RAG system.

Also known as: Vector DB, Vektor-Datenbank

In detail

While a classic SQL database is optimized for value comparisons, vector DBs are built for nearest-neighbour search in high-dimensional spaces. Common choices:

  • pgvector (Postgres extension) — our default for most projects
  • Qdrant and Weaviate — standalone vector DBs with more features
  • Pinecone — cloud-only, US-hosted (we don't use it)

We prefer pgvector: runs in the same Postgres instance as your business data, simpler backups, EU hosting trivial.

Related terms