DBDB.io The Encyclopedia of Database Systems · Est. 2017
Database of Databases

Database Entry

StarRocks


StarRocks is a distributed relational DBMS designed for data warehouse workloads.

Source Code
https://github.com/StarRocks/StarRocks[02]
Country of Origin
CN
Start Year
2021 [04]
Project Types
Commercial, Open Source
Written in
C++, Java
Derived From
Doris, Impala, Kudu
Embeds / Uses
Berkeley DB
Compatible With
MySQL
Operating System
Linux
License
Apache v2

Database Entry

StarRocks


StarRocks is a distributed relational DBMS designed for data warehouse workloads.

Compression


Concurrency Control


Data Model


Fault Tolerance


Foreign Keys


StarRocks uses foreign keys for performance enhancements, while users can declare foreign keys, but they are not enforced.

Indexes


StarRocks supports a wide range of secondary indexes, including prefix index, bitmap index, bloomfilter index, n-gram index, inverted index, and ANN (Approximate Nearest Neighbor) indexes.

Joins


StarRocks is MPP and is able to perform in-memory data shuffling.

Parallel Execution


Query Compilation


StarRocks uses vectorization without query compilation globally. Its expression uses JIT compilation.

Query Interface


SQL

Storage Architecture


Storage Format


StarRocks has its own storage formats and can directly query data stored in Apache Hudi, Apache Iceberg, Delta and Paimon formats.

Storage Model


System Architecture


User-Defined Functions


Views


StarRocks Materialized View supports multi-table queries and can perform query rewrites during query execution.

Revision #7 Last Updated: