Skip to content

pgvector

A PostgreSQL extension for working with vectors. It allows storing embeddings in a regular relational database and searching for nearest neighbors.

Why

If you already have PostgreSQL, you don't need a separate vector database. Vectors live alongside regular data, and queries combine SQL with vector search.

When to Choose

  • Volumes up to ~1–2 million vectors;
  • You already have PostgreSQL;
  • You need to connect vectors with relational data.

Limitations

On large volumes, it falls short of specialized Qdrant and Pinecone in terms of speed and search capabilities.

See Also

← All terms