9.7 family — full-metric cross-engine
MyVector 9.7 · vsql_vector (VillageSQL 9.7) · pgvector · MariaDB — fashion-mnist-784 · generated 2026-11-10 18:19:03 UTC
← 8.4 family · real-dataset (MySQL versions) · village (recall/QPS) · cross-engine
Controlled same-host 4-way, re-run 2026-11-10: current-main MyVector (MySQL 9.7, PR #278 + #280) vs vsql_vector, pgvector (Postgres 17) and MariaDB 12.3 — all on one A1 host, each pinned to the same cores with its working set cached above the ~188 MB index, run one-at-a-time, on fashion-mnist-784 vs published ground truth. At matched recall@10 MyVector leads ~2–3×. The pgvector/vsql/MariaDB baselines are the same controlled measurements as the /fair/ page — only MyVector’s MySQL version differs here.
MyVector · MySQL 9.7 · current main (#278+#280) · aarch64 · A1 (Ampere) · cores 12-15 · cache-parity · controlled re-run 2026-11-10vsql_vector · VillageSQL · aarch64 · A1 (Ampere) · cores 12-15 · cache-parity · controlled re-run 2026-11-10pgvector · Postgres 17 · aarch64 · A1 (Ampere) · cores 12-15 · cache-parity · controlled re-run 2026-11-10MariaDB 12.3 · aarch64 · A1 (Ampere) · cores 12-15 · cache-parity · controlled re-run 2026-11-10
MyVector · MySQL 9.7 · current main (#278+#280)
Index build68.3s
Insert QPS1,140
ANN QPS1,468
Recall@101.000
vsql_vector · VillageSQL
Index build164.0s
Insert QPS1,434
ANN QPS382
Recall@100.999
pgvector · Postgres 17
Index build74.3s
Insert QPS1,282
ANN QPS384
Recall@100.999
MariaDB 12.3
Index build209.1s
Insert QPS287
ANN QPS600
Recall@101.000
Head-to-head (normalized — taller is better on every metric)
each metric scaled to the best performer = 100%; build time & ANN latency inverted so taller always means better
Full metrics
| Metric | MyVector · MySQL 9.7 · current main (#278+#280) | vsql_vector · VillageSQL | pgvector · Postgres 17 | MariaDB 12.3 |
|---|
| Index build (s) | 68.3 | 164.0 | 74.3 | 209.1 |
| Insert QPS | 1,140 | 1,434 | 1,282 | 287 |
| Exact KNN QPS | 0 | 10 | 5 | 0 |
| KNN p50 (ms) | 3,660.8 | 96.5 | 214.0 | 4,529.3 |
| KNN p99 (ms) | 5,923.5 | 104.7 | 240.1 | 5,033.0 |
| ANN QPS | 1,468 | 382 | 384 | 600 |
| ANN p50 (ms) | 1.7 | 2.5 | 2.5 | 1.5 |
| ANN p99 (ms) | 2.2 | 4.0 | 4.0 | 3.2 |
| Recall@10 | 1.000 | 0.999 | 0.999 | 1.000 |
Accuracy / throughput tradeoff (ef_search sweep)
each point is an ef_search value; up-and-right is better
QPS at matched recall@10
the honest read of the sweep: at a target recall, who serves the most queries/sec? interpolated from each engine's own curve; bold = fastest at that recall, higher is better. — = that engine's index can't be tuned to this recall (e.g. a graph that saturates near 1.0 can't operate lower).
| Recall@10 | MyVector · MySQL 9.7 · current main (#278+#280) | vsql_vector · VillageSQL | pgvector · Postgres 17 | MariaDB 12.3 |
|---|
| recall 0.98 | 2,628 | 1,114 | 1,285 | — |
| recall 0.99 | 2,556 | 1,018 | 1,155 | — |
| recall 0.995 | 2,392 | 876 | 978 | — |
| recall 0.999 | 2,109 | 481 | 506 | 1,233 |
Notes & caveats
- Fresh controlled re-run (2026-11-10) — supersedes the earlier numbers on this page, which showed MyVector’s scalar build (pre-#278, recall 0.934 at ef=10) measured under host load. Now: current
main (#278 vectorized kernels + keepPrunedConnections, #280 ANN-rewrite overhead removed), all engines pinned to the same cores, each cache-sized above the index, run sequentially. - The honest read (matched recall@10): MyVector (MySQL 9.7) serves the most QPS at every matched-recall point (~2.7k vs pgvector ~1.3k / vsql ~1.2k at recall 0.975). The old “MyVector trails” was the scalar, pre-#280 build under load; #278 fixed recall-per-ef and #280 removed the per-query overhead. Residual engine overhead (JSON_TABLE round-trip) is designed out in RFC-006.
- Cache parity: MyVector holds its HNSW graph in its own memory; pgvector
shared_buffers=2 GB; vsql InnoDB pool 4 GB; MariaDB InnoDB pool 2 GB + mhnsw_max_cache_size=1 GiB. All pinned to cores 12–15 and run one-at-a-time. - Dataset / params: fashion-mnist-784-euclidean (60k×784, L2), HNSW M=16, ef_construction=200 (MariaDB fixes it at 10). Recall@10 vs published neighbors. 500 queries/point; headline cards = warm ef_search=200.
- Honest limits: same-host run on a shared A1 box (controlled via core-pinning + cache-parity + sequential runs, not a dedicated quiet machine); each engine uses its own server-side-timed harness. Method disclosed — read ~2–3× as ‘clearly ahead’, not a precise ratio.