# What is a vector database? — QANATONE

> A vector database stores embedding vectors and quickly finds the records closest in meaning to a query. It is the backbone of RAG systems.

Kaynak: https://www.qanatone.com/en/nedir/vektor-veritabani-nedir/

---

[Explainers](https://www.qanatone.com/en/nedir/)

# What is a vector database?

15 Sep 2026 2 min read Architecture · Vector Database

A vector database stores embedding vectors and quickly finds the records closest in meaning to a query. It is the backbone of RAG systems.

## What is a vector database?

Traditional databases are excellent at exact matches such as "fetch customer 1042". Searching by meaning is a different job: to answer "how long do I have to return this?" you need the paragraph that says "you may withdraw within 14 days", even though the two share no words.

A vector database does that job. It stores the [embedding](https://www.qanatone.com/en/nedir/embedding-nedir/) vectors of your texts and returns the vectors closest to a query vector.

## How does it work?

- Documents are split into chunks and each chunk is turned into a vector by an embedding model.

- The vectors are stored together with the text itself and extra fields such as source and date (metadata).

- When a question arrives it is embedded too, and the database returns the nearest records.

Comparing millions of vectors one by one would be slow, so these systems use approximate nearest neighbor (ANN) algorithms. One of the most common, HNSW, links vectors into a layered graph and narrows the search to the right region in a few hops. The trade off is that results are a very good approximation rather than perfectly exact.

## What are the options?

Pinecone, Weaviate, Qdrant and Milvus are built specifically for vector search. Teams already on PostgreSQL can keep vectors in their existing database with the pgvector extension, and Elasticsearch and OpenSearch support vector search as well. For small and mid sized projects, adding vectors to the database you already run is often enough.

The best results frequently come from hybrid search, which combines vector search with classic keyword search. Keyword search is better at exact strings such as product codes or names.

## What is it used for?

The most common use is [RAG](https://www.qanatone.com/en/nedir/rag-nedir/): assistants that answer from company documents, semantic search in product catalogs and finding similar support tickets. The [long term memory](https://www.qanatone.com/en/nedir/ai-memory-nedir/) of AI agents usually lives in a vector database too.

## More articles

[Model Type · VLM ### What is a vision-language model (VLM)? 15 Sep 2026 · 2 min](https://www.qanatone.com/en/nedir/vlm-nedir/)[Prompting · Zero-shot ### What is zero-shot prompting? 15 Sep 2026 · 2 min](https://www.qanatone.com/en/nedir/zero-shot-nedir/)[Core Concept · LLM ### What are large language models (LLMs) and how do they work? 12 Sep 2026 · 6 min](https://www.qanatone.com/en/nedir/buyuk-dil-modelleri-nedir/)[Architecture · RAG ### What is RAG (retrieval-augmented generation)? 12 Sep 2026 · 2 min](https://www.qanatone.com/en/nedir/rag-nedir/)[Core Concept · AI ### What is artificial intelligence and how does it work? 12 Sep 2026 · 5 min](https://www.qanatone.com/en/nedir/yapay-zeka-nedir/)[QANATONE · Brand ### What is a qanat? The water channel behind our name 23 Sep 2026 · 2 min](https://www.qanatone.com/en/nedir/qanat-nedir/)[Applications · AI Agent ### What is an AI agent? 15 Sep 2026 · 2 min](https://www.qanatone.com/en/nedir/ai-agent-nedir/)[Architecture · Memory ### What is memory in AI assistants and agents? 15 Sep 2026 · 2 min](https://www.qanatone.com/en/nedir/ai-memory-nedir/)
