Skip to content

Benchmarks · Benchmark

Vector Database Benchmarks: How to Read the Numbers

AWS says OpenSearch searches a trillion vectors at p90 under 25 ms with recall above 90%. A six-field check for reading that claim, and any vector benchmark.

Pavel Holmgren · Nov 30, 2026 · 9 min read

Share

OpenSearch logo on a blue background with concentric lines
OpenSearch Software Foundation, OpenSearch feature image (opensearch.org og:image), accessed 30 Nov 2026. Source: https://opensearch.org/wp-content/uploads/2025/01/OpenSearch-Feature-Image.png
On this page

On Nov 29, 2026 AWS said Amazon OpenSearch Service can search trillion-scale vectors in one domain with p90 latency under 25 ms for hot data, recall above 90%, and more than 40x lower cost per vector than default settings (AWS announcement). Each of those three numbers is missing the field that decides what it means: recall at which k, latency on which tier and at what load, cost against which baseline.

Vector database benchmarks are easy to quote and hard to compare. This piece gives a six-field claim card for any vector search number, shows how the main public benchmarks fill those fields differently, applies the card to the AWS claim, and works out what a trillion vectors actually weighs.

Figures below come from the AWS announcement and quotas page, the OpenSearch documentation, and the ANN-Benchmarks, VIBE, Big-ANN and VectorDBBench repositories and sites, all checked on 30 Nov 2026. Metarix did not run any of these benchmarks. The storage figures are our arithmetic from published byte sizes.

Every vector search score is one point on a curve

Approximate nearest neighbour (ANN) indexes such as HNSW do not return the exact closest vectors. They return most of them, fast. A search-time setting (ef_search for HNSW, the number of probed lists for IVF) moves you along a trade-off: search more of the graph and recall rises, latency rises with it.

Recall is measured against ground truth from an exact, brute-force search over the same data. If the true 10 nearest neighbours of a query are known and the index returns 9 of them, recall@10 for that query is 0.9. The benchmark then averages over thousands of queries.

So a single pair such as "90% recall, 25 ms" is one setting on one curve. Turn the knob and the same system can report 98% recall at a higher latency, or 80% at a lower one. A number without its partner on the other axis tells you very little.

Latency percentiles matter as much. p50 is the median query. p90 means one query in ten is slower than the figure, and p99 means one in a hundred. For an agent that makes five retrieval calls per task, a p90 figure means roughly a 41% chance (1 - 0.9^5, if the calls are independent) that at least one call in the task lands in the slow tail. Our latency and throughput explainer covers the same percentile logic for model serving.

Four public benchmarks, four different questions

The best-known vector benchmarks do not measure the same thing, and one of them says outright that it does not benchmark vector databases or cloud services.

Scroll the table horizontally on smaller screens.

What the main public vector benchmarks measure, as documented on 30 Nov 2026
BenchmarkTestsScale and hardwareHeadline metricWatch for
ANN-BenchmarksIndex algorithms and libraries (Faiss, hnswlib, Annoy and others)Datasets that fit in RAM, such as glove-100 and sift-128; single CPU; results as of April 2025 on one r6i.16xlargeRecall vs queries per second, k = 10README says it is no longer actively maintained and points to VIBE
VIBEIndex algorithms on modern embedding datasets, in- and out-of-distributionSingle core on Intel Xeon Gold 6230; GPU methods on an NVIDIA V100Recall vs throughput trade-off curvesSays it does not aim to benchmark vector databases or cloud services
Big-ANN, NeurIPS'23 tracksFiltered, out-of-distribution, sparse and streaming searchAbout 10M points; normalised to Azure Standard D8lds v5 (8 vCPUs, 16 GB)QPS at 90% recallOngoing leaderboard last released 1 March 2024; each track has its own dataset
VectorDBBenchVector databases and cloud services, including filtered, streaming and multi-tenant cases768-dim cases at 1M, 10M and 100M vectors; 1,536-dim cases up to 5M; your own deploymentQPS, serial p99 latency, recall, load time; QP$ on a cost boardSponsored by Zilliz (Milvus); QPS is the highest seen across the concurrency levels tried
Sources: ANN-Benchmarks, VIBE, Big-ANN NeurIPS'23 and VectorDBBench documentation (linked under Sources), checked 30 Nov 2026. Scores from different rows are not comparable with each other.

