pg_vectorsearch: 100M-vector search in Postgres at 4ms, open

The open PRISM index hits 95% recall where pgvector's HNSW needs 42h to build — but it's alpha, and filtered RAG queries can silently come up short.

Nowline OCT 15 12:00 AM banner

Top AI stories from the last hour

Top AI stories from the last hour

Copy markdown

  • A vector index that runs inside Postgres, not beside it

    PRISM hits 95% recall@10 at 4ms on 100M Cohere vectors and builds in 49 minutes, where pgvector's HNSW took 42 hours and never reached a usable 99%; the index is 25GB vs HNSW's 180GB. Build it directly on your existing vector/halfvec columns with queries unchanged — production-scale RAG without standing up a separate vector DB. Needs Postgres 18+, PostgreSQL License.

  • The catch: it's alpha, and filtered queries can come up short

    A WHERE tenant_id = 7 ... LIMIT 10 can silently return fewer than 10 rows (issue #188) because filtered streaming search isn't in yet — and per-tenant filters are the exact RAG shape you'd use it for. Heavy churn also drifts recall until you run prism_rebalance or REINDEX. Validate filtered results against brute force before trusting it in multi-tenant prod.

  • pgvectorscale is now the old way

    Timescale is moving its older StreamingDiskANN extension, pgvectorscale, into maintenance mode, with PRISM as the successor and a migration guide in the README. If you're running pgvectorscale today, start planning the swap instead of building new work on it.