---
title: "What is a vector database?"
description: "A vector database stores embeddings and quickly finds the closest matches by meaning."
last_reviewed: "2026-12-03"
author: "Tim Benniks"
url: "https://noddingalong.tech/videos/what-is-a-vector-database"
markdown_url: "https://noddingalong.tech/videos/what-is-a-vector-database.md"
reading_time: "3 min read"
tags: ["what is a vector database", "vector database explained", "vector search", "semantic search", "embeddings explained", "rag explained", "ai for beginners", "ai jargon"]
---

# What is a vector database?

A vector database stores embeddings and quickly finds the closest matches by meaning.

Video: premieres on YouTube 2027-01-14T15:00:00Z.

## What you'll be able to explain

Explain that a vector database stores embeddings next to the original items and quickly finds the ones nearest to a question among millions, usually approximately (a little accuracy traded for speed), with filters such as date or department; that regular databases can add the capability (e.g. pgvector for Postgres); and that it always returns the nearest match unless someone sets a cutoff, so stale or irrelevant data comes back anyway.

## The question to ask

> Great, what does it return when nothing relevant is in there?

A vector database always returns the closest matches, even when nothing is actually relevant. The app has to notice that and say "I don't know". A good answer sounds like: A threshold or check that makes the bot say it can't find an answer.

## Key terms

- [Vector database](https://noddingalong.tech/glossary#vector-database): A database that stores embeddings next to the original items and quickly finds the closest matches to a question, even among millions.

## Chapters

- 00:00 Everyone nodded
- 00:12 A million spots, one question
- 00:27 A library sorted by meaning
- 00:46 Approximately the closest
- 01:02 Filters, and Postgres too
- 01:16 Always the nearest
- 01:33 What if nothing's relevant?

## Transcript

### Everyone nodded

Someone in your meeting just said: we'll put it in a vector database. Everyone nodded. Somebody pictured a server room full of good vibes. Nobody asked what it actually is. Let's fix that.

### A million spots, one question

Quick recap: embeddings turn meaning into numbers, a spot on a map of meaning. Now you have a million spots, and one question. Which spots are nearest? Measuring every single one, every time? Slow.

### A library sorted by meaning

Picture a library sorted by meaning instead of the alphabet. Books about time off share a shelf. Books about money live across the room. A vector database is that library. It stores each item's numbers next to the original text, and finds the nearest ones fast. That's how RAG finds the right pages.

### Approximately the closest

The trick: at scale, it usually finds approximately the closest. Instead of measuring every spot, it hops from neighbour to neighbour, closer with every jump. A little accuracy, traded for a lot of speed. Searching by vibes. Except maths.

### Filters, and Postgres too

It also keeps labels, like date or department, so you can ask: nearest, but only from this year. And regular databases can learn the trick too, like P G vector for Postgres. So: a product, and also a feature.

### Always the nearest

Here's the catch. It always returns the nearest, even when nothing is close. Unless someone sets a cutoff, it never says: nothing relevant. Ask about parking, get the lunch menu. Garbage in, nearest garbage out. And when a document changes, its numbers need updating too.

### What if nothing's relevant?

And that server room full of good vibes? Close. It does search by vibes. The vibes are just maths. Next time someone says vector database, nod. Then ask the question that silences the room: great, what does it return when nothing relevant is in there? Silence. Congratulations. You're nodding with intent.

## Sources

Every claim was checked against these sources on 2026-12-03 before recording.

1. [What is a Vector Database & How Does it Work? (Pinecone Learn)](https://www.pinecone.io/learn/vector-database/)
2. [pgvector: Open-source vector similarity search for Postgres (README)](https://github.com/pgvector/pgvector)
3. [Efficient and robust approximate nearest neighbor search using Hierarchical Navigable Small World graphs (Malkov & Yashunin, 2016)](https://arxiv.org/abs/1603.09320)
4. [Distance metrics (Weaviate docs)](https://docs.weaviate.io/weaviate/config-refs/distances)

---

Written by Tim Benniks (https://timbenniks.dev) for Nodding Along: AI explained for people who work with nerds but aren't one. https://noddingalong.tech
