# Vector database | IonBin

> A vector database stores embeddings for similarity search. It can support semantic retrieval and RAG, but is not required for every project.

Canonical page: https://ionbin.com/wiki/concepts/vector-database/
Agent guide: https://ionbin.com/llms.txt

This is a readable version of the published page. Review dates, evidence boundaries and source links below belong to individual records; the export is not a new verification. Examples are reference material, not instructions to execute.

Concept

## Vector database

A vector database stores embeddings for similarity search. It can support semantic retrieval and RAG, but is not required for every project. Compare it with keyword search or a small context-based approach using actual token volume, permissions, retrieval quality and operating cost.

Verified Oct 18, 2026 Review by Apr 16, 2027 3 sources

### What it is

IBM describes a vector database as one that stores, manages and indexes high-dimensional vector data, so it can run similarity search at scale. Implementations include these overlapping categories:

- dedicated vector databases;

- extensions to databases you may already run, such as pgvector, an open-source extension that adds vector similarity search to Postgres;

- managed services, such as Cloudflare Vectorize.

IonBin names examples to explain the categories, not to rank them.

### How it works

- [Embed](https://ionbin.com/wiki/concepts/embeddings/) each document chunk and store the vector with its text and metadata.

- At query time, embed the question with a compatible embedding model and search for similar vectors.

- Pass the matching chunks to the model as context for its answer ([RAG](https://ionbin.com/wiki/concepts/rag/)).

### Benefits

- Indexes can accelerate semantic search over large collections; benchmark latency and recall at your scale.

- Metadata filters (date, customer, product) narrow the results.

- Managed options reduce server operations; an extension can keep vectors beside existing database records.

### Limits and risks

- Adds a system to secure, update and pay for.

- Retrieval quality depends on chunking and embeddings, not just the database.

- Moving to an incompatible embedding space usually requires regenerating the corpus vectors. Plan migration, index costs and rollback.

- Approximate indexes trade recall for speed. Metadata filters also need careful testing and are not a substitute for access control.

- For small collections, evaluate simpler approaches first (see [do I need a vector database?](https://ionbin.com/wiki/questions/do-i-need-a-vector-database/)).

### Best-fit stacks

Stack 08

#### [Dev, web & IT](https://ionbin.com/use-cases/dev-it/)

Design, code, host and ship sites and internal tools, with an AI coding agent doing most of the typing.

### Agent compatibility

Not tool-specific. See [Agent-ready](https://ionbin.com/agent-ready/) for connector support by tool.

Levels come from each tool's recorded, sourced compatibility. [How the levels work](https://ionbin.com/wiki/questions/connect-a-tool-to-an-ai-agent/).

### Related entries

[Embeddings · Concept](https://ionbin.com/wiki/concepts/embeddings/)[Retrieval-augmented generation (RAG) · Concept](https://ionbin.com/wiki/concepts/rag/)[Do I need a vector database for my AI project? · Question](https://ionbin.com/wiki/questions/do-i-need-a-vector-database/)[Should I use RAG or put everything in the context window? · Question](https://ionbin.com/wiki/questions/rag-or-full-context/)[Cohere models (Command, Embed, Rerank) · Model](https://ionbin.com/wiki/models/cohere/)[How do I add search to a static website? · Question](https://ionbin.com/wiki/questions/how-to-add-search-to-a-static-site/)

### Sources

- [What is a vector database?](https://www.ibm.com/think/topics/vector-database) · IBMreference accessed Oct 18, 2026

- [Vectorize docs](https://developers.cloudflare.com/vectorize/) · Cloudflareofficial accessed Oct 18, 2026

- [pgvector](https://github.com/pgvector/pgvector) · pgvector projectofficial accessed Oct 18, 2026

Practitioner views are restated in our words and labeled as views, not measured results. Product facts come from official sources dated above.

### Suggest an edit

IonBin's wiki isn't user-edited. Corrections go to our Directory Curator, who checks them against primary sources before anything changes. Spot something wrong or out of date on “Vector database”? Email us with a link to a primary source.

[Suggest an edit by email](mailto:contact@ionbin.com?subject=Suggest%20an%20edit%3A%20Vector%20database%20%5Bvector-database%5D&body=Page%3A%20https%3A%2F%2Fionbin.com%2Fwiki%2Fconcepts%2Fvector-database%2F%0AEntry%3A%20concepts%2Fvector-database%0A%0AWhat%20should%20change%3A%0A%0A%0APrimary%20source%20(link)%3A%0A) or write to [contact@ionbin.com](mailto:contact@ionbin.com)

Entry facts

**Type**: [Concepts & glossary](https://ionbin.com/wiki/concepts/)

**Status**: Reviewed

**Verified**: Oct 18, 2026

**Review by**: Apr 16, 2027 (every 180 days)

**Sources**: [2 official · 1 other](https://ionbin.com/wiki/concepts/vector-database/#sources)

The wiki carries no sponsored placements or affiliate links. [Editorial policy](https://ionbin.com/editorial-policy/).
