pg_vectorsearch
github.com/timescale/pg_vectorsearch- Category
- Developer Tools
- Rank
- No. 3667Tools index
- Pricing
- Open Source
- Type
- TOOL
- Use case
- Data, Retrieval & Knowledge
- Interfaces
- Host Plugin
- GitHub
- 456 stars
- Latest release
- v0.2.0
- Date
About
pg_vectorsearch is a PostgreSQL extension for approximate nearest neighbor search built around the PRISM index, an IVF-style index with hierarchical routing and RaBitQ quantization. It supports inserts, updates and deletes and can index existing pgvector vector and halfvec columns. The authors report it is faster than pgvector's IVFFlat and HNSW, and it is currently alpha.
At a glance
pg_vectorsearch adds the PRISM approximate nearest-neighbor index to PostgreSQL. It is worth benchmarking on a staging copy when vector search is hitting memory or latency limits and you can measure how many true neighbors are missed.
Good fit
PostgreSQL teams with a representative embedding workload and a known exact-search baseline.
Consider something else when
Skip it for a production rollout while it is in alpha, or if filtered queries must always return the requested number of eligible results.
Start here
Build a PRISM index on a populated staging table. Compare its results with exact top-k search on the same queries, including the restrictive filters you use in production. Record recall and latency together.
Cost and requirements
The source build requires PostgreSQL 18 or later with development headers. It uses the PostgreSQL License. PRISM can index existing pgvector columns or use the extension’s own vector types.
Limits to know
PRISM routes to clusters, scores compressed vectors and reranks selected candidates using the original values in PostgreSQL. The alpha changelog documents short result sets after filtering, recall drift under heavy updates and index space that requires a rebuild to reclaim.
Sources checked 2026-11-05. Source-based assessment.
Similar tools
Tags
Editorially curated, with community endorsements as a secondary signal. Corrections welcome.