Mafiree logo
  • About
  • Services
  • Blogs
  • Careers
  • Products
    • orbit logo Orbit
    • streamer logo Xstreami
  • Contact
Schedule a Call
Menu
  • About
  • Services
  • Blogs
  • Careers
  • Products
    • orbit logo Orbit
    • streamer logo Xstreami
  • Contact
  • Schedule a Call
Database
Database Managed Database Services
MySQL MySQL
MySQL Consulting
MySQL Migration Services
MySQL Optimization & Query Tuning
MySQL Database Administration
MySQL Backup & Recovery
MySQL Security & Maintenance
MySQL Cloud Services (AWS RDS, Aurora, Google Cloud SQL, Azure)
MySQL for Ecommerce
MySQL High Availability & Replication
MongoDB MongoDB
MongoDB Consulting
MongoDB Migration Services
MongoDB Optimization & Query Tuning
MongoDB Database Administration
MongoDB Backup & Recovery
MongoDB Security & Maintenance
MongoDB Cloud (Atlas)
MongoDB Solutions by Industry
MongoDB High Availability & Replication
PostgreSQL PostgreSQL
PostgreSQL Consulting
PostgreSQL Migration & Upgrades
Performance Tuning & Query Optimization
PostgreSQL Administration & Managed Services
High Availability, Clustering & Replication
PostgreSQL Backup, Recovery & Disaster Planning
PostgreSQL Security, Compliance & Auditing
PostgreSQL for Analytics & Data Warehousing
PostgreSQL on Cloud & Containers
PostgreSQL Extensions & Open-Source Integrations
PostgreSQL for Every Industry
SQL Server MSSQL
MSSQL Consulting
MSSQL Migration Services
MSSQL Optimization & Query Tuning Services
MSSQL Database Administration Services
MSSQL Backup & Recovery Services
MSSQL High Availability & Replication Services
MSSQL Security & Compliance Services
MSSQL Performance Monitoring & Health Checks
MSSQL Solutions by Industry
Aerospike Aerospike
Aerospike Consulting
Aerospike Migration Services
Aerospike Performance Optimization & Tuning
Aerospike Backup & Recovery
Aerospike High Availability
Aerospike Cloud & Hybrid Deployments
Aerospike for Real-Time Applications (AdTech, FinTech, Retail, IoT)
Clickhouse Clickhouse
ClickHouse Consulting
ClickHouse Migration Services
ClickHouse Optimization & Query Tuning
ClickHouse Database Administration
ClickHouse Backup & Recovery
ClickHouse Security & Maintenance
ClickHouse Cloud Services (ClickHouse Cloud, AWS, GCP, Azure)
ClickHouse Solutions by Industry
ClickHouse High Availability & Replication
TiDB TiDB
TiDB Consulting
TiDB Administration & Maintenance
TiDB Security and Privacy Maintenance
TiDB Performance & Query Optimization
TiDB Migration Services
TiDB Backup & Disaster Recovery
TiDB High Availability Solutions
TiDB Solutions by Industry
TiDB Cloud Services
ScyllaDB ScyllaDB
ScyllaDB Consulting
ScyllaDB Administration & Maintenance
ScyllaDB Security and Privacy Maintenance
ScyllaDB Performance & Query Optimization
ScyllaDB Migration Services
ScyllaDB Backup & Disaster Recovery
ScyllaDB High Availability Solutions
ScyllaDB Solutions by Industry
ScyllaDB Cloud Services
DevOps
DevOps DevOps Services
Version Control Version Control
Kubernetes Kubernetes
Infrastructure Infrastructure Management
Web Servers Web Servers
Networking
Networking Networking Services
Basic Basic
Advanced Advanced
MySQL MySQL
MongoDB MongoDB
PostgreSQL PostgreSQL
MSSQL MSSQL
Aerospike Aerospike
Clickhouse Clickhouse
TiDB TiDB
ScyllaDB ScyllaDB
Version Control Version Control
Kubernetes Kubernetes
Infrastructure Infrastructure Management
Web Servers Web Servers
Basic Basic
Advanced Advanced
MySQL Consulting
MySQL Migration Services
MySQL Optimization & Query Tuning
MySQL Database Administration
MySQL Backup & Recovery
MySQL Security & Maintenance
MySQL Cloud Services (AWS RDS, Aurora, Google Cloud SQL, Azure)
MySQL for Ecommerce
MySQL High Availability & Replication
MongoDB Consulting
MongoDB Migration Services
MongoDB Optimization & Query Tuning
MongoDB Database Administration
MongoDB Backup & Recovery
MongoDB Security & Maintenance
MongoDB Cloud (Atlas)
MongoDB Solutions by Industry
MongoDB High Availability & Replication
PostgreSQL Consulting
PostgreSQL Migration & Upgrades
Performance Tuning & Query Optimization
PostgreSQL Administration & Managed Services
High Availability, Clustering & Replication
PostgreSQL Backup, Recovery & Disaster Planning
PostgreSQL Security, Compliance & Auditing
PostgreSQL for Analytics & Data Warehousing
PostgreSQL on Cloud & Containers
PostgreSQL Extensions & Open-Source Integrations
PostgreSQL for Every Industry
MSSQL Consulting
MSSQL Migration Services
MSSQL Optimization & Query Tuning Services
MSSQL Database Administration Services
MSSQL Backup & Recovery Services
MSSQL High Availability & Replication Services
MSSQL Security & Compliance Services
MSSQL Performance Monitoring & Health Checks
MSSQL Solutions by Industry
Aerospike Consulting
Aerospike Migration Services
Aerospike Performance Optimization & Tuning
Aerospike Backup & Recovery
Aerospike High Availability
Aerospike Cloud & Hybrid Deployments
Aerospike for Real-Time Applications (AdTech, FinTech, Retail, IoT)
ClickHouse Consulting
ClickHouse Migration Services
ClickHouse Optimization & Query Tuning
ClickHouse Database Administration
ClickHouse Backup & Recovery
ClickHouse Security & Maintenance
ClickHouse Cloud Services (ClickHouse Cloud, AWS, GCP, Azure)
ClickHouse Solutions by Industry
ClickHouse High Availability & Replication
TiDB Consulting
TiDB Administration & Maintenance
TiDB Security and Privacy Maintenance
TiDB Performance & Query Optimization
TiDB Migration Services
TiDB Backup & Disaster Recovery
TiDB High Availability Solutions
TiDB Solutions by Industry
TiDB Cloud Services
ScyllaDB Consulting
ScyllaDB Administration & Maintenance
ScyllaDB Security and Privacy Maintenance
ScyllaDB Performance & Query Optimization
ScyllaDB Migration Services
ScyllaDB Backup & Disaster Recovery
ScyllaDB High Availability Solutions
ScyllaDB Solutions by Industry
ScyllaDB Cloud Services
  1. Home
  2. > Blogs
  3. > Clickhouse
  4. > MySQL vs ColumnStore vs ClickHouse Benchmark

