StarRocks /starrocks

The world's fastest open query engine for sub-second analytics both on and off the data lakehouse. With the flexibility to support nearly any scenario, StarRocks provides best-in-class performance for multi-dimensional analytics, real-time analytics, and ad-hoc queries. A Linux Foundation project.

★ 12,256⑂ 2,674👁 188⑃ 72,441● 10,668▤ 199
JavaApache-2.0Created 2021-09-04starrocks.io
下载:4.1.74.1.7 ↓4.1.72026-11-03
12,256
stars
2,674
forks
188
watchers
72,441
prs
10,668
issues
199
releases

README

Download | Docs | Benchmarks | Demo



 
    
    
    
   
    
  
  
   
    
  
  
   
    
  
  
   
    
  
  
    
  
 

 


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 our biggest annual event at  Next Query 2026 to learn how people are building analytics systems that work today—and preparing them for what comes next.


 
    
   



 Features

 🚀 Native vectorized SQL engine: StarRocks adopts vectorization technology to make full use of the parallel computing power of CPU, achieving sub-second query returns in multi-dimensional analyses, which is 5 to 10 times faster than previous systems.
 📊 Standard SQL: StarRocks supports ANSI SQL syntax (fully supported TPC-H and TPC-DS). It is also compatible with the MySQL protocol. Various clients and BI software can be used to access StarRocks.
 💡 Smart query optimization: StarRocks can optimize complex queries through CBO (Cost Based Optimizer). With a better execution plan, the data analysis efficiency will be greatly improved.
 ⚡ Real-time update: The updated model of StarRocks can perform upsert/delete operations according to the primary key, and achieve efficient query while concurrent updates.
 🪟 Intelligent materialized view: The materialized view of StarRocks can be automatically updated during the data import and automatically selected when the query is executed.
 ✨ Querying data in data lakes directly: StarRocks allows direct access to data from Apache Hive™, Apache Iceberg™, Delta Lake™ and Apache Hudi™ without importing.
 🎛️ Resource management: This feature allows StarRocks to limit resource consumption for queries and implement isolation and efficient use of resources among tenants in the same cluster.
 💠 Easy to maintain: Simple architecture makes StarRocks easy to deploy, maintain and scale out. StarRocks tunes its query plan agilely, balances the resources when the cluster is scaled in or out, and recovers the data replica under node failure automatically.




  
 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 

Top issues

Discussions

Latest release

4.1.7 4.1.7 2026-11-03
4.1.7

Release Date: October 26, 2026

 Behavior Changes

- Local (shared-nothing) Primary Key inserts no longer check the immutable L1 and L2 persistent-index files for duplicate keys by default. The new BE configuration skip_pindex_l1_l2_check_in_insert defaults to true; L0 (memtable) checks are always performed. Set it to false to restore the previous behavior. 81304
- BE JVM metrics are enabled by default (enable_jvm_metrics now defaults to true). They are collected only once a JVM exists, so enabling them no longer starts a JVM on a BE that does not otherwise need one. 81113 81074
- The d

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON