pgvector
Open-source vector similarity search extension for PostgreSQL.
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.
Reviews (0)
Leave a Review
No reviews yet. Be the first to review!
Details
- Category
- Vector Databases & Embeddings
- Price
- Free
- Platform
- Local/Desktop
- Difficulty
- Easy (2/5)
- License
- PostgreSQL
- Added
- Apr 3, 2026
Related Tools
Fast embedding inference server supporting many embedding models.
All-in-one embeddings database for semantic search, LLM orchestration, and language model workflows.
Library for representing and sending multimodal data by Jina AI.
Python client library for Qdrant vector database.
End-to-end vector search engine with built-in model inference.
Efficient similarity search library by Meta for dense vector clustering and retrieval.