~/talk

PostgreSQL for AI. Real Vector Search in PostgreSQL

Talkat FOSSASIA PGDay 2025 · on Friday, 2025-03-14· at 11:30· Hall 2· [databases, machine-learning]
links:none on file
slides:none on file

PostgreSQL plus PGVector now hits production-scale vector search: benchmarks report 6–16× speedups and ~75% lower cost versus 2023 results, and a 2025 test on 100M vectors reaches ~10,000 q/s on 100 CPUs with INF + bit quantization. PGVector exposes HNSW and flat indexes with tunable M and EF affecting build time, index size and recall. Reducing floats to float2 halves storage; 1-bit quantization cuts index size ~20× and, with a two‑step search, keeps reasonable accuracy for >1k‑dim vectors. Filters break naive NN; use partial indexes, streaming scans or multicol vector index for correlated/selective predicates.

AI-written summary · about

  1. 0:00Introduction to talk
  2. 1:04PostgreSQL and PG Vector growth
  3. 3:38What are vectors in AI
  4. 8:20PG Vector indexes overview
  5. 13:36Vector search in PostgreSQL
  6. 16:58Vector size reduction techniques
  7. 23:46Filtering with vector queries
  8. 28:27Solutions for low selectivity
  9. 32:47PostgreSQL advantages for vectors
  10. 34:34Q&A session
~/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.