Skip to content
All terms

Vector Database

A database that stores and searches vector representations, often to find items similar to a query.

Read this term in Arabic

A vector database stores and searches vector representations of data. A common use is finding stored items whose vectors are similar to the vector representing a new query.

Some systems specialize in this task, while other databases add vector capabilities alongside ordinary records and queries. The term describes supported storage and search functions, not one mandatory product architecture.

Storage and representation have different jobs

In a hypothetical support system, an embedding model creates vector embeddings for help passages. The database stores those representations, often with identifiers and descriptive metadata. When a question arrives, the system can search for nearby vectors and obtain the associated passages.

The database does not need to generate the written answer itself. Finding candidates is one part of a larger application that may also retrieve the original content, check its applicability, and pass selected information to a language model.

Similarity alone can be insufficient. A passage about the right topic but the wrong workshop may rank highly. Where supported and configured, metadata filters can narrow the search to the relevant collection or product. Their existence and correctness should be checked rather than assumed from the database label.

The stored content also needs maintenance. Updating the original document does not automatically establish that its stored vectors and associated records were refreshed. A vector database can return a good match to outdated information; useful answers still depend on the quality, scope, and freshness of what the application makes available.