MyVector 8.4 · vsql_vector (VillageSQL 8.4) · pgvector · MariaDB — fashion-mnist-784 · generated 2026-11-03 10:31:12 UTC
9.7 family → · real-dataset (MySQL versions) · village (recall/QPS) · cross-engine · MySQL versions
The MySQL 8.4 family of the full-metric cross-engine comparison, measured through MyVector's own harness (so insert throughput, exact-KNN, and ANN p50/p99 are all here, unlike the village recall/QPS view). MyVector and VillageSQL's vsql_vector each have an 8.4 and a 9.7 build; this page is their 8.4 builds, with pgvector and MariaDB as fixed anchors. The 9.7 family is the companion page.
| Metric | MyVector · MySQL 8.4 | vsql_vector · VillageSQL 8.4 | pgvector · Postgres 17 | MariaDB 12.3 · MHNSW |
|---|---|---|---|---|
| Index build (s) | 82.5 | 87.1 | 71.6 | 245.5 |
| Insert QPS | 1,162 | 1,447 | 1,292 | 244 |
| Exact KNN QPS | 0 | 10 | 4 | 0 |
| KNN p50 (ms) | 3,991.4 | 95.6 | 222.0 | 4,930.9 |
| KNN p99 (ms) | 4,435.4 | 104.5 | 245.7 | 5,353.3 |
| ANN QPS | 349 | 389 | 418 | 585 |
| ANN p50 (ms) | 2.8 | 2.5 | 2.3 | 1.6 |
| ANN p99 (ms) | 3.5 | 3.8 | 3.7 | 3.3 |
| Recall@10 | 0.999 | 0.999 | 0.999 | 1.000 |
| Recall@10 | MyVector · MySQL 8.4 | vsql_vector · VillageSQL 8.4 | pgvector · Postgres 17 | MariaDB 12.3 · MHNSW |
|---|---|---|---|---|
| recall 0.98 | 544 | 1,136 | 1,358 | — |
| recall 0.99 | 508 | 1,029 | 1,215 | — |
| recall 0.995 | 489 | 875 | 1,027 | — |
| recall 0.999 | 349 | 490 | 538 | 1,263 |
fashion-mnist-784-euclidean (60k train × 784-d, 10k test, L2). HNSW M=16, ef_construction=200 for MyVector/vsql_vector/pgvector; MariaDB's MHNSW fixes ef_construction at 10 internally. MariaDB also floors mhnsw_ef_search to ~2×M (≈32), so an ef_search=10 request is not a valid operating point for it (it mis-measures low — QPS below the ef=20 point despite less work); that point is omitted from MariaDB's plotted curve (measured value kept in the result JSON under ef_search_excluded). Every other engine applies no such floor, so their ef_search=10 points are plotted as-is.shared_buffers 2 GB; MariaDB mhnsw_max_cache_size 1 GiB). Headline cards are the warm ef_search=200 point.