mydba.dev

Scaling pgvector: Memory, Quantization, and Index Build Strategies (opens in new tab)

Discussed on DEV

<h1> Scaling pgvector: Memory, Quantization, and Index Build Strategies </h1> <p>pgvector handles small-scale vector search effortlessly. A few hundred thousand embeddings with an HNSW index, and similarity queries return in milliseconds. But once you push past a million vectors, three problems converge -- and if you haven't planned for them, they hit at the same time.</p> <h2> Three Walls at Scale </h2> <h3> Wall 1: HNSW Index Builds Need Massive Memory </h3> <p>B...

Read the original article
Sign in to keep reading the full article.

Keyboard Shortcuts

Navigation

Next / previous post
j/k
Open post
oorEnter
Preview post
v

Post Actions

Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Save / unsave
s

Recommendations

Add interest / feed
Enter
Not interested
x

Go to

Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Discover
gb
Search
/

General

Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help