MyVector · vsql_vector · pgvector · MariaDB — fashion-mnist-784, published ground truth · generated 2026-11-06 19:09:18 UTC
cross-engine (full metrics) · MySQL versions · real-dataset by version
A cross-engine comparison run through a neutral third-party harness — VillageSQL's vector-dev-bench (the MyVector profile is upstream PR #14). Same real dataset (fashion-mnist-784-euclidean, 60k × 784, L2) and published exact ground truth drive all three engines; this answers "how does MyVector's HNSW compare to VillageSQL's own vsql_vector, pgvector, and MariaDB's native vector indexes on the same workload and harness?" (The other pages compare MyVector across MySQL versions.)
| Metric | MyVector · MySQL 8.4 (PR #278: NEON+keepPruned) | vsql_vector · VillageSQL | pgvector · Postgres 17 | MariaDB 12.3 · MHNSW |
|---|---|---|---|---|
| Index build (s) | 155.8 | 406.6 | 384.2 | 165.7 |
| ANN QPS | 296 | 246 | 209 | 383 |
| Recall@10 | 1.000 | 1.000 | 1.000 | 1.000 |
| Recall@10 | MyVector · MySQL 8.4 (PR #278: NEON+keepPruned) | vsql_vector · VillageSQL | pgvector · Postgres 17 | MariaDB 12.3 · MHNSW |
|---|---|---|---|---|
| recall 0.98 | 484 | 927 | 763 | — |
| recall 0.99 | 483 | 795 | 663 | — |
| recall 0.995 | 451 | 653 | 541 | — |
| recall 0.999 | 388 | 395 | 342 | — |
recall_bench (not MyVector's harness) on the same A2 container. Versus the prior scalar build it lifts recall-per-ef (ef=10 0.944→0.971, ef=20 0.983→0.991 — from keepPrunedConnections densifying the graph) and QPS (+12% at ef=50, +37% at ef=800 — from the vectorized L2 kernel). That the gain reproduces in a third-party harness is the point: it's not an artifact of MyVector's own measurement. (Unmerged, so main is still scalar.)vector-dev-bench recall_bench.py — one PyMySQL/psql path, numpy ground truth. The MyVector engine profile is upstream PR #14. It reports build time + a recall@10/QPS ef_search sweep; insert and exact-KNN columns aren't produced by this harness, so they show “—”.fashion-mnist-784-euclidean (60k train × 784-d, 10k test, L2) with recall@10 scored against the dataset's published exact neighbors (ann-benchmarks methodology).mhnsw_ef_search to ~2×M (≈32), so an ef_search=10 request is not a valid operating point (QPS below the ef=20 point despite less work); that point is omitted from MariaDB's plotted curve (kept in the result JSON under ef_search_excluded). The other engines apply no such floor, so their ef=10 points are plotted as-is.mhnsw_max_cache_size=1 GiB; pgvector shared_buffers=2 GB.