Menu

1 / 2

pgvector vs MySQL VECTOR vs SQL Server VECTOR: Where Embeddings Can Be Searched, Not Just Stored

DEV Community: mysql·Son Tran·10 days ago
#lXUaevz6
#devtomysql#devto#dev#vector#index
Long article (1478 words) — no AI summary yet.
Reading 0:00
15s threshold

Disclosure: I build Schemity , a desktop ERD tool - this post is from our blog and uses it for the examples.

TL;DR: All three store a 1,536-dimension embedding, but only pgvector served a nearest-neighbour search from an index that still took writes. MySQL 9.7 Community refuses any index on a VECTOR column and has no distance function, so the search happens outside the database. SQL Server 2025 computes exact distances, and its approximate vector index is a preview that, on the build we ran, made the table refuse every write.

Only pgvector gave us an approximate nearest-neighbour index on embeddings that served the search and still accepted writes; MySQL 9.7 Community stores vectors but cannot index them or compute a distance between them, and SQL Server 2025 computes exact distances but made an indexed table read-only on the build we tested.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.