Featured Tool

pgvector

Open-source vector similarity search extension for PostgreSQL.

Open SourceSelf HostedOffline Capable
0.0 (0)

About

Rather than bolting a vector database onto a Postgres stack, pgvector puts embedding storage and similarity search inside the database as a C extension: a dedicated column type and distance operators for L2, cosine, inner product, and binary metrics, so semantic search becomes an ORDER BY clause that joins, filters, and transacts like any other SQL. Searches are exact unless an HNSW or IVFFlat index is added, trading some recall for big speedups, and the 0.8 series introduced iterative index scans to fix filtered queries that came back short. Indexing tops out at 2,000 dimensions for standard vectors, with half-precision and binary quantization stretching that to 4,000 and 64,000. Install means compiling against Postgres 13 or newer, though RDS, Supabase, Neon, and most managed hosts bundle it, and client libraries cover every major language. It ships under the permissive PostgreSQL License. Against dedicated engines like Qdrant or Milvus the tradeoff is honest: index builds are memory-hungry and tuning is manual, but at low millions of vectors, keeping embeddings beside relational data usually wins on operational simplicity.

Should you use pgvector?

Pick it when

Pick pgvector when your app already runs on Postgres, including RDS, Supabase, or Neon, and you hold up to low millions of vectors, so similarity search can join, filter, and transact with relational data in plain SQL.

Look elsewhere when

Skip it at tens of millions of vectors, where HNSW builds get memory-hungry and tuning is manual: pgvectorscale or VectorChord keep you in Postgres, while Qdrant or Milvus suit dedicated vector workloads.

Alternatives to pgvector

  • pgvectorscale

    Adds a disk-based StreamingDiskANN index and binary quantization on pgvector's types, for tens of millions of vectors without RAM-bound HNSW.

  • VectorChord

    RaBitQ-quantized index aimed at hundreds of millions of vectors in Postgres, but AGPL or Elastic licensed versus pgvector's permissive license.

  • Qdrant

    Dedicated vector server with payload filtering during search and REST and gRPC APIs; one more system to run and keep in sync with your relational data.

  • sqlite-vec

    Same keep-it-in-your-SQL-database idea for SQLite and WASM; zero dependencies, but exhaustive scans only and still pre-v1.

Reviews (0)

Leave a Review

No reviews yet. Be the first to review!

Details

Price
Free
Platform
Local/Desktop
Difficulty
Easy (2/5)
License
PostgreSQL
Added
Apr 3, 2026

Tags