HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
ClickHouse
ClickBench
Shell2022–2026
ClickHouse / ClickBench

ClickBench

ClickBench: a Benchmark For Analytical Databases

33Distinct people
73Mentions
1Explicit recommenders
1.2KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

ClickBench: a Benchmark For Analytical Databases

GitHub

Where it is used

  • rtabench — RTABench uses the Clickbench framework for benchmarking, but it introduces a new dataset and query set that better represents real-time analytics inside applications. All tools, datasets, and benchmark results are available on GitHub, where we welcome contributions for expanding RTABench to support additional databases and optimizations. Source

What people are saying

Also I recommend to read the methodology here: https://github.com/ClickHouse/ClickBench/blob/main/README.md Making an open-source, easily reproducible benchmark with clear…

zX41ZdbW used a recommendation phrase. 2 indexed comments match. This is a phrase match, not a verdict.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 8–Nov 15 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/15/2026, 8:03:49 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year73 dated mentions

Observed mentions: 2022-07-13 16:03:09 UTC to 2026-11-02 01:46:48 UTC.

01020302022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 10 mentions; 1 submissions, 9 comments20222023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 20 mentions; 0 submissions, 20 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 8 mentions; 1 submissions, 7 comments20242025-01-01 00:00:00 UTC to 2026-01-01 00:00:00 UTC (exclusive): 8 mentions; 1 submissions, 7 comments2026-01-01 00:00:00 UTC to 2027-01-01 00:00:00 UTC (exclusive): 27 mentions; 1 submissions, 26 comments. Incomplete calendar period.2026*

* An incomplete calendar period is marked with an outlined bar. Its count is not directly comparable with a full period.

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC1019
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC20020
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC817
20252025-01-01 00:00:00 UTC2026-01-01 00:00:00 UTC817
2026 (partial)2026-01-01 00:00:00 UTC2027-01-01 00:00:00 UTC27126

What Hacker News says

8 sources
Pipe-based query syntax has been appeared a better alternative to SQL in many databases, because it is easier to read, write and maintain. The only thing is that this syntax isn't standardized among databases yet. BTW, we at VictoriaLogs also use pipe-based syntax for LogsQL query language [1] since the first release in 2023. Recently I wrote an SQL -> LogsQL conversion guide [2], which has been appeared quite clear and easy to follow. This guide was written during the conversion of SQL queries to LogsQL at ClickBench benchmark from ClickHouse [3]. [1] https://docs.victoriametrics.com/victorialogs/logsql/ [2] https://docs.victoriametrics.com/victorialogs/sql-to-logsql/ [3] https://github.com/ClickHouse/ClickBench/tree/main/victorial...
In SQL pipe syntax available in public preview in BigQuery
Pay attention that VictoriaLogs doesn't need any configuration and table schema in this benchmark - it is enough to ingest JSON lines, where every line contains a single ad serving event [1]. Also it is interesting to compare the original SQL queries [2] to LogsQL queries [3]. LogsQL queries are shorter and they are easier to understand even if you aren't familiar with LogsQL. See how to convert SQL to LogsQL [4]. [1] https://github.com/ClickHouse/ClickBench/tree/main/victorial... [2] https://github.com/ClickHouse/ClickBench/blob/main/clickhous... [3] https://github.com/ClickHouse/ClickBench/blob/main/victorial... [4] https://docs.victoriametrics.com/victorialogs/sql-to-logsql/
In VictoriaLogs Beats Elasticsearch, MongoDB and PostgreSQL in ClickBench
valyala·Jan 28, 2025Submission

VictoriaLogs Beats Elasticsearch, MongoDB and PostgreSQL in ClickBench

Hi, I'm the core developer of VictoriaLogs - zero-config schemaless open-source database for logs. Recently I tried running ClickHouse benchmark on it [1]. This benchmark executes various analytical queries over a table with 100 million rows. Every row represents an ad serving event with ~100 different fields such as UserID, ClientIP, AdvEngineID and so on. You can look at the table definition at [2]. Why running analytical benchmark against database for logs? VictoriaLogs is designed as a database for logs. It supports both plaintext and structured logs. Structured logs can be written to a single table with pre-defined columns for every field seen in the structured logs. So rows with ad serving events from ClickBench can be treated as structured logs with many fields. Such logs are known also as wide events [3]. VictoriaLogs has some opt
Read the rest
imizations for wide events. For example, it stores data per each column in distinct blocks on disk (aka column-oriented storage). This allows reading data only for the needed columns during query execution. That's why I decided giving VictoriaLogs a try at ClickBench [4]. It has been appeared that VictoriaLogs shows good results there: - it needs 4.5x less disk space than Elasticsearch and PostgreSQL, and 5x less disk space than MongoDB - it loads data 4.7x faster than Elasticsearch and 21x faster than MongoDB - it executes queries 9.3x faster than Elasticsearch, 111x faster than PostgreSQL and 51x faster than MongoDB on average You can easily run and reproduce the benchmark on your hardware by cloning ClickBench [5] and executing benchmark.sh script per each database you want to test (each benchmark.sh script is located in the folder with the corresponding database name). [1] https://benchmark.clickhouse.com/ [2] https://github.com/ClickHouse/ClickBench/blob/main/clickhouse/create.sql [3] https://jeremymorrell.dev/blog/a-practitioners-guide-to-wide-events/ [4] https://github.com/ClickHouse/ClickBench/tree/main/victorialogs [5] https://github.com/ClickHouse/ClickBench
13 points · Open discussion

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.