What‘s ClickHouse?
ClickHouse® is a
high-performance
,column-oriented
SQL database management system (DBMS) for online analytical processing (OLAP). It is available as both an open-source software and a cloud offering.
ClickHouse是一个高性能,面向列的SQL数据库管理系统(DBMS),用于在线分析处理OLAP
Key Characteristics
column-oriented
SQL database
Quick Start
Create Database
Create Table
Insert
Query
Updating and Deleting ClickHouse Data
ALTER TABLE website.clicks UPDATE visitor_id = getDict(‘visitors’, ‘new_visitor_id’, visitor_id) WHERE visit_date < ‘2022-01-01’
Integrating MySQL with ClickHouse
The MySQL table engine allows you to connect ClickHouse to MySQL. SELECT and INSERT statements can be made in either ClickHouse or in the MySQL table. This article illustrates the basic methods of how to use the
MySQL
table engine.
graph LR
A[Configure MySQL] --> B[Define a Table in ClickHouse]
B --> C[Test the Integration]