r/PostgreSQL • u/nilukush • 5d ago
Tools Tiger Data announced pg_vectorsearch: Scalable Open-Source Vector Search in PostgreSQL
https://www.tigerdata.com/blog/announcing-pg_vectorsearch-scalable-open-source-vector-search-postgresqlTiger Data has released pg_vectorsearch, an open source PostgreSQL extension for vector similarity search, currently in alpha. Its PRISM index uses data partitioning and compression instead of the graph-based approach used by pgvector’s HNSW index, reducing memory requirements and index build times.
According to the authors, pg_vectorsearch enables faster, more memory-efficient vector search directly in PostgreSQL, reducing the infrastructure required to handle large vector datasets. The extension supports existing pgvector columns, allowing applications to perform vector search without a separate database. To use the new capabilities, developers must install the extension and create a PRISM index on the vector column:
CREATE EXTENSION pg_vectorsearch;
documents USING prism (embedding vec32_l2_ops);
In Tiger Data’s own benchmarks using 100 million vectors, PRISM built an index in 1 hour and 40 minutes on a machine with 128 GB of memory, while HNSW (Hierarchical Navigable Small World) took 42 hours on a machine with 512 GB of memory. Formerly known as Timescale, Tiger Data is the company behind TimescaleDB, the open source PostgreSQL extension for time-series data and real-time analytics.
5
u/kabooozie 5d ago
Didn’t Pinecone also release a postgres extension for vector search? Can someone more knowledgeable here contextualize what it means to have all these vector search extensions and the implications for these vendors?
2
u/c-digs 5d ago
What's the roadmap look like for getting this into managed providers like Azure, AWS, GCP? Any work stream with those teams?
Will that end up dual licensed if it happens?
1
u/Discordbothost 3d ago
For a workload that always filters on tenant_id, I'd benchmark an exact scan over each tenant's rows too. That gives you the ground truth for recall@10 and a realistic baseline when a tenant only has a few hundred vectors. I'd want to see p95 latency for small and large tenants separately before choosing an index.
0
u/AutoModerator 5d ago
AI Policy:
Linux is not one of those anti-AI projects, and if somebody has issues with that, they can do the open-source thing and fork it. Or just walk away., Linus Torvalds.
Mod decisions will be based on the quality of the content, not who or what generated it.
Sub Resources:
Youtube Channel
Free Postgres Webinars and Workshops
Discord: People, Postgres, Data
Join us, we have cookies and nice people.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.