ClickHouse In Real Life
Case Studies and Best Practices
Alexander Zaitsev, LifeStreet/Altinity Percona Live 2018
ClickHouse In Real Life Case Studies and Best Practices Alexander - - PowerPoint PPT Presentation
ClickHouse In Real Life Case Studies and Best Practices Alexander Zaitsev, LifeStreet/Altinity Percona Live 2018 Who am I M.Sc. In mathematics from Moscow State University Software engineer since 1997 Developed distributed systems
Alexander Zaitsev, LifeStreet/Altinity Percona Live 2018
MySQL/InfoBright/PostreSQL/Sp ark to ClickHouse
ClickHouse
24.04 16:50 CLICKHOUSE GATE 2 boarding 24.04 19:30 CLICKHOUSE GATE 3 24.04 20:00 CLICKHOUSE GATE 4
Temp tables (local) Fact tables (shard) SummingMergeTree (shard) SummingMergeTree (shard) Log Files INSERT MV MV INSERT Buffer tables (local) Realtime producers INSERT Buffer flush MySQL Dictionaries CLICKHOUSE NODE
S1 S2 S3 S4 Sn Table1 S1 S2 S3 S4 Sn Table1 Replica1 Replica2 Altinity Ltd. www.altinity.com S1 S2 S3 S4 Sn Table1 Replica3
100B data points
http://stat.bloxy.info/superset/dashboard/today/?standalone=true
http://stat.bloxy.info/superset/dashboard/today/?standalone=true
http://stat.bloxy.info/superset/dashboard/mixer/?standalone=true Mystical Mixer
select * from MySQL('host:port', 'database', 'table', 'user', 'password'); https://www.altinity.com/blog/2018/2/12/aggregate-mysql-data-at-high-speed-with-clickhouse
https://github.com/Altinity/clickhouse-mysql-data-reader
MySQL ProxySQL binlog reader Applications
query-logs-clickhouse/
logs-clickhouse-clicktail/
Contact me: alexander.zaitsev@lifestreet.com alz@altinity.com skype: alex.zaitsev telegram: @alexanderzaitsev