MySQL vs ColumnStore vs ClickHouse Benchmark

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

Subscribe for email updates

Summarize with AI: ChatGPT Google AI Perplexity Claude Grok

 

Why We Needed an Analytics Database 

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.


Benchmarking MySQL, MariaDB ColumnStore, and ClickHouse


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.

 

Benchmark - MySQL vs Columnstore vs Clickhouse

 

 Data Size Comparison

  • MySQL - 298.95 G
  • Columnstore - 24.6 G
  • Clickhouse - 11.4 G

Wow. This is good. Can you believe ~300G came down to ~24G in Columnstore and ~11G in Clickhouse?

 

 Query Performance Comparison

 

Benchmark - Query Performance - MySQL vs Columnstore vs Clickhouse

 

Note : Query fails on 6 month in MySQL and Columnstore


Benchmark - Query Performance - MySQL vs Columnstore vs Clickhouse

Benchmark - Query Performance - MySQL vs Columnstore vs Clickhouse

 

Benchmark Results 

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.

 

Key Takeaways

Benchmark - Summary - MySQL vs Columnstore vs Clickhouse

 

Our workload doesn’t have any updates or deletes, so we have chosen Clickhouse and we are in production now.

 

Conclusion

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.

 

FAQ

ClickHouse is designed for analytical workloads and uses column-oriented storage, allowing it to read and process only the columns required by an analytical query. This is particularly beneficial for large time-series datasets involving filtering, aggregation, and scanning large numbers of rows. In the benchmark, ClickHouse performed particularly well for larger time-series queries compared with MySQL and MariaDB ColumnStore.
MySQL is primarily designed as a row-oriented relational database and is well suited for OLTP workloads. As analytical data volumes grow, queries involving large scans and aggregations can become increasingly expensive. ClickHouse is purpose-built for OLAP and large-scale analytical queries. In the benchmark, MySQL and ColumnStore queries failed when the tested time range reached six months, while ClickHouse continued to perform effectively.
In the benchmark workload, approximately 298.95 GB of MySQL data was reduced to 11.4 GB in ClickHouse, while MariaDB ColumnStore required approximately 24.6 GB. This represents substantially lower storage consumption for the tested time-series dataset. However, these storage ratios should not be treated as universal. Compression and storage efficiency depend on the data types, cardinality, schema, sorting strategy, and workload.
For the specific time-series workload tested in this benchmark, ClickHouse delivered better query performance and lower storage consumption than MariaDB ColumnStore. The benchmark therefore selected ClickHouse for the production workload because it contained primarily append-oriented time-series data with no updates or deletes. This result should not be interpreted as a universal benchmark; database performance depends heavily on workload, schema, hardware, configuration, and query patterns.
ClickHouse is a strong candidate when the workload involves large volumes of analytical or time-series data, particularly when queries perform aggregations and scans across large datasets. MySQL remains a better fit for many transactional workloads involving frequent inserts, updates, deletes, point lookups, and OLTP-style transactions. A common architecture is therefore to keep MySQL as the transactional database and replicate or stream data into ClickHouse for analytics.

