EveeStatistic
TechnologyCloud Database Benchmarks, Vector Search & Distributed Systems
9 min read

Filtered Vector Search Benchmark: 2026 Recall, Latency & Cost

LBy Longhak Ly
•
Published on November 11, 2026
•Peer-Reviewed Benchmark
Executive Verdict & Quick Takeaways

A six-engine, single-host test of 990,000 1,536-dimensional vectors found HNSW indexes ranging from 3.9 to 15.1 GiB—and build times spanning 1.9 minutes to 6.7 hours. Learn how to test filtered recall, p99 latency, memory, and cost without mistaking vendor claims for production guarantees.

A filtered vector search benchmark is useful only when it measures the filters, recall target, concurrency, and memory conditions your application will actually run. In 2026, the strongest evidence is not a universal p99 or “fastest database” winner; it’s a set of tests that expose how sharply results change with workload and system design.

Key Takeaways

  • Index footprint varies widely: In Percona’s six-engine test of 990,000 1,536-dimensional vectors, HNSW index sizes ranged from 3.9 to 15.1 GiB, and build times from 1.9 minutes to 6.7 hours.
  • There is no dependable universal p99: Filter selectivity, recall, concurrency, and whether the working set fits in memory all change latency. Vendor speed claims are hypotheses to test, not production guarantees.
  • Measure cost at your target quality: Compare systems at the same filtered recall and tail-latency target, then divide the all-in hourly cost by sustained query throughput.

What current benchmarks do—and don’t—tell you

The most useful recent work treats vector retrieval as a workload, not a single speed test. That matters because an unfiltered nearest-neighbor query is a poor proxy for “find the closest documents this tenant is allowed to see.”

Percona’s six-engine benchmark tested HNSW with cosine distance on one host. It found a striking spread in both index size and build time. At a stated 0.99 recall, MariaDB 12.3, Valkey, and pgvector were within a factor of 1.3 on the reported performance measure. With 32 clients, pgvector reached 21.7 times its single-client throughput. That is a concurrency result from one setup—not an absolute QPS or a promise about a managed cloud deployment.

Evidence What it measured Useful signal What it doesn’t establish
Percona, six engines 990,000 vectors; 1,536 dimensions; HNSW; cosine distance 3.9–15.1 GiB index sizes; 1.9-minute–6.7-hour builds Cloud-service ranking or universal p99
SIGMOD 2026 VecBench Filter selectivity, filter/vector correlation, recall, latency, throughput, concurrency, updates Why filtered-search behavior needs its own test A single result that applies to every application
Supabase DBArena, announced October 30 PostgreSQL 17 on Supabase, Amazon RDS, and Google Cloud SQL; matched vCPU tiers A reproducible protocol with warm-up, repeated runs, and cache-fit and cache-exceeding cases A universal cloud database winner
AWS and Google announcements DynamoDB vector-search and AlloyDB/ScaNN capabilities Candidates worth testing when their data models fit Independent proof of your workload’s latency or cost

VecBench is notable for varying both filter selectivity and the relationship between filter eligibility and vector similarity. A filter that keeps half the corpus behaves differently from one that admits one record in ten thousand. A filter correlated with similarity can behave differently again. Those distinctions are central to tenant, category, and access-control retrieval.

The DBArena protocol uses PostgreSQL 17, matched vCPU counts and I/O settings, a 30-minute warm-up, a 60-minute measured run, and three successful runs per point. Its announcement describes a TPC-C-derived workload, not a TPC-C-compliant result. It is sponsored by Supabase, tests one region per cloud, and matches vCPU rather than memory. That’s useful documentation, but not a neutral ranking of every database workload.

The same caution applies to product claims. AWS says DynamoDB vector search can deliver single-digit-millisecond latency at 99%+ recall; the cited announcement doesn’t provide an independently comparable test setup. Google says AlloyDB with ScaNN can scale to 10 billion vectors and query up to six times faster than standard PostgreSQL HNSW. Treat both as leads for a proof of concept, not as a p99 commitment.

Filtered recall is the test that matters

Post-filtering can return too few eligible neighbors. Imagine searching the global index for 20 similar items and discarding results that don’t belong to the requesting tenant. If most of those 20 belong to other tenants, the application may get only a handful of usable results—even if the global search itself has excellent recall.

Pre-filtering restricts eligible candidates before or during the search, which can improve the relevance of returned results for that filter. But it doesn’t guarantee higher recall or lower latency in every engine. A highly selective filter leaves a smaller candidate set, and the system’s indexing and execution strategy determine whether that makes retrieval faster, slower, or more complete.

Benchmark the actual query path. At minimum, vary:

  • Filter selectivity: for example, filters that match 50%, 5%, and 0.1% of records.
  • Recall target: measure at both 95% and 99%; don’t compare a fast 90% result with a slower 99% result.
  • Concurrency and writes: include expected simultaneous queries and a realistic update or ingestion rate.
  • Cache conditions: record separate results when the working set fits in memory and when it doesn’t.
  • Tail latency: report p50, p95, and p99, not just average latency or peak QPS.

Keep tenant authorization in the retrieval path itself. A filter is not merely a relevance control; it may enforce data isolation. Test that the query can’t return unauthorized records, including under fallback, pagination, and update paths.

A disciplined run needn’t be elaborate: warm the system, run a steady-state test for 60 minutes, repeat it at least three times, and report recall alongside p95/p99. Keep the same corpus, filters, concurrency, and update load across candidates. A single warm-cache run at low concurrency is a demo, not a capacity plan.

RAM and cost: calculate the service you’ll operate

For one million 1,536-dimensional float32 vectors, the raw vector payload alone is about 5.72 GiB:

Raw vector payload: 1,000,000 × 1,536 dimensions × 4 bytes ≈ 6.14 billion bytes, or 5.72 GiB.

