databendlabs/databend
databendlabs/databend has 9,493 GitHub stars and 901 forks. GitHot measured +1 stars in 24 hours and +4 in 7 days. Last checked 2026-11-07 20:03 UTC. Last push 2026-11-05.
为数据智能体就绪的数据仓库:集分析、搜索、AI 和 Python Sandbox 于一体,从零重构。基于你的 S3 构建统一架构。
实测星标增长
- 24小时
- +1
- 7天
- +4
- 15天
- 更新延迟
- 1个月
- 更新延迟
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Databend
Enterprise Data Warehouse for AI Agents
one warehouse for all your data
SQL analytics, vector search, and full-text search in a single Rust warehouse on object storage: fast, elastic, and grows with your data — with sandboxed Python UDFs for agents.
💡 Why Databend?
Databend is an open-source data warehouse built in Rust. Analytics, search, and agent workloads run on the same tables, so there is no second system to sync.
| 📊 One Warehouse SQL analytics, vector search, full-text search, auto schema evolution, transactions. |
🤖 Agent-Ready Sandboxed Python UDFs for agent logic, SQL for orchestration. |
| 🏢 Enterprise Scale Fast vectorized engine, elastic compute on object storage: S3, Azure, GCS. |
🌿 Branching Git-like data versioning. Agents experiment safely on production snapshots. |
📈 Performance
Published results on Databend Cloud with default settings. Each page includes the SQL to reproduce it.
| Benchmark | Result |
|---|---|
| TPC-H SF100 vs. Snowflake | 1.25× faster, ~60% lower cost |
| Data ingestion vs. Snowflake | 5.15× faster, 91% lower cost |
| Vector & full-text search | 10M docs: vector p50 41 ms, full-text p50 35 ms |
| TPC-H SF1000 (1 TB) scaling | 4.1× faster on Large vs. Small warehouse |
See all benchmarks.
⚡ Quick Start
Cloud (Recommended) — Sign up, create a warehouse, and run SQL in the worksheet. Cloud guide →
Self-hosted — Run the all-in-one image and connect with BendSQL:
docker run -d -p 127.0.0.1:8000:8000 datafuselabs/databend
bendsql -u root
See Docker image options and self-hosted deployment for credentials, storage, and production setup.
Your First Query
Analytics, full-text search, and vector search in one table:
CREATE TABLE docs (
id INT,
content STRING,
embedding VECTOR(3),
INVERTED INDEX content_idx(content),
VECTOR INDEX embedding_idx(embedding) distance = 'cosine'
);
INSERT INTO docs VALUES
(1, 'SQL analytics for agents', [1.0, 0.0, 0.0]),
(2, 'Vector search for documents', [0.0, 1.0, 0.0]);
SELECT id, content FROM docs WHERE MATCH(content, 'analytics');
SELECT id, content FROM docs
ORDER BY COSINE_DISTANCE(embedding, [1.0, 0.0, 0.0]::VECTOR(3))
LIMIT 1;
Both queries return document 1. Learn more: Vector search · JSON & search.
🤖 Agent-Ready Architecture
Databend's Sandbox UDF enables flexible agent orchestration with a three-layer architecture:
- Control Plane: Resource scheduling, permission validation, sandbox lifecycle management
- Execution Plane (Databend): SQL orchestration, issues requests via Arrow Flight
- Compute Plane (Sandbox Workers): Isolated sandboxes running your agent logic
-- Define your agent logic
CREATE FUNCTION my_agent(input STRING) RETURNS STRING
LANGUAGE python HANDLER = 'run'
AS $$
def run(input):
# Your agent logic: LLM calls, tool use, reasoning...
answer = f"processed: {input}"
return answer
$$;
-- Orchestrate agents with SQL
SELECT my_agent(question) FROM tasks;
🚀 Use Cases
- AI Agents: Sandbox UDF + SQL orchestration + branching for safe operations
- Analytics & BI: Large-scale SQL analytics — Learn more
- Search & RAG: Vector + full-text search — Learn more
🤝 Community & Support
- 📖 Documentation
- 💬 Join Slack
- 🐛 Issue Tracker
- 🗺️ Roadmap
- 🛠️ Contributing — AI-assisted PRs are welcome; a responsible human must review the full diff
Contributors are immortalized in the system.contributors table 🏆
📄 License
Databend is licensed under Apache 2.0. A small set of enterprise features is under Elastic 2.0, see LICENSING.md | Licensing FAQ
探索相关项目
Asabeneh/30-Days-Of-Python
30 Days of Python 编程挑战是一份循序渐进的指南,用于在 30 天内学习 Python 编程语言。这项挑战可能需要超过 100 天。请按自己的节奏进行。这些视频或许也有帮助:https://www.youtube.com/channel/UC7PNRuno1rzYPb1xLa4yktw
78,370 星标grafana/grafana
开放且可组合的可观测性与数据可视化平台。可对来自 Prometheus、Loki、Elasticsearch、InfluxDB、Postgres 等众多数据源的指标、日志和追踪进行可视化。
77,752 星标redis/redis
对于正在构建实时数据驱动应用的开发者而言,Redis 是首选、速度最快且功能最丰富的缓存、数据结构服务器和文档与向量查询引擎。
77,288 星标apache/superset
Apache Superset 是一个数据可视化与数据探索平台
75,448 星标