Short version: if you already run Postgres, start with pgvector and move only when it hurts. For a dedicated, self-hosted vector database, Qdrant is a single Rust service with strong filtering and Milvus is built for very large, distributed deployments. Chroma and LanceDB are the easiest to embed, and Weaviate is the most batteries-included, with a 2026 licensing change to know about. Licences, releases, deployment, indexes and filtering come from GitHub and each project's documentation on 11 November 2026. We make no speed claims, because the published benchmarks are vendor-run.

DatabaseStarsLicenceLatest releaseHow you run it
pgvector23,648PostgreSQL-style (not detected by GitHub)v0.8.7 (1 Oct 2026, tag only)Extension inside any Postgres 13+; many hosted Postgres providers
Qdrant35,509Apache-2.0v1.20.0 (22 Oct 2026)Docker, binary, Helm, Qdrant Cloud, Hybrid and Private Cloud, Qdrant Edge in-process
Milvus46,638Apache-2.0v3.0.5 (30 Oct 2026); v2.6.27 (10 Nov 2026)Milvus Lite (Python library), Standalone, Distributed on Kubernetes, Zilliz Cloud
Chroma29,671Apache-2.01.5.9 (5 May 2026)In-memory, persistent local, client-server, Chroma Cloud
Weaviate16,943BSD-3-Clause plus a commercial wl/ folderv1.40.5 (10 Nov 2026)Docker, Kubernetes, Weaviate Cloud, marketplaces, Embedded (experimental)
LanceDB11,878Apache-2.0v0.41.0 (29 Oct 2026)Embedded library on local disk or object storage; LanceDB Enterprise

Index types and filtering at a glance

What each project's documentation says it supports. "Filtering" means restricting a vector search by metadata such as a tenant, date or category.

DatabaseVector indexes (per the docs)How filters meet vector search
pgvectorHNSW, IVFFlat, plus exact searchSQL WHERE; with approximate indexes the filter runs after the index scan, and iterative index scans (since 0.8.0) keep scanning until enough rows match
QdrantHNSW for dense vectors; a separate exact sparse indexPayload indexes plus a filterable HNSW graph that adds filter-aware edges
MilvusFLAT, IVF family, HNSW family, DISKANN, SCANN, GPU indexes and moreBoolean filter expressions on scalar fields, with scalar indexes (INVERTED, BITMAP and others)
ChromaHNSW on single node; SPANN on distributed and Chroma Cloudwhere on metadata and where_document on text
WeaviateHNSW (default), flat, dynamic (experimental), HFreshPre-filtering with an allow-list; ACORN is the default strategy since v1.34
LanceDBIVF and IVF_HNSW variants with PQ, SQ or RQ quantisationSQL filter strings; prefiltering is the default, postfiltering optional

1. pgvector (23,648 stars)

pgvector is a Postgres extension, not a separate database, and that is its appeal. The README's pitch is "Store your vectors with the rest of your data", with ACID, point-in-time recovery and joins coming from Postgres. The repository has no GitHub releases; the latest tag is v0.8.7, dated 1 October 2026 in the changelog. The changelog's unreleased 0.9.0 drops support for Postgres 13 and 14, so plan upgrades accordingly. GitHub detects no licence because the LICENSE file uses PostgreSQL-style permissive wording rather than a standard text.

Deployment: compile it or install from Docker, Homebrew, APT, Yum and other packages; the README says it comes preinstalled with many hosted Postgres providers.

Indexes: HNSW and IVFFlat, plus exact search with no index. Types are vector (up to 2,000 dimensions indexed), halfvec (4,000), bit (64,000) and sparsevec (1,000 non-zero elements), per the README.

Filtering: plain SQL. The README is candid about the catch: "With approximate indexes, filtering is applied after the index is scanned." Its own example is that a condition matching 10% of rows, with HNSW at the default ef_search of 40, returns about 4 rows on average. The documented fixes are iterative index scans (added in 0.8.0), an index on the filter column, or partial indexes when filtering on a few distinct values.

