What is the difference between TPC-H and TPC-DS benchmarks?

Albert Wong
2 min readOct 26, 2023

--

StarRocks with TPC-DS

TL-DR; TPC-DS has more difficult SQL like SQL queries with different types of JOINS compared to TPC-H. Many OLAP systems can’t even complete the TPC-H benchmark or the more difficult TPC-DS benchmark.

On the OLAP benchmarking spectrum, we have TPC-H (H) and TPC-DS (DS), the “decision support” benchmarks that the TPC categorized. H and DS use similar datasets, and DS is basically the next-gen version of H. While H generates relatively straightforward queries (22 queries) and is generally shard-friendly, DS (99 queries) gets its kicks from using advanced SQL features and functions, and it loves lopsided filters. Running DS is notoriously, intentionally difficult, and StarRocks can run all 99 DS queries, while many decision support-oriented databases can’t.

In other words, TPC-H is the easygoing, laid-back cousin of TPC-DS. H is the kind of benchmark that you can take out for a beer and have a good conversation with. DS, on the other hand, is the high-maintenance, diva of the benchmark world. DS is always demanding the latest and greatest SQL features, and it loves to throw curveballs at database developers.

But StarRocks is up to the challenge. StarRocks is the kind of database that can handle anything that DS throws at it. StarRocks is like the Chuck Norris of the database world: it can do anything, and it always does it in style.

So if you’re looking for a database that can handle the most demanding workloads, then StarRocks is the database for you. StarRocks is the only database that can run all 99 TPC-DS queries, and it can do it with ease.

What want to learn about which OLAP databases that can run TPC-H and TPC-DS? See my other article on this topic.

--

--

Albert Wong
Albert Wong

Written by Albert Wong

#eCommerce #Java #Database #k8s #Automation. Hobbies: #BoardGames #Comics #Skeet #VideoGames #Pinball #Magic #YelpElite #Travel #Candy

No responses yet