Author Bio

sukan

Sukan is Database Team Lead at Mafiree with over a decade of experience in database systems, architecture, and performance optimization. He specializes in MySQL, MongoDB, TiDB, and ClickHouse, developing architectural improvements that make data platforms faster, more efficient, and cost-effective. Sukan writes about practical database engineering topics, real-world performance tuning, data replication, and high-scale system design, drawing from extensive hands-on experience solving complex technical challenges.

Leave a Comment

Related Blogs

ClickHouse vs MongoDB: Choosing the Right Database for Your Use Case

ClickHouse and MongoDB solve different problems: ClickHouse is a columnar OLAP database ideal for analytical queries over billions of rows, while MongoDB is a document store built for operational read-write workloads. This guide helps DBAs, architects, and CTOs choose the right database — or design a hybrid architecture that uses both. Mafiree's database engineers walk through storage models, indexing, HA, and real-world use cases.

  146 views
Speeding up ClickHouse Queries: Materialized Views vs. Refreshable Views Explained

Learn how materialized views and their refreshable counterparts simplify complex analytics by precomputing results, boosting query performance, and enabling near real-time decision-making.

  142 views
From Arrays to UUIDs: ClickHouse Functions That Will Surprise You!

Unlock the full potential of ClickHouse with these must-know functions. From data transformation to advanced analytics, elevate your database skills today!

  13194 views
What is Clickhouse

Experience the future of analytics with ClickHouse! Its powerful columnar storage and vectorized execution allow for lightning-fast data processing, making it ideal for real-time insights.

  99 views
Can effective archiving cut your infrastructure costs by 50%?

Discover how effective data archival can slash your infrastructure costs by 50%! Learn how we helped one client streamline their database management and improve performance.

  149 views

Subscribe for email updates

Get in touch with us

Highlights

More than 6000 Servers Monitored

Happy Clients

Certified DBAs

24 x 7 x 365 Support

PCI

Database Services

MySQL MongoDB PostgreSQL SQL Server Aerospike Clickhouse TiDB ScyllaDB

Quick Links

Careers Blog Contact Privacy Policy Disclaimer Policy

Contacts

Linkedin Mafiree Facebook Mafiree Twitter Mafiree

Nagercoil Office

Miru IT Park, Vallankumaranvillai,

Nagercoil, Tamilnadu - 629 002.

Bangalore Office

Unit 303, Vanguard Rise,

5th Main, Konena Agrahara,

Old Airport Road, Bangalore - 560 017.

Call: +91 6383016411

Email: sales@mafiree.com


Copyright © - All Rights Reserved - Mafiree