Vector Database
A vector database is a database optimized for storing and searching high-dimensional vectors (embeddings) by similarity rather than by exact match — the storage layer of every RAG and semantic-search system.
Full definition
Vector databases use approximate nearest neighbor (ANN) algorithms such as HNSW, IVF, or ScaNN to find the most similar vectors to a query in milliseconds, even across billions of items. Examples include Pinecone, Weaviate, Qdrant, Milvus, pgvector (Postgres extension), and the vector capabilities now bundled into Elastic, MongoDB, and Snowflake. The choice between a dedicated vector DB and a vector-enabled OLTP database is often more about ops than capability.
Why it matters
Vector databases are the new system-of-record for unstructured enterprise content. Every document, email, call transcript, and image becomes a searchable asset once embedded and stored. For executives this is a category-creating data-platform decision, not a tactical infrastructure choice.
Example
A bank embeds 12 million internal documents (policies, manuals, procedures) into a vector database. Employees ask natural-language questions in a chat interface; the system retrieves the top 5 chunks and the LLM answers with citations — replacing what was a 10-million-dollar legacy enterprise-search investment.
Related terms
- Retrieval-Augmented Generation (RAG)Retrieval-Augmented Generation (RAG) is a technique where a language model retrieves relevant documents from an external knowledge base before generating a response, reducing hallucination by 30-60% and enabling citation of sources.
- EmbeddingAn embedding is a dense numerical vector — typically 384 to 4096 dimensions — that represents the semantic meaning of a piece of text, image, audio, or other content, so that semantically similar items end up near each other in vector space.
- Large Language Model (LLM)A Large Language Model (LLM) is a deep neural network — almost always a transformer — trained on hundreds of billions to trillions of words to predict the next token, and to generate, summarize, translate, or reason over text.
- InferenceInference is the process of running a trained AI model on new, unseen inputs to produce predictions, classifications, or generated content — the part that runs every time a user interacts with the system.
- MLOpsMLOps is the discipline of operating machine-learning and AI systems reliably in production — covering data pipelines, model training, deployment, monitoring, drift detection, governance, and incident response — analogous to DevOps for traditional software.
Source & further reading
Primary source: Malkov, Yashunin — "Efficient and robust approximate nearest neighbor search using HNSW" (2018).
Citation policy: this entry is part of the AIDOLS AI Implementation Glossary and may be quoted for research, journalism, and education with attribution to aidolsgroup.com/nl/glossary/vector-database/.