Re:ClickHouse Cloud is now in Public Beta
by hodgesrm on Tuesday October 04, 2022 @01:06PM
(#33083334)
Good point. If you just want to copy data far and away the easiest way to transfer data is using MySQLDatabaseEngine. You can even copy table definitions. Watch for issues with Decimal datatypes if you do this.
Re:ClickHouse Cloud is now in Public Beta
by morelisp on Tuesday October 04, 2022 @03:30PM
(#33085506)
Be careful with this engine, it's easy to accidentally expose the password as you only need table read permissions if it wasn't set up using an external credential file.
https://github.com/ClickHouse/ClickHouse/issues/3311
I also had some pretty bad join performance (CH table joined to MySQL table), the quick solution to both of these is that we instead use the table function (https://clickhouse.com/docs/en/sql-reference/table-functions...) to copy the data periodically.
Re:ClickHouse Cloud is now in Public Beta
by hodgesrm on Tuesday October 04, 2022 @06:53PM
(#33088243)
Use Named Collections to protect credentials. They are very handy. Here's an article that discusses use in the JDBC Bridge.
https://altinity.com/blog/connecting-clickhouse-to-external-...
Disclaime: I work for Altinity.
https://clickhouse.com/docs/en/integrations/migration/
Depending on what you are trying to achieve, you could use clickhouse-local with the MySQL engine to move data, or could use an ETL/ETL tool to migrate/sync