starrocks README

The project's README from github.com/StarRocks/starrocks. As one markdown file: README.md.

Download | Docs | Benchmarks | Demo

JAVA&C++ Commit Activities Open Issues Website Slack Twitter Gurubase

StarRocks is the world's fastest open query engine for sub-second, ad-hoc analytics both on and off the data lakehouse. With average query performance 3x faster than other popular alternatives, StarRocks is a query engine that eliminates the need for denormalization and adapts to your use cases, without having to move your data or rewrite SQL. A Linux Foundation project.

Learn more 👉🏻 What Is StarRocks: Features and Use Cases, Join StarRocks Summit 2025!



Features


Architecture Overview

StarRocks’s streamlined architecture is mainly composed of two modules: Frontend (FE) and Backend (BE). The entire system eliminates single points of failure through seamless and horizontal scaling of FE and BE, as well as replication of metadata and data.

Starting from version 3.0, StarRocks supports a new shared-data architecture, which can provide better scalability and lower costs.


Resources

📚 Read the docs

Section Description
Quick Starts How-tos and Tutorials.
Deploy Learn how to run and configure StarRocks.
Docs Full documentation.
Blogs StarRocks deep dive and user stories.

❓ Get support


Contributing to StarRocks

We welcome all kinds of contributions from the community, individuals and partners. We owe our success to your active involvement.

  1. See Contributing.md to get started.
  2. Set up StarRocks development environment:
  1. Understand our GitHub workflow for opening a pull request; use this PR Template when submitting a pull request.
  2. Pick a good first issue and start contributing.

📝 License: StarRocks is licensed under Apache License 2.0.

👥 Community Membership: Learn more about different contributor roles in StarRocks community.

💬 Developer Group: Please join our Google Groups to discuss StarRocks features, project directions, issues, pull requests, or share suggestions.


Used By

This project is used by the following companies. Learn more about their use cases:

starrocks (StarRocks/starrocks)

Searching Database…

12.2K ·GitHub
这是什么?StarRocks 是一款开源、高性能的查询引擎,适用于数据仓库和数据湖上的亚秒级即席分析,是 Linux 基金会旗下的项目。
这是需要自己部署的数据库,还是托管服务?这是一款自托管的分析型数据库,需要在你自己的集群上运行。它由两个组件构成:负责元数据和查询规划的前端(FE),以及负责存储和执行的后端(BE)。
要怎么把它跑起来?请参考文档中的快速开始和部署指南;你可以使用 Docker 编译 StarRocks,也可以手动部署集群。
使用它之前,必须先搭建好 Hive、Iceberg 或 Delta Lake 吗?不需要,这些都是可选的。StarRocks 可以作为独立数据库使用,也可以直接查询 Hive、Iceberg、Delta Lake 和 Hudi 中的数据,无需先导入。
部署和维护集群的难度有多大?它是一个分布式系统,但架构设计力求简单:新增或移除节点时会自动调整查询计划并重新平衡资源,节点故障后也会自动恢复副本。
这个产品面向哪些人?面向需要大规模进行多维、实时或即席分析的团队。Airbnb、Pinterest、Tencent、Trip.com 和 Xiaohongshu 等公司已在生产环境中使用它。
StarRocks 的查询为什么这么快?它采用原生向量化 SQL 引擎,充分利用 CPU 并行能力,查询可在亚秒级返回结果,速度比上一代系统快 5 到 10 倍。
我现有的 BI 工具能连接它吗?可以。StarRocks 支持 ANSI SQL,并兼容 MySQL 协议,因此大多数 SQL 客户端和 BI 软件都可以直接连接。
实时数据更新是如何工作的?StarRocks 采用主键更新模型,即使在查询并发执行时,也能高效完成 upsert 和删除操作。
v3.0 的存算分离架构有什么变化?从 3.0 版本开始,StarRocks 新增了存算分离架构(将存储与计算分开),相比原有的无共享(shared-nothing)架构,可提供更好的扩展性和更低的成本。
What are similar projects?doris, trino, ClickHouse, druid, oceanbase, questdb, tidb, vitess
Creator
StarRocks
Size
755.1 MB
Stars
12.2K
Age
5y
Commits · 90 Days