3 points · by deesix · 2mo ago · 1 comment
CREATE TABLE demo_vectors ( id INT PRIMARY KEY, embedding SVECTOR(3) NOT NULL, INDEX idx_embedding (embedding hnsw_l2) USING EXTENDED(hnsw) ) ENGINE=InnoDB;
Vector search in MySQL: an early look at HNSW and custom indexes in VillageSQL
An early look at custom indexes and vector search in MySQL (VillageSQL): HNSW index, 20x faster than a full scan, with recall measured.
The Village Crier