Skip to main content
Version: 3.5 Stable

SSB Flat-table Benchmarking

Star schema benchmark (SSB) is designed to test basic performance metrics of OLAP database products. SSB uses a star schema test set that is widely applied in academia and industry. For more information, see Star Schema Benchmark.

ClickHouse flattens the star schema into a wide flat table and rewrites the SSB into a single-table benchmark. For more information, see Star schema benchmark of ClickHouse

This test compares the performance of PhoenixAI, Apache Druid, and ClickHouse against SSB single-table datasets.

Test conclusions​

The test is performed on an OLAP table in a classic PhoenixAI cluster, together with ClickHouse and Apache Druid, against the same dataset.

Based on the results from 13 queries performed on the 100 GB SSB-Flat dataset, PhoenixAI has an overall query performance 2x that of ClickHouse and 5.1x that of Apache Druid. The unit of the results are milliseconds.

SSB-CD

Test preparation​

Hardware​

PhoenixAI, Apache Druid, and ClickHouse are deployed on hosts of the same configurations - AWS m7i.4xlarge.

Spec
Instance Number5
vCPU16
Memory (GiB)64
Network Bandwidth (Gbps)Up to 12.5
EBS Bandwidth (Gbps)Up to 10

Software​

PhoenixAIClickHouseApache Druid
Cluster SizeOne FE, three BEsThree nodesOne Master Server, one Query Servers, and three Data Servers
Version3.5.025.3.3.4233.0.0
Release Date2025.6.132025.4.222025.4.29
ConfigurationDefaultDefaultDefault

Test results​

The following table shows the performance test results on 13 queries. The unit of query latency is milliseconds. All queries are warmed up 1 time and then executed 3 times to take the average value as the result. ClickHouse vs PhoenixAI and Druid vs PhoenixAI in the table header means using the query response time of ClickHouse/Druid to divide the query response time of PhoenixAI. A larger value indicates better performance of PhoenixAI.

QueryPhoenixAIClickHouseDruidClickHouse vs PhoenixAIDruid vs PhoenixAI
SUM924185847102.015.10
Q0126493301.8812.69
Q0216312601.9416.25
Q0320292501.4512.50
Q041331974201.483.16
Q051101794401.634.00
Q06601583202.635.33
Q071302495101.923.92
Q08831973802.374.58
Q09801503501.884.38
Q1016332502.0615.63
Q111503405502.273.67
Q12601333302.225.50
Q13401133202.838.00