VectorDBBench(VDBBench): A Benchmark Tool for VectorDB
What is VDBBench
VDBBench is not just an offering of benchmark results for mainstream vector databases and cloud services, it's your go-to tool for the ultimate performance and cost-effectiveness comparison. Designed with ease-of-use in mind, VDBBench is devised to help users, even non-professionals, reproduce results or test new systems, making the hunt for the optimal choice amongst a plethora of cloud services and open-source vector databases a breeze.
Understanding the importance of user experience, we provide an intuitive visual interface. This not only empowers users to initiate benchmarks at ease, but also to view comparative result reports, thereby reproducing benchmark results effortlessly.
To add more relevance and practicality, we provide cost-effectiveness reports particularly for cloud services. This allows for a more realistic and applicable benchmarking process.
VectorDBBench provides repeatable workloads for insertion, vector search,
filtered search, and full-text search. Its registered vector datasets range
from classic SIFT and
GIST corpora to
Cohere Wikipedia embedding archives,
OpenAI embeddings generated from the public
C4 dataset, and the
VIBE and VDBBench multimodal datasets
hosted on Hugging Face. Together, these datasets cover different corpus sizes,
dimensions, modalities, distance metrics, and query distributions.
Prepare to delve into the world of VDBBench, and let it guide you in uncovering your perfect vector database match.
VDBBench is sponsored by Zilliz,the leading opensource vectorDB company behind Milvus. Choose smarter with VDBBench - start your free test on zilliz cloud today!
Leaderboard · Cost leaderboard
🎈 Announcement 🎈
June 2026 update: Full Text Search has landed in VectorDBBench. We now benchmark BM25-style retrieval across supported backends, starting with MS MARCO and HotpotQA datasets, payload profiles, recall, QPS, and load metrics ready to compare. See the VectorDBBench Full Text Search Release Note for the full rollout details and caveats.
September 2026 update: VectorDBBench can now run registered datasets hosted
on Hugging Face through the existing Performance case. The initial catalog
includes all 24 VIBE HDF5 datasets and VDBBench multimodal Parquet datasets at
1M, 10M, and 100M corpus vectors.
vectordbbench milvushnsw \
--case-type Performance \
--dataset-name glove-200-cosine \
--k 100
See the Hugging Face datasets release note
for the complete catalog, data flow, provenance, constraints, and configuration
details.
Quick Start
Prerequirement
Install
Install vectordb-bench with only PyMilvus
pip install vectordb-bench
Install the specific database client
pip install 'vectordb-bench[pinecone]'
All the database client supported
| Optional database client |
install command |
| pymilvus, zilliz_cloud (default) |
pip install vectordb-bench |
| qdrant |
pip install vectordb-bench[qdrant] |
| pinecone |
pip install vectordb-bench[pinecone] |
| weaviate |
pip install vectordb-bench[weaviate] |
| elastic, aliyun_elasticsearch |
pip install vectordb-bench[elastic] |
| pgvector, pgvectorscale, pgdiskann, alloydb, vectorchord, lakebase_vector |
pip install vectordb-bench[pgvector] |
| pgvecto.rs |
pip install vectordb-bench[pgvecto_rs] |
| redis |
pip install vectordb-bench[redis] |
| valkey |
pip install vectordb-bench[valkey] |
| memorydb |
pip install vectordb-bench[memorydb] |
| kividb |
pip install vectordb-bench[kividb] |
| chromadb |
pip install vectordb-bench[chromadb] |
| cockroachdb |
pip install vectordb-bench[cockroachdb] |
| awsopensearch |
pip install vectordb-bench[opensearch] |
| aliyun_opensearch |
pip install vectordb-bench[aliyun_opensearch] |
| mongodb |
pip install vectordb-bench[mongodb] |
| tidb |
pip install vectordb-bench[tidb] |
| vespa |
pip install vectordb-bench[vespa] |
| oceanbase |
pip install vectordb-bench[oceanbase] |
| hologres |
pip install vectordb-bench[hologres] |
| tencent_es |
pip install vectordb-bench[tencent_es] |
| alisql |
pip install vectordb-bench[alisql] |
| polardb |
pip install vectordb-bench[polardb] |
| polardb_pg |
pip install vectordb-bench[pgvector] |
| doris |
pip install vectordb-bench[doris] |
| turso |
pip install vectordb-bench[turso] |
| zvec |
pip install vectordb-bench[zvec] |
| warm |
pip install vectordb-bench[warm] |
| endee |
pip install vectordb-bench[endee] |
| lindorm |
pip install vectordb-bench[lindorm] |
| volc_mysql |
pip install vectordb-bench[volc_mysql] |
| adbpg |
pip install vectordb-bench[adbpg] |
Run
OR:
Run from the command line.
vectordbbench [OPTIONS] COMMAND [ARGS]...
To list the clients that are runnable via the commandline option, execute: vectordbbench --help
$ vectordbbench --help
Usage: vectordbbench [OPTIONS] COMMAND [ARGS]...
Options:
--help Show this message and exit.
Commands:
polardbpghnsw
pgvectorhnsw
pgvectorivfflat
vectorchordrq
volcmysqlhnsw
test
weaviate
To list the options for each command, execute vectordbbench [command] --help
milvusautoindex and zillizautoindex accept --level from 1 to 10 (YAML:
level) on servers that support AutoIndex search levels. If omitted, Milvus
sends no level, preserving the server's default behavior; Zilliz Cloud keeps
its existing default of 1 and always sends it. Results record the value in
task_config.db_case_config.level.
vectordbbench milvusautoindex \
--uri http://localhost:19530 \
--level 2 \
<other options>
milvushnsw accepts --vector-data-type (YAML: vector_data_type) to store vectors as FLOAT32 (default) or BFLOAT16. The index type stays HNSW. With --skip-drop-old --skip-load, the run fails if the vector field of the collection has a different data type or dimension. Results record the value in task_config.db_case_config.vector_data_type.
vectordbbench milvushnsw \
--uri http://localhost:19530 \
--vector-data-type BFLOAT16 \
<other options>
Use --nq (default: 1) to set the number of query vectors per concurrent search request.
Milvus and Zilliz Cloud support batching for single-tenant vector performance cases,
including filtered searches. This example reuses a collection containing the selected
dataset and a matching HNSW index:
vectordbbench milvushnsw \
--uri http://localhost:19530 --collection-name VDBBench \
--case-type Performance768D1M --m 16 --ef-construction 128 --ef-search 128 \
--k 10 --nq 2 \
--skip-drop-old --skip-load
YAML uses nq: 2. The value is saved in task_config.case_config.nq in result JSON.
Result views distinguish non-default NQ values in case names so different batch sizes stay separate.
Omitting --num-concurrency uses the configured concurrency list. Each request contains
exactly nq vectors, wrapping through the query dataset as needed.
qps and conc_qps_list count successful query vectors per second. Successful request throughput
is QPS divided by nq. Failed batches or responses missing a query's result list contribute zero.
conc_latency_* measures the whole successful batch request.
serial_latency_* and recall use NQ=1 and concurrency=1.
Other backends and streaming, full-text, cold-latency and multi-tenant cases reject
nq > 1 before data loading.
Result JSON also records recall_min, recall_p1, recall_p5, and recall_p10 across serial-search queries.
Percentiles use linear interpolation; lower values describe the worst-recall queries. These fields are null when
recall is not measured. Streaming results record the corresponding per-stage values in st_recall_*_list.
Use --note or --note-file to preserve deployment, resource, client, network, and constraint context in each result JSON under task_config.db_config.note. The options are mutually exclusive. Prefer --note-file for structured or multiline context, and never include credentials, tokens, or sensitive connection details.
vectordbbench zillizautoindex \
--note-file ./run-context.json \
<other options>