Skip to main content
Version: 4.x

TPC-DS Benchmarking

TPC-DS is a decision support benchmark developed by the Transaction Processing Performance Council (TPC). It uses more comprehensive test datasets and complex SQL queries than TPC-H.

TPC-DS models several generally applicable aspects of a decision support system, including queries and data maintenance. TPC-DS aims to provide a comprehensive and realistic workload for testing and evaluating the performance of database systems in a retail environment. The TPC-DS benchmark simulates the sales and return data of three sales channels (stores, Internet, and catalog) in a retail enterprise. In addition to creating tables for sales and return data models, it also includes a simple inventory system and a promotion system.

This benchmark tests a total of 99 complex SQL queries against 24 tables whose data size ranges from 1 GB to 3 TB. The main performance metric is the response time of each query, which is the duration between the time a query is submitted to the time the result is returned.

Test Conclusions

The test is performed against the TPC-DS 1 TB dataset on PhoenixAI and Trino. The unit of the following results are milliseconds.

TPC-DS-CD

For PhoenixAI, the test queries are performed on its native tables (under both classic and elastic architecture) and Iceberg Catalog (under elastic architecture). For Trino, the test queries are performed on the same Iceberg Catalog. Both tests for PhoenixAI and Trino on the Iceberg Catalog use AWS Glue as the metastore, and Parquet-formatted data with ZSTD compression. For Databricks Photon, the test queries are performed on Delta Lake tables. It also uses AWS Glue as the metastore, and Parquet-formatted data with ZSTD compression.

The test results are:

  • Queries performed on the OLAP table in the PhoenixAI classic cluster took 295 seconds.
  • Queries performed on the OLAP table in the PhoenixAI elastic cluster took 299 seconds.
  • Queries performed on Iceberg Catalog in the PhoenixAI elastic cluster took 311 seconds.
  • Queries performed on Iceberg Catalog in Trino took 2,552 seconds.
  • Queries performed on Delta Lake in Databricks Photon took 415 seconds.

The conclusions are:

  • PhoenixAI delivers comparable performance in both classic and elastic architecture

    In OLAP table query scenarios, PhoenixAI in the classic mode achieves 1.01× the performance of the elastic mode, indicating minimal performance overhead from storage-compute separation.

  • PhoenixAI significantly outperforms Trino and Databricks Photon in Lakehouse query scenarios out of the box, with even greater advantages in OLAP table queries

    • In Iceberg Catalog query scenarios, PhoenixAI delivers 8.2× the performance of Trino and 1.3x the performance of Databricks Photon.
    • In OLAP table queries, the performance gap widens further—PhoenixAI achieves 8.52× (under classic mode) and 8.54× (under elastic mode) the performance of Trino, and 1.4x the performance of Databricks Photon (under both classic and elastic mode).

Test Preparation

Hardware

PhoenixAI and Trino are deployed on hosts of the same configurations - AWS m6id.4xlarge.

Spec
Instance Number5
vCPU16
Memory (GiB)64
Instance Storage (GB)1x950 NVMe SSD
Network Bandwidth (Gbps)Up to 12.5
EBS Bandwidth (Gbps)Up to 10

Software

PhoenixAITrinoDatabricks Photon
Cluster SizeOne FE, four BEOne Coordinator, four WorkersOne Driver, four Workers
Version3.5.047516.4 LTS
Release Date2025.6.132025.4.232025.5.9
Configurationset query_mem_limit=66571993088; (62 GB)query.max-memory=224GB
query.max-memory-per-node=35GB
Default

Test results

The following table shows the performance test results on 99 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. Trino vs PhoenixAI on Iceberg and Databricks vs PhoenixAI in the table header means using the query response time of Trino to divide the query response time of PhoenixAI. A larger value indicates better performance of PhoenixAI. Before the test on Iceberg Catalog, ANALYZE TABLE and EXPLAIN COST statements are executed on PhoenixAI to collect statistics.

