pgvector

Tool · Text & code

A PostgreSQL extension that stores embeddings in table columns and finds the nearest vectors by similarity, inside your existing database.

unproven

Established Postgres vector extension; the only criticism here comes from a rival's benchmark

Latest · Nov 29Applies filters after retrieving nearest neighbors, so highly selective filters can return fewer rows than requested or need extra scans that add latency.

AccessOpen codePricefreeRuns onWindows, macOS, LinuxLicensePostgreSQL License

Why we say so

Renato Losio of InfoQ describes how it applies filters after retrieving nearest neighbors, so highly selective filters can return fewer rows than requested or need extra scans that add latency. The numbers against it come from Pinecone, a competitor, comparing it with its own product. No independent test of pgvector itself is in the evidence.

Cost to run

Alternatives

pg_pineconeFilters during search; with 10% of rows matching it reached 1.000 recall in 12.3 ms, versus 0.920 recall at best in 5.9 ms for pgvector HNSW with iterative scans.
Works with
Made for pgvector