Vector Database
A vector database is a database designed to store embeddings, the numerical representations of text, images, or other content, and to find, very quickly, which stored items are most similar in meaning to a query. Where a normal database answers “find rows where status = open,” a vector database answers “find the ten documents closest in meaning to this question,” even across millions of items.
In practice it sits in the middle of a common pipeline: your documents are split into chunks, each chunk is converted to an embedding, and the embeddings go into the vector database. When someone asks a question, the question is embedded too, the database returns the nearest chunks, and those chunks are handed to a large language model to write the answer, the standard retrieval-augmented generation setup. Dedicated products (Pinecone, Weaviate, Qdrant, Milvus and others) compete here, and mainstream databases like PostgreSQL (via pgvector), Elasticsearch, and MongoDB have added vector search, so many teams don’t need a new system at all.
Why it matters at work
If your team wants an AI assistant that knows your policies, tickets, or product docs, a vector database (or vector search inside your existing database) is usually the piece that makes it work at scale. It’s also where practical concerns live: access control (can the sales bot retrieve HR documents?), freshness (are deleted pages removed from the index?), and cost. Retrieval problems in AI assistants very often trace back to what’s in, or missing from, this layer, not to the language model itself.
A work example
An IT team indexes 30,000 internal wiki pages into a vector database; the helpdesk assistant answers “how do I set up VPN on a new laptop” by retrieving the three closest runbook chunks and citing them, instead of keyword-matching on “VPN” across thousands of stale pages.
Related terms
- Embedding, the numerical representation a vector database stores and compares
- Retrieval-augmented generation, the pattern that pairs vector search with an LLM
Get one practical AI-at-work idea in your inbox each week, subscribe to the AI Work+ newsletter.
FAQ
When does a team actually need a vector database? When you search large collections by meaning, typically for RAG or semantic search across many documents. For small collections, a regular database with a vector extension or even in-memory search is often enough.
How is a vector database different from a regular database? A regular database finds exact matches on stored values. A vector database stores embeddings and finds nearest neighbors, the items whose meaning is closest to a query, even when no words match.