QueryPhoenixAITrinoDatabricks PhotonTrino vs PhoenixAI On IcebergDatabricks vs PhoenixAI
OLAP TableIceberg CatalogIceberg CatalogDelta Lake
ClassicElasticElastic
Lower number is betterPhoenixAI advantage
SUM294,895299,219310,6812,552,076415,8098.21 x1.34 x
Q017486057092,2761,8913.21 x2.67 x
Q021,1369341,73321,2893,74512.28 x2.16 x
Q031931464041,7641,0024.37 x2.48 x
Q0418,18215,93515,938200,24914,89512.56 x0.93 x
Q054655411,7485,5741,7143.19 x0.98 x
Q062091763362,9091,1028.66 x3.28 x
Q076669411,5973,6382,0722.28 x1.30 x
Q082011753312,5341,2397.66 x3.74 x
Q094,5493,9705,51836,1256,7206.55 x1.22 x
Q102953085332,4711,4154.64 x2.65 x
Q1110,8889,6699,916133,23011,30213.44 x1.14 x
Q121241242071,0676675.15 x3.22 x
Q134184441,80518,2972,56710.14 x1.42 x
Q1415,96814,73515,007143,17215,1569.54 x1.01 x
Q155334565552,1589923.89 x1.79 x
Q1653154495014,0351,94114.77 x2.04 x
Q171,0129421,6385,4872,8953.35 x1.77 x
Q188619311,6784,7362,3802.82 x1.42 x
Q192342645021,8702,3413.73 x4.66 x
Q201521662371,2578305.30 x3.50 x
Q2186801999456184.75 x3.11 x
Q221,8101,8232,1857,8712,4543.60 x1.12 x
Q2383,12079,42851,596488,65334,1939.47 x0.66 x
Q247,6209,03511,50943,43623,5533.77 x2.05 x
Q258449191,3894,3472,4793.13 x1.78 x
Q263765027622,9611,2773.89 x1.68 x
Q274585331,3334,2191,9253.17 x1.44 x
Q283,1703,2224,61924,67811,8185.34 x2.56 x
Q291,3242,0962,14910,6407,1654.95 x3.33 x
Q302943035012,7701,3365.53 x2.67 x
Q312,1932,0302,40710,2603,5604.26 x1.48 x
Q321112192811,0357003.68 x2.49 x
Q332372416132,7431,2794.47 x2.09 x
Q343754166602,4552,6433.72 x4.00 x
Q351,3921,4051,6008,0232,3005.01 x1.44 x
Q365435281,0763,3421,7923.11 x1.67 x
Q372532422086,17896729.70 x4.65 x
Q384,7064,5465,21438,4084,9787.37 x0.95 x
Q393613488135,6963,6817.01 x4.53 x
Q401221315151,5541,2633.02 x2.45 x
Q414747752714273.61 x5.69 x
Q42811011949965455.13 x2.81 x
Q434886746534,1081,6246.29 x2.49 x
Q441,4501,5745,00316,4683,7703.29 x0.75 x
Q454184095292,2129084.18 x1.72 x
Q461,4621,7041,5024,7802,5943.18 x1.73 x
Q472,7972,7593,24242,7045,43513.17 x1.68 x
Q484915231,33512,4641,8069.34 x1.35 x
Q494965141,3443,8271,9272.85 x1.43 x
Q503,7384,9684,18721,7714,8625.20 x1.16 x
Q514,7254,5743,41812,2474,6033.58 x1.35 x
Q52911062241,0075924.50 x2.64 x
Q534576288941,7681,2011.98 x1.34 x
Q5420825777731,8642,20541.01 x2.84 x
Q55871052191,1875805.42 x2.65 x
Q561751855002,1331,2724.27 x2.54 x
Q571,7591,7282,13226,0423,96312.21 x1.86 x
Q582392515223,0321,0505.81 x2.01 x
Q593,7453,7363,36120,8193,2896.19 x0.98 x
Q602542956492,7491,4324.24 x2.21 x
Q613323389362,0541,9262.19 x2.06 x
Q625095289025,1041,2505.66 x1.39 x
Q634476298661,7191,1621.98 x1.34 x
Q644,4458,7198,29116,99011,9672.05 x1.44 x
Q652,8362,7713,63920,6166,8945.67 x1.89 x
Q663983881,0943,5112,0053.21 x1.83 x
Q6729,20328,39221,68489,43038,3994.12 x1.77 x
Q682553317082,8832,0184.07 x2.85 x
Q692762814682,1811,1904.66 x2.54 x
Q702,8152,9173,45421,4994,1956.22 x1.21 x
Q712781,1106392,5788,5624.03 x13.40 x
Q721,6361,8745,077504,5735,26599.38 x1.04 x
Q731952303771,9339425.13 x2.50 x
Q749,0868,9869,08278,0717,8538.60 x0.86 x
Q756,2587,4108,99226,27010,0892.92 x1.12 x
Q762,4662,3294,82411,2664,5502.34 x0.94 x
Q772402376962,7851,1674.00 x1.68 x
Q7816,75015,86019,23151,49716,7392.68 x0.87 x
Q792,1422,3581,6805,5722,0053.32 x1.19 x
Q805618502,5344,7622,7741.88 x1.09 x
Q814935007634,0402,0425.29 x2.68 x
Q8261160583911,6221,26213.85 x1.50 x
Q831602124002,2741,3885.69 x3.47 x
Q842134433203,0868989.64 x2.81 x
Q854736851,2415,4241,7904.37 x1.44 x
Q867337388563,4221,0724.00 x1.25 x
Q874,6514,8895,14341,3005,8428.03 x1.14 x
Q881,5651,5862,82130,73813,89210.90 x4.92 x
Q895347389162,2271,4202.43 x1.55 x
Q903263366343,8901,4426.14 x2.27 x
Q91102982322,0358148.77 x3.51 x
Q92851432509946533.98 x2.61 x
Q933,7904,6035,77622,9263,7553.97 x0.65 x
Q945999849955,8841,5825.91 x1.59 x
Q951,7593,0032,66629,6072,05311.11 x0.77 x
Q961,5101,4092,5614,9052,1031.92 x0.82 x
Q974,7455,0135,51722,7265,8674.12 x1.06 x
Q982853133501,9113,6905.46 x10.54 x
Q991,1651,1921,49610,9702,3607.33 x1.58 x