MyVector — cross-version benchmark
MySQL 8.4 vs 9.7 vs 26.7 · HNSW vector search · generated 2026-10-10 11:17:13 UTC
MySQL 8.4 · aarch64 · myvector-mysql84 · Ampere A2MySQL 9.7 · aarch64 · myvector-dev · Ampere A1MySQL 26.7 · aarch64 · myvector-dev · Ampere A1
MySQL 8.4
Index build114.6s
Insert QPS3,315
ANN QPS303
Recall@100.820
MySQL 9.7
Index build56.7s
Insert QPS3,709
ANN QPS548
Recall@100.820
MySQL 26.7
Index build57.0s
Insert QPS3,711
ANN QPS529
Recall@100.820
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 | MySQL 8.4 | MySQL 9.7 | MySQL 26.7 |
|---|
| Index build (s) | 114.6 | 56.7 | 57.0 |
| Insert QPS | 3,315 | 3,709 | 3,711 |
| Exact KNN QPS | 1 | 1 | 1 |
| KNN p50 (ms) | 774.6 | 714.8 | 713.4 |
| KNN p99 (ms) | 782.1 | 722.4 | 721.8 |
| ANN QPS | 303 | 548 | 529 |
| ANN p50 (ms) | 3.2 | 1.8 | 1.8 |
| ANN p99 (ms) | 4.5 | 2.1 | 2.1 |
| Recall@10 | 0.820 | 0.820 | 0.820 |
Accuracy / throughput tradeoff (ef_search sweep)
each point is an ef_search value; up-and-right is better
Raw results: MySQL 8.4 JSON · MySQL 9.7 JSON · MySQL 26.7 JSON