---
title: "What is a vector database? Where AI searches by meaning."
url: https://www.bonbay.fr/en/ia/comprendre-ia/lexique-ia/base-vectorielle/
site: "Bonbay IA"
description: "A vector database stores the embeddings of your documents to find a passage by its meaning. Definition, business use and confusions to avoid."
updated: 2026-11-13
---

# What is a vector database? Where AI searches by meaning.

> A vector database stores embeddings, that is, texts or images converted into lists of numbers, and instantly finds those closest to a question. It is at the heart of a RAG system: it selects the passages from your documents that the model will read before answering.

For an assistant to find the right passage in your documents, it needs somewhere to store their meaning. That is the role of the vector database.

## En bref

- **Search by similarity** The database does not compare words; it measures the distance between meanings.
- **Well-known tools** The pgvector extension for PostgreSQL, Qdrant, Weaviate and Pinecone are common examples.

## In practice in a business

For an internal assistant that answers questions on your procedures, each document is split into passages, each passage gets its embedding and is added to the database. When a procedure changes, only its passages are recalculated.

## Not to be confused with

A vector database does not replace your business database, which holds the exact amounts, dates and references. Nor is it a keyword search: it may miss a specific order number that a conventional search finds instantly.

## Questions fréquentes

### Do you need separate software?

Not necessarily. An extension such as pgvector adds vector search to an existing PostgreSQL database, which is often enough for a few thousand documents.

### Are access rights respected?

Only if they are planned for. Each passage must keep a record of who can read it, otherwise the assistant may quote a confidential document to the wrong person.

### Where is it hosted?

Wherever you decide: with an online provider, in Europe or on a company server. It keeps a trace of your documents and must be protected like them.
