MyVector · vsql_vector · pgvector · MariaDB — fashion-mnist-784, published ground truth · generated 2026-11-06 19:09:18 UTC
cross-engine (full metrics) · 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 · current main (PR #278 + #280) | vsql_vector · VillageSQL | pgvector · Postgres 17 | MariaDB 12.3 · MHNSW |
|---|---|---|---|---|
| Index build (s) | 134.8 | 406.6 | 384.2 | 165.7 |
| ANN QPS | 343 | 246 | 209 | 383 |
| Recall@10 | 1.000 | 1.000 | 1.000 | 1.000 |
| Recall@10 | MyVector · MySQL 8.4 · current main (PR #278 + #280) | vsql_vector · VillageSQL | pgvector · Postgres 17 | MariaDB 12.3 · MHNSW |
|---|---|---|---|---|
| recall 0.98 | 596 | 927 | 763 | — |
| recall 0.99 | 579 | 795 | 663 | — |
| recall 0.995 | 533 | 653 | 541 | — |
| recall 0.999 | 446 | 395 | 342 | — |
main (PR #278 + #280), re-measured through this neutral harness 2026-11-10: the current-main build, re-run via VillageSQL’s own recall_bench (not MyVector’s harness) on A2. PR #280 (ANN-rewrite overhead removed) lifts QPS +26% at ef=10 (486→613) at unchanged recall (0.9705), on top of #278’s recall-per-ef gains; the other engines are unaffected by #280. That the gains reproduce in a third-party harness is the point — it’s not an artifact of MyVector’s own measurement. (Both are merged to main.)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 “—” here — those metrics (insert QPS, exact brute-force KNN p50/p99) are measured by MyVector's own harness and shown on the glove and real-dataset pages. They're intentionally left off this page to keep every engine on the same neutral harness.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.