MyVector · vsql_vector · pgvector · MariaDB — fashion-mnist-784, full metrics · generated 2026-11-03 10:31:12 UTC
★ fair same-host (optimized) · MySQL versions (8.4/9.7/26.10) · real-dataset by version · village (recall/QPS) · 8.4 family · 9.7 family
MyVector's native HNSW vector search for MySQL, head-to-head with VillageSQL's vsql_vector, pgvector, and MariaDB's native vector index on a real dataset (fashion-mnist-784-euclidean, 60k × 784, L2) with the dataset's published ground truth and full metrics (build, insert, exact-KNN, ANN p50/p99, recall@10). This is the 9.7-base cross-engine view; see the 8.4 / 9.7 family pages for per-base detail, MySQL versions for MyVector across 8.4/9.7/26.10, and village for the same four engines through VillageSQL's neutral vector-dev-bench harness.
| Metric | MyVector · MySQL 9.7 | vsql_vector · VillageSQL 9.7 | pgvector · Postgres 17 | MariaDB 12.3 · MHNSW |
|---|---|---|---|---|
| Index build (s) | 83.1 | 85.3 | 71.6 | 245.5 |
| Insert QPS | 1,164 | 1,441 | 1,292 | 244 |
| Exact KNN QPS | 0 | 10 | 4 | 0 |
| KNN p50 (ms) | 3,633.9 | 97.9 | 222.0 | 4,930.9 |
| KNN p99 (ms) | 4,229.2 | 105.3 | 245.7 | 5,353.3 |
| ANN QPS | 355 | 399 | 418 | 585 |
| ANN p50 (ms) | 2.8 | 2.4 | 2.3 | 1.6 |
| ANN p99 (ms) | 3.4 | 3.8 | 3.7 | 3.3 |
| Recall@10 | 0.999 | 0.999 | 0.999 | 1.000 |
| Recall@10 | MyVector · MySQL 9.7 | vsql_vector · VillageSQL 9.7 | pgvector · Postgres 17 | MariaDB 12.3 · MHNSW |
|---|---|---|---|---|
| recall 0.98 | 548 | 1,178 | 1,358 | — |
| recall 0.99 | 514 | 1,058 | 1,215 | — |
| recall 0.995 | 497 | 900 | 1,027 | — |
| recall 0.999 | 355 | 506 | 538 | 1,263 |
fashion-mnist-784-euclidean (60k train × 784-d, 10k test, L2). HNSW M=16, ef_construction=200 for MyVector/vsql_vector/pgvector; MariaDB's MHNSW fixes ef_construction at 10 internally. MariaDB also floors mhnsw_ef_search to ~2×M (≈32), so an ef_search=10 request is not a valid operating point for it — that point is omitted from MariaDB's plotted curve (its measured value is kept in the result JSON under ef_search_excluded for transparency). Every other engine applies no such floor, so their ef_search=10 points are plotted as-is.