Open source high-performance data warehouse for sub-second analytics
open sourceApache-2.0self-hostablefree
StarRocks is an open source MPP analytical database and query engine for sub-second, ad-hoc analytics on fresh data and directly on the data lakehouse. Its vectorized SQL engine and cost-based optimizer run complex multi-table joins without denormalizing data, it speaks ANSI SQL and the MySQL protocol so existing clients and BI tools connect, and its primary key model takes real-time upserts and deletes while queries run. It queries Apache Hive, Iceberg, Delta Lake and Hudi tables in place, keeps materialized views up to date and picks them automatically, and since version 3.0 has a shared-data architecture that separates storage from compute. It is a Linux Foundation project; CelerData sells a hosted version.
Problems it solves
- run sub-second analytics queries on fresh data for a customer-facing dashboard
- query our Iceberg lakehouse tables fast without copying them into a warehouse
- join large tables in real time without denormalizing everything first
- serve analytical queries to many AI agents at once with low latency
Features
- vectorized MPP SQL engine
- cost-based optimizer for multi-table joins
- ANSI SQL and MySQL protocol compatibility
- real-time upserts and deletes by primary key
- automatic materialized views
- queries Hive, Iceberg, Delta Lake and Hudi in place
- shared-data architecture separating storage and compute
- resource groups for multi-tenant isolation
Alternatives
The same job
These do what StarRocks does.
- Apache Doris Open source real-time analytics database with SQL, lakehouse queries and hybrid search
- ClickHouse Build. Observe. Secure. At any scale.
- Apache Druid A high performance, real-time analytics database
- Google BigQuery AI-native, serverless analytics engine
- Tinybird Managed ClickHouse with tooling to ship real-time analytics features
- CrateDB Distributed SQL. Sub-second queries on live operational data
