Skip to content
Menu
English

pgvector

Vector similarity search as a PostgreSQL extension, keeping embeddings beside your data.

library Vector Databases PostgreSQL 5 relationships

Overview

pgvector adds vector columns and approximate nearest-neighbour indexes to PostgreSQL. It solves the operational problem of a second datastore: when embeddings live in their own database, every query has to join across two systems and every transaction has to consider both. It exists because for most applications the vector count is small enough that one database is simpler, and filtering by ordinary columns alongside similarity is exactly where a dedicated vector database is weakest.

Technology Graph

How pgvector connects to the rest of the stack.

Uses and depends on

Classification

Tools

Software that implements or integrates with pgvector.

LLM Frameworks