Data warehouse or conventional database: Which is right for you?
summary
Compares MySQL row store vs ClickHouse column store with concrete tradeoffs: MySQL uses a clustered B‑tree index, runs on a single server and easily supports millions of queries per second, but struggles with very wide or very long tables. ClickHouse stores each column as compressed arrays (example airline dataset: 173 million rows, 109 columns), uses MPP/sharding for near‑linear scaling, achieves compression often ~20× to 300× and materialized views that give 100x–10,000x speedup for aggregates. Use MySQL for high concurrency transactions, ClickHouse for analytics.
AI-written summary · about
chapters (20)
- 0:00Intro
- 1:39Presenter Bio
- 2:26What kind of database do you need?
- 4:30Key Features of MySQL
- 6:25Airline flight management in MySQL
- 8:26How row data is organized
- 10:46Strengths and weaknesses of MySQL OLTP Online Transaction Processing
- 15:55Airline ontime table definition CREATE TABLE airline.ontime
- 21:26We make data even smaller by compres
- 23:08Data reductions from real data Effects of Codecs and Compression
- 24:43We can speed up queries using more CE
- 25:55Materialized views reduce data still mor
- 26:40Materialized views restructure/reduced
- 27:22Still not fast enough? Add more servers Replicas
- 28:04ClickHouse distributes queries automat
- 29:23Strengths and weaknesses of ClickHou OLTP ("Online Transaction Processing") (-) Lots of lookups (+) Very long tables
- 30:45Where MySQL shines - transaction proc
- 31:49Where ClickHouse shines - analytic app
- 32:37A parting question...
- 33:54Conclusions Row stores like MySQL are great for transaction processing o Lots of updates and small queries
related talks
30mSQL Row Store vs Data Warehouse: Which Is Right for Your Application?
42mClickHouse: what is behind the fastest columnar database
45mClickHouse: what is behind the fastest columnar database
34mClickHouse® - What is Behind the Fastest Columnar Database?
28mColumnstore Revolution
30mReplicating Data from MySQL to ClickHouse
51mWhat You Need to Know About ClickHouse Architecture
42mBuilding an Analytic Extension to MySQL with ClickHouse® and Open Source
