AI glossary
Vector database
Also called: vector db, vector index
A vector database is a store built to hold embeddings and to find the nearest neighbours of a query vector quickly, even when you have millions of chunks. By 2026 it is a standard piece of a retrieval stack, sitting beside (not instead of) your original documents.

What it stores
Each record is usually an id, a vector, and metadata such as a URL, a product line, or a date. The query is another vector, plus optional filters (“only the 2026 handbook”). The engine returns the closest items, often with an approximate algorithm so it can stay fast at scale.
You still need the original text. The database may store a copy of the chunk, or it may store only an id you use to fetch the passage from a CMS or a file store. Either way, the language model should see the text, not only a similarity score.
Operational details people skip
Updates, deletes, and re-embeds have to be part of the design, or the index will drift from reality. Hybrid search, combining BM25 with vectors, often outperforms a pure vector query on ids, names, and rare terms. Backups and access control matter as much as they do for any other database that holds internal documents.
A concrete example
Example You embed 10,000 help articles, store the vectors, and at question time you retrieve the closest 8 articles.
FAQs about Vector database
Do I always need a specialised vector database?
No. Some relational and search engines now offer vector indexes, and a small corpus can live in memory. A dedicated vector database helps when you need scale, filters, and a focused operations story.
Is nearest-neighbour search exact?
At large scale it is often approximate, which is usually fine for RAG. If you must have exact nearest neighbours, check the engine’s mode and be ready for a slower query.
What happens if I change embedding models?
Old vectors are not comparable. You have to re-embed the corpus and rebuild the index, then retest retrieval quality.
Can a vector database replace my knowledge graph?
Not always. Vectors are good at “find similar text.” Graphs are good at explicit relations, such as who approved what. Some designs, including GraphRAG-style systems, use both.
