Vector Search in Modern Databases
summary
Databases add vector storage because exact keyword search fails for images, embeddings and ambiguous language; first vector features appear around 2019 and some vendors add them only in cloud editions (MySQL HeatWave), while newer offerings like PlanetScale and Elasticsearch tout vector support. Practical stack items: pgvector plus model-bridging extensions (pg_vectorize) and ANN indexes such as HNSW, KD-trees and LSH. Demos include a GitHub-issues clustering that surfaces memory-leak–related reports and an image search using Microsoft TinyCLIP with embeddings of hundreds+ dimensions; ANN yields approximate nearest neighbors to trade accuracy for speed.
AI-written summary · about
chapters (19)
- 0:00Introduction to vector search
- 1:01Why vector search matters
- 2:08Vector storage in databases
- 5:04Understanding vectors in AI
- 7:52Vector similarity methods
- 10:20Sparse vs dense vectors
- 13:16Embeddings explained
- 16:07Why databases need vector search
- 19:01Approximate nearest neighbor search
- 20:07Vector search in GitHub issues
- 21:29Machine learning with vectors
- 22:36Vector search in PostgreSQL
- 23:59PostgreSQL vector search demo
- 25:45Disadvantages of vector search
- 26:51Hybrid search solutions
- 28:16Image search demo
- 28:58Future of databases with AI
- 31:05Vector search revolutionizing data
- 33:11When to use vector search
