Choosing the right database for analytics depends on the workload, data size, and query patterns. This blog compares MySQL, MariaDB ColumnStore, and ClickHouse using a large time-series dataset. The benchmark compares storage usage and query performance, with ClickHouse delivering the best results for this particular workload and ultimately being selected for production.
sukan September 10, 2026
Recently one of our clients wanted to replicate data from MySQL to analytics database. As in MySQL we have to wait for hours to get output if the range was high and managing data size was another challenge that we had as a month data growth was around 300G.
Choosing the right database for OLAP is difficult as each product has its own design, SQL standards, features etc.. which cannot be matched with OLTP applications.
Also each application workload behave differently on analytic database products because of the server config, data size and mainly the application queries.
We started to benchmark Columnstore of MariaDB and Clickhouse of Yandex. Both are columnar storage.
Our workload was majorly time series data. This benchmark has really helped us to decide to move to the right product for our workload.
Wow. This is good. Can you believe ~300G came down to ~24G in Columnstore and ~11G in Clickhouse?
Note : Query fails on 6 month in MySQL and Columnstore
Clickhouse stands out in time series queries especially for larger data set, it’s performance is way better than MySQL and Columnstore for larger time series.
Note: This results cannot be matched with other application queries as each query behave differently.

Our workload doesn’t have any updates or deletes, so we have chosen Clickhouse and we are in production now.
Our benchmark showed that ClickHouse was the better fit for our large, time-series workload, delivering better storage efficiency and query performance. Since our workload had no updates or deletes, we moved forward with ClickHouse and are now running it in production.
At Mafiree, we help businesses assess database technologies against their actual workloads, so they can make informed decisions on performance, scalability, and long-term database efficiency.
Miru IT Park, Vallankumaranvillai,
Nagercoil, Tamilnadu - 629 002.
Unit 303, Vanguard Rise,
5th Main, Konena Agrahara,
Old Airport Road, Bangalore - 560 017.
Call: +91 6383016411
Email: sales@mafiree.com