Skip to content

vector database

A vector database is a specialized data system for storing, indexing, and querying high-dimensional embedding vectors (numerical arrays). The embedding model places items with similar meaning or structure close together in vector space, and the database indexes that geometry so you can retrieve an item’s nearest neighbors quickly. Vector search isn’t limited to dedicated products, though. General-purpose databases can gain the same capability through extensions like pgvector for PostgreSQL, which stores vectors alongside the rest of your data.

It supports fast nearest-neighbor or similarity searches using different techniques, such as graph-based indices, inverted-file clustering, product quantization or hybrid indexes—often in conjunction with metadata filters and keyword plus vector hybrid ranking.

Core capabilities of a vector database include inserting, updating, deleting (CRUD/upsert) vectors and associated metadata, batch ingestion, support for similarity metrics like cosine similarity, Euclidean (L2) distance, or inner product, and trade-offs between recall and latency.

Embeddings and Vector Databases With ChromaDB

Tutorial

Embeddings and Vector Databases With ChromaDB

Vector databases are a crucial component of many NLP applications. This tutorial will give you hands-on experience with ChromaDB, an open-source vector database that's quickly gaining traction. Along the way, you'll learn what's needed to understand vector databases with practical examples.

advanced ai databases data-science machine-learning

For additional information on related topics, take a look at the following resources:


By Leodanis Pozo Ramos • Updated Aug. 27, 2026