Pick this when: your data already lives in Postgres, you want transactions and joins across vectors and rows, and one Postgres server handles the volume comfortably.

2. Qdrant (35,509 stars)

Qdrant is a dedicated vector search engine in Rust, Apache-2.0; v1.20.0 shipped on 22 October. The README describes it as "tailored for extended filtering support", which is where it stands out.

Deployment: the installation docs recommend Qdrant Cloud (fully managed, or Hybrid Cloud in your own infrastructure) for production, the Private Cloud Enterprise Operator for Kubernetes without a cloud connection, and the container or binary for testing and development. A Helm chart exists with community support only, and the docs say it lacks the zero-downtime upgrade, scaling and backup tooling of the paid options. The README also introduces Qdrant Edge, which "runs inside the application process" and can sync with a Qdrant server.

Indexes: the indexing docs state: "Qdrant currently only uses HNSW as a dense vector index." Sparse vectors get their own index, and the docs note that "A sparse vector index in Qdrant is exact, meaning it does not use any approximation algorithms." Payload indexes cover keyword, integer, float, bool, geo, datetime, text and uuid fields, and the full-text index supports BM25 scoring.

Filtering: filter on any JSON payload with must, should and must_not clauses. Its filterable HNSW adds graph edges for indexed payload fields, with a rule the docs put in bold: "Payload indexes should be created before ingesting data." Add them later and you must rebuild the HNSW index.

Pick this when: you want a single, self-hostable binary with strong filtered search and a clear path to a managed service, and you are happy with HNSW as the only dense index.

3. Milvus (46,638 stars)

