~/talk

Vector search is now boring, but PostgreSQL has ways to go

Talkat PGConf.dev 2025 · 2025-05-13..05-16· [databases, machine-learning]
links:none on file
slides:none on file

pgvector extension adds a vector type and custom indexes and yields up to ~150x faster index builds compared to earlier versions, making HNSW defaults work for many workloads. High‑dim embeddings (e.g. 1,500 dims ≈ 6 KB) collide with PostgreSQL’s 8 KB page size, forcing TOAST, hurting performance; vacuum and index rebuilds are costly. PG vector adds iterative scans, cost estimation and partial/compound indexes; Postgres 17/18 async/direct IO and parallel index builds cut hours to minutes, but page sizing, I/O patterns and hot‑path TOAST remain limits.

AI-written summary · about

  1. 0:00Introduction and context
  2. 2:04How vector search works
  3. 6:21Challenges of vector search
  4. 12:05Growth of the pgvector extension
  5. 13:51Why vector search is boring
  6. 17:05Deep dive into HNSW
  7. 24:06Strategies for filtering
  8. 35:26Storage and memory management
  9. 46:57Hardware acceleration and future
~/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.