pgvector in PostgreSQL
A PostgreSQL extension adding vector types with exact and approximate (HNSW, IVFFlat) search.
Strengths
- Vectors update in the same transaction as the rows they describe.[1] pgvector: open-source vector similarity search for Postgres, Primary, Not yet verified by an editor
- Joins and WHERE clauses on metadata use ordinary SQL.
- No new system for a team that already runs PostgreSQL.
Weaknesses
- Index memory and build time land on the database that also serves the application.
Choose it when
- Index fits in memory on a dedicated replica; filters are not extremely selective.
Limitations
- Filtered approximate search needs tuning to keep recall.