Milvus is the most-starred of the six main picks and the one designed for scale: Go and C++, Apache-2.0, hosted by the LF AI and Data Foundation with Zilliz as the main contributor. Two release lines are active. The 3.0 line reached v3.0.5 on 30 October (GitHub's "latest"), while the 2.6 line got v2.6.27 on 10 November.

Deployment: the docs name four options. Milvus Lite is a Python library for local evaluation and workloads that fit in one application; Standalone is a single-machine server; Distributed runs on Kubernetes and is the docs' recommendation for large-scale production; Zilliz Cloud is the managed service. Milvus Lite's README says writes to the same collection must be serialised.

Indexes: the widest range in this list. For float vectors the v3.0 docs list FLAT, the IVF family (including IVF_PQ and IVF_RABITQ), HNSW with SQ, PQ and PRQ variants, DISKANN, SCANN, AISAQ and GPU indexes such as GPU_CAGRA; binary and sparse vectors get their own indexes. The README adds native BM25 full-text search.

Filtering: boolean filter expressions on scalar fields, with comparison, logical, membership, LIKE, JSON and array operators, backed by scalar indexes such as INVERTED and BITMAP.

Pick this when: you expect very large collections, need GPU or disk-based indexes, or want to scale reads and writes separately on Kubernetes. It is more to operate than Qdrant; Milvus Lite lets you prototype with the same Python client first.

4. Chroma (29,671 stars)

Chroma is where many RAG tutorials start: the README says the core API is "only 4 functions", and it runs in memory with no setup. Apache-2.0; GitHub lists Rust as its main language. One thing to watch: the last GitHub and PyPI release is 1.5.9 from 5 May 2026. Commits continue (latest 7 November), but six months without a release is long for this category.

Deployment: the clients page lists an in-memory ephemeral client, a PersistentClient that saves to local disk, client-server mode (chroma run --path) and a CloudClient for Chroma Cloud, the hosted serverless service.

Indexes: the configuration docs are explicit that the index depends on how you run it: "In Single Node Chroma collections, we use an HNSW (Hierarchical Navigable Small World) index", while "In Distributed Chroma and Chroma Cloud collections, we use a SPANN (Spacial Approximate Nearest Neighbors) index." SPANN parameters cannot currently be customised.

Filtering: a where dictionary on metadata (comparisons, $in, $nin, $and, $or) plus document filters such as $contains and $regex.

Pick this when: you are prototyping or building a single-process app, with the option of a hosted service on the same API later.

5. Weaviate (16,943 stars)

Weaviate stores objects and vectors together and does the most out of the box: integrated embedding providers, hybrid BM25 plus vector search, reranking, multi-tenancy and compression. v1.40.5 shipped on 10 November.

Licence, read this first: GitHub shows no detected licence because the repository is now split. The README says: "Most of this repository is available under the BSD 3-Clause License. Files in our wl/ folder are only available under a commercial license with a license key issued by us." The wl/ folder arrived in August 2026, and the enterprise docs list three Enterprise Edition features from v1.40: shard self-recovery, namespaces and deduplicated backups. The same docs say the Community Edition stays BSD-3-Clause and free for commercial and production use; one Docker image ships both, with enterprise features unlocked by a licence key.

Deployment: Docker for local development, Kubernetes for self-hosted production, Weaviate Cloud (free tier for evaluation), AWS and GCP Marketplace options, and Embedded Weaviate, which the docs label experimental.

Indexes: HNSW is the default; flat suits small, per-tenant datasets; dynamic switches from flat to HNSW as a collection grows and is marked experimental; HFresh is a cluster-based index (added in v1.36) that keeps most data on disk.

Filtering: pre-filtering: an allow-list from the inverted index is passed into the HNSW search. Since v1.34 the default strategy is ACORN, aimed at filters that correlate poorly with the query.

Pick this when: you want vectorisation, hybrid search and multi-tenancy handled by the database, and you do not need its Enterprise Edition features for free.

6. LanceDB (11,878 stars)

LanceDB is an embedded retrieval library built on the Lance columnar format, Apache-2.0, with v0.41.0 out on 29 October. Its README describes the open-source product as "100% open source, runs in your application's process; your data can live on local disk or in object storage." That is the differentiator: no server, and tables can sit in object storage.

Deployment: the embedded library (Python, TypeScript and Rust SDKs) or LanceDB Enterprise, a distributed service for production workloads that need managed infrastructure, on the same Lance format.

Indexes: IVF with flat, PQ, SQ or RQ quantisation and IVF_HNSW with flat, SQ or PQ; a BM25 full-text index; and scalar indexes (BTREE, BITMAP, LABEL_LIST, plus FM and NGram for text). The docs note some vector index variants are built only by the embedded library.

Filtering: SQL expression strings. Prefiltering is the default; postfiltering is opt-in and, as the docs warn, can return fewer rows than your limit. Scalar indexes on frequently filtered columns are the documented way to speed filters up.

Pick this when: you want an embedded store with no server, multimodal data in columnar files, or vectors that live next to a data lake in object storage.

Newer and specialised options

  • alibaba/zvec (16,225 stars, Apache-2.0, v0.8.1 on 6 November): an in-process vector database created in December 2025 that the README says is "Battle-tested within Alibaba Group". Its docs list Flat, HNSW, HNSW-RaBitQ, DiskANN, IVF and IVF-RaBitQ indexes and an inverted index for filtering. Note the README's own constraint: "Multiple processes can read the same collection simultaneously; writes are single-process exclusive." Still pre-1.0.
  • vespa-engine/vespa (7,174 stars, Apache-2.0): a search and ranking platform rather than a vector store, self-hosted or on Vespa Cloud. Per the README, "A new release of Vespa is made from this repository's master branch every morning CET Monday through Thursday"; the GitHub release tags track the CLI (8.781.11 on 2 November). Its docs describe a modified HNSW, exact search, and pre-filtering by default with configurable post-filter thresholds. Pick it when ranking matters as much as retrieval.
  • timescale/pgvectorscale (3,162 stars, PostgreSQL licence, 0.9.1 on 4 September): adds a StreamingDiskANN index, Statistical Binary Quantization and label-based filtered search on top of pgvector. Its README notes Timescale is also building pg_vectorsearch, which it calls "early alpha and isn't yet production-ready".
  • redis/redis (77,371 stars, 8.10.3 on 26 October): Redis Search handles vector and full-text queries, and vector sets are in beta. Since Redis 8 the licence is your choice of RSALv2, SSPLv1 or AGPLv3.
  • facebookresearch/faiss (41,391 stars, MIT, v1.16.0 on 10 November): "A library for efficient similarity search and clustering of dense vectors." An index library you embed, not a database server.

Gone quiet

  • asg017/sqlite-vec (8,259 stars, Apache-2.0): a vector search extension for SQLite that runs anywhere SQLite does, including WASM. The README says "sqlite-vec is a pre-v1, so expect breaking changes!", the last release was v0.1.9 on 31 March 2026 and the last push 18 May 2026.
  • kuzudb/kuzu: the embedded graph database with vector search, archived on 10 October 2025.

About benchmarks

Most speed charts for these databases are published by a vendor. The open harnesses: VectorDBBench (1,203 stars, MIT, v2.0.0) is maintained by Zilliz, the company behind Milvus; qdrant/vector-db-benchmark is maintained by Qdrant; ann-benchmarks by Erik Bernhardsson is mainly a library benchmark, though it also includes modules for pgvector, Qdrant, Milvus, Weaviate, Vespa and Redis. pgvectorscale's README links Timescale's own methodology for its Pinecone comparison. Run a harness on your own embeddings, filter selectivity and hardware; filtered recall on your data decides the choice, not a headline number.

How to choose

  • You already run Postgres: pgvector, then pgvectorscale if you need more from the same database.
  • You want one self-hosted service with heavy filtering: Qdrant.
  • You expect billions of vectors or need GPU or disk indexes: Milvus Distributed, or Zilliz Cloud if you would rather not run it.
  • You are prototyping a RAG app: Chroma, or Milvus Lite if you know you will scale on Milvus later.
  • You want the database to vectorise and hybrid-search for you: Weaviate, after reading its licence split.
  • You want no server at all, or vectors in object storage: LanceDB, or zvec for a lightweight in-process option.

For the layer above the store, see our top GitHub repositories for RAG, and for agent memory built on these databases, the best AI agent memory libraries.

FAQ

Is pgvector good enough, or do I need a dedicated vector database?

For many applications pgvector is enough, and keeping vectors next to their rows removes a sync problem. The pressure points are filtered search on approximate indexes (read the README's filtering and iterative scan sections first) and collections that outgrow one Postgres server.

Which of these are fully open source?

Qdrant, Milvus, Chroma and LanceDB are Apache-2.0, and pgvector uses a PostgreSQL-style permissive licence. Weaviate is BSD-3-Clause except for its wl/ folder, which holds Enterprise Edition features under a commercial licence. Each vendor also sells a managed cloud, which is a separate product.

Which vector database is fastest?

There is no neutral answer. The published benchmarks come from vendors (Zilliz, Qdrant, Timescale), each with its own datasets and settings. Run an open harness on your own data.

Can I run any of these without a server?

Yes. Chroma's local clients, Milvus Lite, LanceDB, zvec, Qdrant Edge and sqlite-vec all run inside your application process.

How this guide is built

Candidates came from GitHub searches for vector database and vector search projects on 11 November 2026. Stars, licences, archive status, last push and releases come from the GitHub API that day; where there is no GitHub release we use the latest tag and changelog. Deployment modes, index types and filtering come from each project's README and official documentation read the same day, and quotes are verbatim. We publish no performance figures unless they come from a benchmark with published methodology, attributed to its author. We re-check these databases monthly and record any change in this page's changelog.