MyVector — MySQL version comparison

MySQL 8.4 vs 9.7 vs 26.10 · HNSW vector search (synthetic 50k×128) · generated 2026-11-02 12:14:18 UTC

← cross-engine (MyVector vs vsql_vector vs pgvector vs MariaDB) · real-dataset →

A comparison of MyVector's native HNSW vector search across three MySQL versions (plus MariaDB's native vector as a cross-engine reference) — same data and index parameters, each pinned to an identical 4 vCPU / 24 GB slice (hardware noted below). It measures index build time, insert throughput, exact KNN, approximate (ANN) QPS and latency, recall@10, and the accuracy/throughput tradeoff as ef_search varies.

MySQL 8.4 · aarch64 · myvector-dev · Ampere A1MySQL 9.7 · aarch64 · myvector-dev · Ampere A1MySQL 26.10 · aarch64 · myvector-dev (A1 16/96)MariaDB 12.3.3 · aarch64 · myvector-dev · Ampere A1

MySQL 8.4

Index build54.9s
Insert QPS3,670
ANN QPS543
Recall@100.820

MySQL 9.7

Index build56.7s
Insert QPS3,709
ANN QPS548
Recall@100.820

MySQL 26.10

Index build57.9s
Insert QPS3,673
ANN QPS554
Recall@100.820

MariaDB 12.3.3

Index build92.3s
Insert QPS542
ANN QPS257
Recall@100.948

Full metrics

MetricMySQL 8.4MySQL 9.7MySQL 26.10MariaDB 12.3.3
Index build (s)54.956.757.992.3
Insert QPS3,6703,7093,673542
Exact KNN QPS11351
KNN p50 (ms)750.3714.828.1701.0
KNN p99 (ms)758.4722.430.4713.7
ANN QPS543548554257
ANN p50 (ms)1.81.81.72.9
ANN p99 (ms)2.12.12.020.5
Recall@100.8200.8200.8200.948

Notes & caveats