That is a floor, not a RAM recommendation. Metadata, index structures, database overhead, replicas, and working-set headroom add to it. Percona’s 3.9–15.1 GiB index-size range shows why “one million vectors” doesn’t specify a useful memory budget. Also check what each benchmark counts as index size; it may not represent the full production footprint.

Build time deserves equal attention. A 1.9-minute build and a 6.7-hour build imply very different ingestion, recovery, and rebuild strategies. If you rebuild frequently, a fast query index that takes hours to recreate may be the wrong operational choice.

There’s no sound basis in the cited results for declaring pgvector cheaper than a managed vector database at production scale. pgvector can avoid a separate service tier when PostgreSQL already fits the application, but the real comparison includes memory, replicas, backups, storage, availability requirements, and operational work. A managed service may cost more per hour and save engineering time—or its minimum cluster size and idle capacity may make a modest workload expensive.

Use measured throughput at the required recall and latency to estimate query cost:

Approximate cost per million queries = 277.8 × all-in hourly cost ÷ sustained queries per second

The table below is illustrative arithmetic, not cloud pricing. Replace the hourly cost with a regional quote that includes the capacity you’ll actually provision.

Sustained throughput At $1/hour At $5/hour
10 QPS $27.78 / million $138.89 / million
100 QPS $2.78 / million $13.89 / million
1,000 QPS $0.28 / million $1.39 / million

This simple model assumes continuous use and leaves out peaks, idle time, egress, support, and separate storage or query charges. Include those in a production estimate. A service that looks cheaper at peak QPS can lose once you account for replicas or the extra capacity needed to meet p99.

Choose for the workload, not the leaderboard

Start with the architecture you can operate well, then test the alternatives that could materially improve cost or latency. If vectors are part of an existing PostgreSQL application, pgvector is a sensible baseline. If you need a managed retrieval service, evaluate products whose scaling and billing model fit your access patterns. If you’re already on Google Cloud and need PostgreSQL compatibility, AlloyDB with ScaNN is worth a workload-specific test.

Situation Starting point Validate before committing
Existing PostgreSQL application, moderate workload pgvector Filtered recall, p99 with concurrent writes, RAM, and rebuild time
Managed vector retrieval or AWS-centered architecture Relevant managed options, including DynamoDB vector search Your filter mix, recall target, sustained QPS, and total monthly bill
Google Cloud and PostgreSQL compatibility AlloyDB with ScaNN Scale, latency, and cost on your dimensions and filters
Strict tenant isolation Any candidate that can enforce the required predicates Authorization behavior and filtered recall under selective queries

A large corpus alone doesn’t prove distributed scale. For that, look for multi-node results that report scaling efficiency, coordination overhead, failure behavior, and tail latency. MLPerf Storage v3.0 adds vector-database indexing and querying tests, along with LLM KV-cache and S3 access tests; it measures specified storage workloads, not a universal ranking of full database services. And the large TPC-C result for Alibaba Cloud PolarDB Limitless—2,055,076,649 tpmC, submitted in January 2025—describes a disclosed system with 2,340 database nodes, not a typical application deployment.

Run two or three finalists against the same production-shaped workload. Keep cache-fit and cache-exceeding results separate, and publish the recall, p99, memory, build time, and monthly cost beside every throughput number. Choose pgvector when keeping the system simple wins at your measured load; choose a managed alternative when its tested operational or scaling advantages justify the bill. Don’t buy a headline latency. Buy the result you can reproduce.

Frequently Asked Questions

Q: What is p99 latency for filtered vector search at 95% recall?

There is no single reliable p99 for that combination: filter selectivity, vector dimensions, concurrency, hardware, and index residency all matter. Measure p99 on your own filtered workload at 95% recall; vendor “single-digit millisecond” claims don’t establish your tail latency.

Q: How much RAM do 1 million 1,536-dimensional HNSW vectors need?

The raw float32 vectors use about 5.72 GiB, before HNSW structures, metadata, database overhead, replicas, and operating headroom. Treat that as a lower bound, then measure the full index and working set on the chosen engine.

Q: Is pgvector cheaper than a managed vector database at production scale?

Not automatically. Compare all-in provisioned cost—including memory, replicas, backups, storage, and operations—at the same recall and p99 target; the benchmark evidence cited here doesn’t establish a universal cost winner.

Q: Are DynamoDB vector-search latency claims independently benchmarked?

The cited AWS announcement reports single-digit-millisecond latency at 99%+ recall, but doesn’t provide an independently comparable test setup. Reproduce the claim with your filters, concurrency, and corpus before using it as a service-level expectation.

LL

Longhak Ly

Author & Lead Engineer

Systems Software Engineer & Data Intelligence Lead

Researches and benchmarks distributed systems, LLM inference runtimes, cloud compute economics, and critical geopolitical supply chains. Dedicated to reproducible, data-driven analysis free of promotional hype.

Independent BenchmarksEmpirical Code & Hardware Audits

Share this technical benchmark

Help fellow developers and systems architects benchmark production tradeoffs.

Related Tags:
#filtered vector search benchmark#What is p99 latency for filtered vector search at 95% recall?#How much RAM do 1 million 1#536-dimensional HNSW vectors need?#Is pgvector cheaper than a managed vector database at production scale?#Does pre-filtering improve recall for tenant-isolated vector search?#How to calculate vector search cost per million queries#Are DynamoDB vector-search latency claims independently benchmarked?
Editorial Integrity & Benchmark Standards

All technical benchmarks, latency audits, and financial models on EveeStatistic are independently compiled from open-source testbeds, public regulatory filings, and reproducibility runs. Researched and fact-checked by independent systems engineers.

Topical Exploration

Related Deep Dives in Technology

View all