Glossary · AI concepts & terminology
Vector database
also: vector store, vector DB
In short
A database that stores content as embeddings (numeric vectors) and makes it searchable by similarity of meaning instead of by exact keywords. The technical basis of many RAG systems, in which the knowledge snippets matching a query are found.
Reference: General AI knowledge
What it means
A vector database stores content as embeddings, meaning numeric vectors, and finds the entries with the most similar meaning for a query. Because an exact comparison with a very large number of vectors would be slow, such databases use approximate nearest neighbour search. They find very similar hits very quickly without guaranteeing that these are always the most similar ones. Besides dedicated products, conventional databases now also offer vector search as an extension.
In a RAG system, the vector database is the memory for company knowledge. Documents are split into passages, and each passage is stored as a vector with metadata such as source, date and permissions. The quality of the answers depends heavily on how sensibly the documents were split, which embedding model computes the vectors and how many hits are passed to the language model.
In practice and in the audit
The vector database effectively contains a copy of your documents, often including the original text. It therefore needs the same protection as the document archive: access rights, encryption, logging, backups. It is particularly important that permissions from the source systems are carried over and applied during search. ISO/IEC 27090:2026 recommends in 5.3 authorising every retrieval in a RAG system individually, and ISO/IEC 27001:2022 requires in Annex A 8.3 that access to information is restricted.
Deletion is the second check point. If a document is deleted or changed in the source system, the corresponding vectors have to follow; otherwise the assistant finds outdated or deleted content. For personal data, the right to erasure under Article 17 GDPR also covers this copy. Plan a regular reconciliation and check by sampling whether deleted content really can no longer be found. ISO/IEC 27001 requires in Annex A 8.10 that information no longer required is deleted.
References in standards and law
I cite standards by clause number and in my own words, never verbatim. Legal texts link to EUR-Lex.
- ISO/IEC 27090:2026, 5.3Individual authorisation of every retrieval in RAG systems.
- ISO/IEC 27001:2022, Annex A 8.3 and A 8.10Restricting access to information and deleting information.
- Article 17 Regulation (EU) 2016/679 (GDPR) Right to erasure.
- ISO/IEC 42001:2023, A.7.5Provenance of data.
Frequently asked questions
Do I have to delete vectors when a document is deleted?
Yes. Vectors and the text passages often stored with them are a copy of the document. If they remain, the assistant can keep finding deleted content, and with personal data that breaches the duty to erase.
Related terms
Further reading in the insights
Matching service
Reviewing knowledge assistants
I check whether your knowledge assistant applies permissions and deletions correctly and is protected against manipulated documents.
To AI securityAuthor: Lars Zimmermann
Term and explanation in my own words. Researched to the best of my knowledge and reviewed for accuracy.
This is my interpretation from practice. For legal advice, please turn to the appropriate professionals.