← Back to Leaderboard
Vzilliztech

zilliztech/VectorDBBench

Python benchmark harness for comparing vector databases and full-text search backends

AI BenchmarkQuickstart ↓
Engineering Health (Methodology)
A+ · 93/100
Maintenance Activity
● Updated 3d ago
Latest Release
v2.0.0
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption21/25
Release Cadence17/20
License Clarity20/20
DockerCLI
Total Stars
★ 1,207
24h Growth
+0
7d Growth
+2
Forks
458

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

zilliztech/VectorDBBench Star History (2023-06-12 - 2026-12-04) ALL-TIME STAR HISTORY (2023-06 – 2026-12) +1.2k in 1271d · avg +1/day 1.3k 638 0 2023-06-12: ★ 12023-09-02: ★ 1872023-11-18: ★ 2532024-02-03: ★ 3122024-04-20: ★ 3842024-07-06: ★ 4452024-09-21: ★ 4982024-12-14: ★ 5652025-03-01: ★ 6432025-05-17: ★ 7082025-08-02: ★ 8102025-10-18: ★ 8912026-01-10: ★ 9742026-03-28: ★ 1,0442026-06-13: ★ 1,1152026-08-29: ★ 1,1662026-12-04: ★ 1,207 ★ 1.2k 2023-06 2025-03 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

VectorDBBench is a Python client-side benchmark harness, not a database or a RAG runtime. A run pairs a workload case and dataset with a backend/index adapter. For cases that include loading, the harness loads data into the target before issuing queries; documented skip options also let supported runs reuse existing data. The CLI exposes backend-specific commands such as pgvectorhnsw and vectorchordrq, while init_bench opens the visual interface for launching tests and comparing results.

The package lives under vectordb_bench/ and uses setuptools with setuptools-scm; its package data includes JSON results. Integrations use database-specific Python clients: PyMilvus and Zilliz Cloud support are included in the default installation, while extras supply other clients. The workload is the shared comparison point, but connection options and index controls remain adapter-specific. Results retain selected parameters such as AutoIndex level and Milvus HNSW vector_data_type, which helps distinguish runs that otherwise look identical.

Key Capabilities & Differentiators

The benchmark covers ingestion, vector search, filtered search, and BM25-style full-text retrieval on supported backends. Full-text cases start with MS MARCO and HotpotQA, include payload profiles, and report recall, QPS, and load metrics. Vector workloads span SIFT, GIST, Cohere Wikipedia embeddings, and OpenAI embeddings from C4. The general Performance case can also run registered Hugging Face datasets, including 24 VIBE HDF5 datasets and multimodal Parquet datasets with 1M, 10M, and 100M corpus vectors.

Backend controls make it possible to test more than default configurations. Milvus HNSW exposes FLOAT32 and BFLOAT16 storage; supported single-tenant Milvus and Zilliz Cloud cases can vary queries per request with --nq. VectorChord exposes IVF list and probe counts and reranking precision. These controls support meaningful tuning experiments, but each backend needs to be evaluated at a comparable retrieval-quality target rather than with nominally similar index settings.

Trade-offs & Limitations

The main advantage over database-native benchmarks is a shared cross-engine workload. The trade-off is that adapters cannot make engine semantics identical. For example, OpenSearch Serverless skips cluster settings changes, force merge, manual refresh, and warmup calls. A database-native benchmark is better suited to isolating engine-specific behavior; an application load test is necessary when the decision depends on the full RAG path rather than backend retrieval alone.

Treat the Zilliz-sponsored leaderboard as a starting point, not a procurement result. Re-run shortlisted systems at the same top-k and recall target with matched datasets, filter conditions, and query batch sizes. Record index settings, replicas, service tiers, regions, and client placement, and distinguish ingestion from search-only runs. Higher QPS is not necessarily better if it comes from lower recall or larger batches, and a cloud cost ranking may change under your workload and pricing.

Hardware & Deployment Guide

Run the harness under Python 3.11 or newer with pip install vectordb-bench, add the relevant client extra, then use vectordbbench --help or start the UI with init_bench. The two-stage Dockerfile installs dependencies from install/requirements_py3.11.txt using the Tsinghua PyPI mirror, copies the installed Python packages and executables into python:3.11-slim-bookworm, and starts python3 -m vectordb_bench from /opt/code.

Docker packages the runner, not the target database. Supply a reachable self-hosted instance or a managed endpoint and credentials; for example, Zilliz Cloud can read ZILLIZ_TOKEN. Plan dataset storage and download access separately, or use a custom local dataset. Use a dedicated test collection and check drop/load settings before reusing data; Milvus HNSW rejects reuse when the vector type or dimension does not match. Releases v1.0.21–v1.0.22 expanded backend coverage, and v2.0.0 added cloud cases, full-text workloads, and a broader public dataset catalog.

Backend adapters: PyMilvus and Zilliz Cloud support ship with the default install; Qdrant, Pinecone, pgvector, and OpenSearch have optional client extras.
Workloads: Repeatable insertion, vector search, filtered search, and BM25-style full-text search on supported backends.
Dataset coverage: 24 registered VIBE HDF5 datasets and multimodal Parquet corpora at 1M, 10M, and 100M vectors are available through the Performance case.
Search controls: Milvus HNSW supports FLOAT32 or BFLOAT16 storage; Milvus and Zilliz Cloud expose --nq for batching supported single-tenant vector searches.
Cloud comparison: v2.0.0 adds production-oriented cloud benchmark cases and a Cloud Leaderboard; cost comparisons depend on the tested configuration.
Runtime: Python 3.11+ with CLI and visual entrypoints; Docker runs python3 -m vectordb_bench from a Debian Bookworm slim runtime.
Best For

Infrastructure and RAG teams shortlisting self-hosted or managed retrieval backends and reproducing ingestion, recall, throughput, and cloud cost comparisons under controlled conditions.

Skip If

You need end-to-end RAG quality evaluation, engine internals profiling, or a turnkey deployment that provisions the target databases.

Reviewed on 2026-12-03 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

DockerCLI
vectordbbench milvushnsw \
  --case-type Performance \
  --dataset-name glove-200-cosine \
  --k 100

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/zilliztech/VectorDBBench.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

zilliztech/VectorDBBench Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about VectorDBBench

How do I connect an existing database to the benchmark?

Provision the target database separately, install its Python client extra if needed, and select the backend/index subcommand and benchmark case. For example, vectordb-bench[pgvector] supplies the client dependencies for pgvectorhnsw and vectorchordrq. Use the subcommand’s --help to check its connection and index options; flags are not interchangeable across backends.

Does the benchmark require a GPU, and how should I size the runner?

The runner requires Python 3.11 or newer, and there is no general GPU or VRAM prerequisite specified. Size the runner for dataset storage, loading, and concurrent requests, and size the database separately for corpus size, vector dimensions, index type, and replicas. During throughput tests, monitor the runner and network so a client-side bottleneck does not get attributed to the database.

Can a commercial team self-host and redistribute it?

Yes. VectorDBBench is MIT-licensed and can run on your own host or in Docker. Preserve the required license and copyright notices when redistributing the software. Review database, cloud-service, and dataset terms separately; the MIT license on the harness does not apply to those resources.

When is this preferable to a database-native benchmark or an application load test?

Use VectorDBBench when you need a shared workload to shortlist several engines or compare recall and throughput under controlled conditions. Use a database-native benchmark when the decision hinges on behavior unique to one engine, or application-level load testing when the acceptance criteria include embedding, reranking, and answer quality.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining zilliztech/VectorDBBench? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature zilliztech/VectorDBBench on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare