~/talk

Bringing Vector Search to OLTP

Talkat Percona Live 2026 Bay Area · 2026-05-27..05-29· [databases, machine-learning]
name:Shu Zhou
links:none on file
slides:none on file

Cloud SQL for MySQL adds built‑in vector search that generates embeddings by calling external models (ChatGPT, Anthropic, Vertex AI/Gemini), stores them as native vector/blob types, and builds an on‑disk index using the SCAN index — a K-means partition tree with quantization — pinned to memory but evictable. Search uses SQL extensions like approximate distance and a pushdown/cached hybrid loop for relational filters. Two‑level trees hold ~10 million vectors; tests show billions per instance with ~95% recall, full MVCC and crash safety.

AI-written summary · about

  1. 0:00Vector search in Cloud SQL
  2. 1:09Embedding lifecycle in OLTP
  3. 2:32Embeddings from SQL
  4. 6:01SCAN index for vectors
  5. 14:34Vector search in SQL
  6. 22:04Monitoring vector indexes
  7. 24:32Vector search features
  8. 25:57Resources to try
  9. 27:11Q&A on hybrid search
~/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.