Home / Companies / Neon / Blog / Post Details
Content Deep Dive

On-disk HNSW index for Postgres with pg_embedding

Blog post from Neon

Post Details
Company
Date Published
Author
Mahmoud Abdelwahab
Word Count
892
Company Posts That Month
10
Language
English
Hacker News Points
63
Post removed?
No
Summary

pg_embedding is a Postgres extension that provides Hierarchical Navigable Small Worlds (HNSW) indexes for vector similarity search, significantly improving query performance compared to traditional IVFFlat indexing. The latest version of pg_embedding now supports on-disk HNSW index construction, cosine similarity, Manhattan distance, and Euclidean distance, enabling faster queries and reduced storage requirements. This new release allows users to take full advantage of Neon features, including autoscaling, scaling to zero, read replicas, and serverless architecture, making it ideal for building scalable AI and LLM applications. By persisting the index on disk, users can sacrifice some performance but gain scalability and flexibility, while leveraging read replicas and the Neon serverless driver to reduce query latencies and costs.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Vector Search 8 1,743 241 77 +53%
LLM 5 2,871 337 112 +58%
Serverless 4 871 158 76 -4%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.