SQL Row Store vs Data Warehouse: Which Is Right for Your Application?
summary
Compares MySQL row store and ClickHouse column store using MySQL and ClickHouse examples and concrete numbers. MySQL handles millions‑per‑second tiny transactions and high concurrency with single‑server scope. ClickHouse stores columns, compresses ~75% on the airline dataset of 173 million rows, uses codecs and vectorized parallel execution to get 50–100x speedups and materialized views that shrink scans from 14.59GB → 2.31MB. ClickHouse shards linearly, reads sparse index blocks of ~8k rows, has slower updates and eventual consistency.
AI-written summary · about
chapters (19)
- 0:00Intro
- 0:34Presenter Bio
- 1:53Key Features of MySQL
- 3:42Airline flight management in MySQL
- 5:26How row data is organized
- 11:35Airline ontime table definition CREATE TABLE airline.ontime
- 15:38There is no longer a penalty for wide tables
- 17:27We make data even smaller by compressing
- 19:04Data reductions from real data Effects of Codecs and Compression
- 20:35We can speed up queries using more CPUs
- 21:44Materialized views reduce data still more...
- 22:10Materialized views restructure/reduce data 50-100x query speed-up 2.31 MiB
- 23:12Still not fast enough? Add more servers! Replicas
- 23:54ClickHouse distributes queries automatically
- 24:35Strengths and weaknesses of ClickHouse OLTP ("Online Transaction Processing")
- 26:40Where MySQL shines - transaction processing
- 27:18Where ClickHouse shines - analytic apps
- 27:51A parting question...
- 28:59Conclusions Row stores like MySQL are great for transaction processing
related talks
40mData warehouse or conventional database: Which is right for you?
42mClickHouse: what is behind the fastest columnar database
28mColumnstore Revolution
30mReplicating Data from MySQL to ClickHouse
34mClickHouse® - What is Behind the Fastest Columnar Database?
45mClickHouse: what is behind the fastest columnar database
42mBuilding an Analytic Extension to MySQL with ClickHouse® and Open Source
51mWhat You Need to Know About ClickHouse Architecture
