~/talk

Supercharging GenAI PostgreSQL Vector Search Optimization

Talkat PGConf India 2025 · 2025-03-05..03-07· [databases, machine-learning]
links:none on file
slides:none on file

Practical PostgreSQL PGVector tuning for cheaper RAG: recommends starting IVF_FLAT cluster count near the square root of 10k embeddings (≈100) then adjust for accuracy, and tuning list at index build; for graph indexes tune M and construction neighbors and use ef_search at query time. Use LIMIT, FORCE INDEX SCAN, or a distance threshold like distance < 0.3 to cut candidates, and apply categorical prefilters (hybrid search) and choose cosine vs Euclidean per application to reduce memory and latency.

AI-written summary · about

~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.