← Back to Leaderboard
Ddatabendlabs

databendlabs/databend

Rust warehouse for SQL analytics, full-text search, and vector search on object storage

Engineering Health (Methodology)
A+ · 95/100
Maintenance Activity
● Updated today
Latest Release
v1.2.969-nightly
Commercial License Check
Apache-2.0 · Commercial Friendly

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

Maintenance35/35
Fork Adoption20/25
Release Cadence20/20
License Clarity20/20
DockerSelf-HostedAPI
Total Stars
★ 9,514
24h Growth
+1
7d Growth
+7
Forks
903

GitHub Star History

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

databendlabs/databend Star History (2020-10-09 - 2026-12-03) ALL-TIME STAR HISTORY (2020-10 – 2026-12) +9.5k in 2246d · avg +4/day 10k 5k 0 2020-10-09: ★ 12021-02-27: ★ 2372021-07-17: ★ 7542021-12-04: ★ 2,3662022-04-23: ★ 3,4622022-09-10: ★ 4,1982023-01-28: ★ 4,8582023-06-17: ★ 5,7892023-11-04: ★ 6,3152024-03-23: ★ 6,8242024-08-10: ★ 7,3582024-12-28: ★ 7,8472025-05-17: ★ 8,2722025-10-04: ★ 8,7812026-02-21: ★ 9,0832026-07-11: ★ 9,3392026-12-03: ★ 9,514 ★ 9.5k 2020-10 2023-11 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Databend is a Rust analytical warehouse that separates vectorized query compute from object storage. SQL analytics, inverted-index lookup, and vector top-k can operate on the same tables, avoiding a separate synchronization path for indexed copies. The Cargo workspace uses Rust edition 2024 and exposes distinct query and metadata components, including src/query/codegen, src/query/storages/paimon, src/meta/protos, and src/meta/store.

Sandboxed Python UDFs add a separate execution path. The control plane handles scheduling, permission validation, and sandbox lifecycle. The Databend execution plane orchestrates calls from SQL and sends requests over Arrow Flight to isolated sandbox workers. This separates Python execution from the SQL engine but adds a worker fleet and an inter-service call path to operate.

Key Capabilities & Differentiators

A table can hold document text and embeddings alongside analytical columns. The SQL example pairs an INVERTED INDEX queried with MATCH with a cosine VECTOR INDEX over VECTOR(3), queried by ordering on COSINE_DISTANCE and applying LIMIT. It demonstrates two retrieval paths, not a built-in fused ranking pipeline. Transactions, automatic schema evolution, and snapshot branching support updates and experiments on warehouse data; the retrieval examples take embeddings as inputs rather than generating them.

Published Databend Cloud tests at default settings report p50 of 41 ms for vector search and 35 ms for full-text search over 10M documents. The 1 TB TPC-H test reports a 4.1× speedup on a Large versus a Small warehouse. These are workload-specific cloud measurements, not estimates of self-hosted latency, search recall, or behavior under mixed query traffic.

Trade-offs & Limitations

The strongest reason to choose Databend over a warehouse paired with Elasticsearch or a dedicated vector database is to remove the second ingestion and synchronization path when analysts and retrieval services need the same data. Separate engines remain attractive when search must scale independently or when ranking and index-specific tuning dominate. Test recall and tail latency with realistic filters and concurrent scans; a standalone p50 does not show how mixed workloads compete for resources.

Object storage lets compute capacity change independently of data capacity, but cache behavior and object-store I/O still matter to sizing. Sandboxed UDFs move Python out of the SQL engine; validate call overhead and worker failure handling before putting them on a latency-sensitive request path. The core is Apache-2.0, while a subset of enterprise features uses Elastic 2.0; verify the feature and distribution boundary before committing to a commercial deployment.

Hardware & Deployment Guide

For a local smoke test, run docker run -d -p 127.0.0.1:8000:8000 datafuselabs/databend and connect with bendsql -u root. The loopback binding is a trial configuration, not a production exposure pattern. For production self-hosting, configure credentials and persistent storage, pin and test an image version, and benchmark with realistic ingest, analytics, and search traffic. Databend Cloud offers a managed warehouse and SQL worksheet as an alternative.

Size the SQL cluster for scan volume, index construction, embedding dimensions, and query concurrency. If you enable Python UDFs, budget for sandbox workers separately; the supplied setup does not specify GPU or VRAM requirements for retrieval. Recent nightly changes include batched reclustering tasks with shared node budgets in v1.2.969, caching of prewhere results to skip work in v1.2.970, and reading full-text and vector TopN candidates from covering index matches in v1.2.971. Confirm which paths your pinned release supports before relying on those optimizations.

Storage: Rust warehouse separates query compute from S3, Azure, or GCS object storage.
Retrieval: A single SQL table can declare an INVERTED INDEX over text and a cosine VECTOR INDEX over embeddings.
Execution: The control plane handles scheduling, permissions, and sandbox lifecycle; SQL sends Python UDF requests to isolated workers via Arrow Flight.
Data management: Transactions, schema evolution, and snapshot branching complement search on warehouse tables.
Measured performance: Published Databend Cloud tests on 10M documents report p50 of 41 ms for vector search and 35 ms for full-text search.
Release scope: v1.2.971-nightly adds a path for reading full-text and vector TopN candidates from covering index matches.
Best For

RAG or data platforms that already need an analytical warehouse and want document retrieval, metadata queries, and analytics over the same tables without maintaining a second index synchronization pipeline.

Skip If

You need only a retrieval service, require search to scale independently, or expect a turnkey pipeline that generates embeddings and fuses search rankings for you.

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

Quick Start & Installation

DockerSelf-HostedAPI
docker run -d -p 127.0.0.1:8000:8000 datafuselabs/databend
bendsql -u root

Comparison vs. Top RAG, Data & Memory Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
databend ★9.5k+7RustApache-2.0Rust warehouse for SQL analytics, full-text search, and vector search on object
chroma29.8k+44RustApache-2.0Rust-backed vector database for embedded and self-hosted RAG retrieval
milvus46.8k+63GoApache-2.0Distributed vector database for filtered and hybrid retrieval at scale
quivr39.7k+23GoMITA Go engine for turning content streams into hybrid search and alerts

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/databendlabs/databend.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.

databendlabs/databend Star History on RepoForAI

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

Frequently Asked Questions about databend

How should a RAG application integrate with Databend?

Store document text, metadata, and externally generated embeddings in the same table. Use an inverted index with MATCH for lexical retrieval and a vector index with cosine-distance ordering for semantic top-k. Start with separate queries and combine their results in your application if you need a fused ranking.

Does self-hosted retrieval require a GPU, and how should we size it?

No GPU or fixed VRAM requirement is specified for the Docker quick start or the SQL retrieval examples. Size compute and memory against corpus size, embedding dimensions, index build load, and concurrent queries. Budget for embedding generation, model serving, and optional Python sandbox workers separately.

Can we use the self-hosted distribution in a commercial product?

The core project is Apache-2.0, while a subset of enterprise features is under Elastic 2.0. Check LICENSING.md and verify which components your chosen distribution and deployment use before redistributing a build or offering a hosted service. The ability to self-host does not mean every bundled feature has the same license.

When is Databend a better fit than a dedicated search or vector database?

Prefer Databend when retrieval and analytical SQL need to operate on the same corpus and eliminating a separate synchronization pipeline matters. Prefer a dedicated search or vector engine when retrieval is the primary workload and independent scaling or search-specific tuning is more important. Compare recall at the same top-k and tail latency under production-like filters and concurrent analytics.

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 databendlabs/databend? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature databendlabs/databend 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