~/talk

Hacking pgvector for performance

links:none on file
slides:none on file

Modified pgvector keeps the vector index in persistent external memory via a background worker and replaces Postgres page/tuple handling with plain arrays, removing buffer and tuple-sort overhead and giving ~2–2.5× speedup. Pushing the distance filter into the index scan (push filters into index scan) cuts a 500 ms filtered query to ~20 ms; moving distance compute to GPU (GPU offload) drops that to ~2–3 ms (up to ~200× vs baseline). Proof‑of‑concept code is on GitHub.

AI-written summary · about

  1. 0:00Introduction and background
  2. 7:32Motivation for vector search
  3. 19:14Postgres and pgvector basics
  4. 24:52Hacking pgvector for performance
  5. 33:42Pushing down filters and limits
  6. 38:12General remarks and future work
  7. 43:07Q&A
~/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.