Three details change how you read the results.

  • Single-core numbers are about the algorithm, not your cluster. ANN-Benchmarks and VIBE pin each run to one CPU core. That is the right design for comparing HNSW against IVF. It says nothing about network hops, shard fan-out or replicas in a managed service.
  • Big-ANN fixes recall and ranks speed. QPS at 90% recall is a cleaner single number than a free-floating QPS figure. But 90% is the bar there, and it may be below what your retrieval quality needs.
  • VectorDBBench's QPS is a best case. The README says the reported qps is the highest value observed across the configured concurrency levels, and serial latency and recall are measured with one query at a time. It also records worst-query recall (recall_min, and the 1st, 5th and 10th percentile), which is the field to read if a few bad queries hurt you.

Our guide to reading LLM leaderboards makes the same point for model scores. A board answers the question its authors chose, on their data and their hardware.

The six-field claim card

Before you copy a vector search number into a design doc, check that it fills six fields. If a field is empty, write "not stated" next to the number rather than guessing.

Six-field claim card for vector search benchmark numbers, with what the AWS OpenSearch trillion-scale announcement states for each field
The six fields, with what AWS's 29 Nov 2026 announcement states for each. Metarix editorial graphic built from benchmark documentation checked 30 Nov 2026.
  1. Dataset and dimensions. Which embedding model, how many dimensions, how many vectors. Also whether the queries come from the same distribution as the corpus; text queries against image embeddings (Big-ANN's out-of-distribution track) behave very differently from in-distribution queries.
  2. Recall definition. The k (10 and 100 are both common, and VectorDBBench's command line defaults to 100), the ground truth, and whether it is a mean or a worst case.
  3. Latency percentile and conditions. p50, p90 or p99; one query at a time or under concurrent load; hot cache or cold.
  4. Throughput and hardware. QPS at what concurrency, on how many nodes of which instance type. Without the hardware, QPS cannot be turned into cost.
  5. Workload shape. Metadata filters, deletes, streaming inserts and many tenants each move both recall and latency. A filter that keeps 1% of the corpus is a different test from one that keeps 99%, which is why VectorDBBench runs separate 1% and 99% filter-rate cases.
  6. Cost baseline. Per vector stored, per query, or per hour, and compared with which configuration.

The card applied to the OpenSearch trillion-scale claim

Here is what the AWS post states for each field. This is not a judgement that the figures are wrong. It is a list of what you cannot yet check.

Scroll the table horizontally on smaller screens.

AWS's 29 Nov 2026 OpenSearch vector claim, field by field
FieldWhat AWS statesWhat is missing
DatasetTrillion-scale vectors in a single domainEmbedding model, dimensions, query set
RecallAbove 90%The k, and mean or worst case
Latencyp90 under 25 ms for hot datap99; warm-tier latency; concurrency
Throughput and hardwareOpenSearch 3.9 with OI2 instancesQPS, node count, instance sizes
WorkloadWarm data stays searchable and writableFilters, update rate, tenant count
CostMore than 40x lower cost per vector than default settingsWhat "default settings" means
Source: AWS What's New post, 29 Nov 2026, checked 30 Nov 2026. These are vendor claims; AWS has not published a benchmark method alongside them.

Two rows matter most. The latency figure is for hot data only, and the post's pitch is that most of a trillion-vector corpus sits on the warm tier. So the number that describes most of your data is not given. The cost row compares against an undefined baseline, a gap also flagged in a Dev Community write-up published the day after.

The pieces AWS lists do suggest where the multiplier comes from. OpenSearch's binary quantization docs put 1-bit codes at 32x memory compression, half_float halves full-precision storage, and the disk-based search docs describe searching compressed codes in memory and rescoring candidates with full-precision vectors from disk. How those combine into "more than 40x" is not stated, so treat 40x as the vendor's figure for the vendor's test.

What a trillion vectors weighs

Storage is the one part of the claim you can check with arithmetic. Raw vector size is vectors x dimensions x bytes per dimension. Here it is for one trillion vectors, in decimal units (1 TB = 10^12 bytes).

Scroll the table horizontally on smaller screens.

Raw vector storage for 1 trillion vectors (Metarix arithmetic)
Dimensionsfloat32 (4 bytes)half_float (2 bytes)1-bit codes
7683,072 TB1,536 TB96 TB
1,5366,144 TB3,072 TB192 TB
Vectors only. Excludes the HNSW graph, metadata, source text, replicas and snapshots, which all add to the real footprint.

Now set that against the warm-tier ceiling on AWS's quotas page. An oi2.8xlarge.search node has 7,500 GB of local storage, 80% of it (6,000 GB) is cache, and it can address up to five times the cache: 30,000 GB.

  • 768-dimension half_float vectors (1,536 TB) need at least 52 of those nodes for the raw vectors alone.
  • The 1-bit codes for the same corpus (96 TB) fill the cache of 16 nodes.
  • At 1,536 dimensions, double both: at least 103 nodes for half_float vectors, 32 nodes of cache for the codes.

That fits the design AWS describes. The compact codes are small enough to keep in local cache for the first pass, and full-precision vectors are fetched only for rescoring. It also shows the scale gap: one billion 768-dimension half_float vectors is 1.5 TB, which fits within a single oi2.large.search node's 1,875 GB of addressable warm storage. Most teams are nowhere near the trillion mark, and the claim does not tell them what latency to expect at theirs.

How to benchmark on your own data

No public board replaces a run on your own embeddings. VectorDBBench accepts a custom dataset and stores run context with --note-file, which keeps the deployment details next to the result. A minimal method:

  1. Export 1M to 10M of your real vectors and 1,000 to 10,000 real queries, not synthetic ones.
  2. Compute exact top-k ground truth with a brute-force search over the same vectors. Pick k to match what your application retrieves.
  3. Sweep the search-time setting and record recall@k with p50 and p99 latency at each step. Plot the curve; do not keep one point.
  4. Repeat with the metadata filters production uses, and at your expected concurrency.
  5. For tiered storage, measure the first query after a cold start separately from warm repeats.
  6. Convert QPS and node count into cost per million queries at the recall you need.

One caution: recall here is agreement with exact search over your embeddings. It does not tell you whether those embeddings retrieve the right passage. That depends on the embedding model, which our MTEB leaderboard explainer covers, and on your own retrieval evaluation.

What these scores do not tell you

  • Whether the embedding model finds relevant documents. An index with 99% recall faithfully returns the neighbours of a poor embedding.
  • Operating cost beyond the benchmark window: reindexing after a model change, backups, replicas.
  • Tail behaviour under a noisy neighbour, a shard rebalance or a node replacement.
  • Behaviour at your scale when the published run was ten or a thousand times bigger or smaller.

Our take

Use public benchmarks to shortlist index types, not to pick a database. ANN-Benchmarks and VIBE are good for choosing between HNSW, IVF and quantized variants. Big-ANN is the reference for filtered and streaming search at about 10M points. VectorDBBench is the closest to a database comparison, so read its worst-query recall and its concurrency settings before its headline QPS.

For the OpenSearch claim, wait for a published method or test it yourself on OpenSearch 3.9 with OI2 nodes: your vectors, your k, p99 on warm data, your filters. If your corpus is under a few billion vectors, the trillion-scale headline is not your decision. The vector database comparison and the Amazon OpenSearch Service tool page are the next stops.

Sources

Tools covered in this article

Frequently asked questions

Is recall the same as search accuracy?
No. Recall@k measures how many of the exact k nearest neighbours the approximate index returned. It says nothing about whether those neighbours are relevant to the user, which depends on the embedding model and your data.
Should I compare p90 and p99 latency figures?
Not directly. p90 is the time 90% of queries beat; p99 is the time 99% beat, and it is almost always higher. Ask for the same percentile, at the same concurrency and recall, before comparing two systems.
Can I compare ANN-Benchmarks results with VectorDBBench results?
No. ANN-Benchmarks runs index libraries on one CPU core with in-memory datasets, while VectorDBBench runs full databases and cloud services with their own hardware and concurrency. The numbers answer different questions.
How many vectors does OpenSearch's cost-optimized storage need before it matters?
AWS pitches it for hundreds of billions to trillions of vectors. By Metarix arithmetic, one billion 768-dimension half_float vectors is about 1.5 TB of raw data, which fits within a single oi2.large.search node's 1,875 GB of addressable warm storage, so smaller corpora may not need the warm tier at all.

Share

Related on Metarix