It’s been a while since I wrote about ClickHouse, there are a lot of new features that are worth mentioning, and for this, I recommend to follow the Altinity Blog but today I want to look at the improved integration of ClickHouse and MySQL.
There are two features:
- Using MySQL protocol and MySQL client to connect to ClickHouse
- Use MySQL tables to select and join with ClickHouse tables
Using MySQL Protocol
By enabling MySQL protocol in ClickHouse server, you will allow for the MySQL command line tool or applications that typically connect to MySQL to connect to ClickHouse and execute queries.
With this, keep in mind:
- It does not automatically allow you to use MySQL SQL syntax, you still need to write queries in ClickHouse-dialect.
- The same issue with datatypes. ClickHouse uses Int32/Int64 …