Clickhouse Benchmark
ClickBench: The ClickHouse Benchmark site - Some Observations
Some time ago, I learnt about ClickBench. Although, the title says “a Benchmark For Analytical DBMS”, it also includes data for traditional RDBMS systems like MySQL, Postgres etc.
ClickHouse runs extensive benhmarks.
- The best part is that all the results are freely available on GitHub and
- The fun part is that you can use this website to compare results for any 2 or more products even other than ClickHouse !
Here’s a snapshot of the homepage (dark-mode is enabled)
It looks impressive, but that’s lot of information to digest and it certainly feels overwhelming … :slightly_smiling_face:
The webpage is divided into 3 sections:
- Various Inputs (System, Type, Machine etc.)
- A horizontal bar chart reporting the Relative times and
- The Detailed Comparison table
After spending some time playing around, I realized that one can get lot more meaningful information from this website by deselecting the defaults and instead, by choosing parameters that matter to you. e.g.
Say, you want to do side-by-side comparison between ClickHouse and TimescaleDB aka TigerData.
- After selecting the following inputs,
you get to see more of an Apples to Apples comparison as seen below.
Notice that both the runs were done on the same Amazon EC2 instance type: c6a.4xlarge with 500 GB gp2.
-
If you click on the ‘System & Machine’ type in the ‘Relative time’ output, then it takes you to the corresponding results data on GitHub e.g. ClickHouse (c6a.4xlarge, 500gb gp2).
One of the benefits of visiting the GitHub page is that we get to see some additional information in the JSON output like cluster_size, tags, data size etc. -
By howering the cursor on query ID, we also get to see the actual query that was run e.g.
Wish List
- The benchmark site is kind of “hidden”. Maybe, it should be listed in the drop down list from the Resources tab on the ClickHouse homepage.
- It would be helpful to know the product versions that were used for benchmarking.
Looks like as of today, the version information is available only for ClickHouse !
- I believe, the existing ClickHouse users would want to know what changes - new features, bug-fixes are incorporated in a specific release.
This information is available from the main website, but a link to the Release Notes would make it easier to take a peek.
- I believe, the existing ClickHouse users would want to know what changes - new features, bug-fixes are incorporated in a specific release.
- An intelligent input selection available via drop down menu that filters out all the permutations that are not relevant.
This would save some time for the end-users, make it easy to grok the information and as a side benefit, would also free up some space in the top portion of the website.