【clickhouse】ck远程访问另一个ck

代码实现

CREATE TABLE tmp.tbs
 as remote( host, database_name, table_name, user, password );

就相当于从ck1直接请求ck2

参考文档
https://github.com/ClickHouse/ClickHouse/issues/15295
https://clickhouse.com/docs/zh/sql-reference/table-functions/remote

猜你喜欢

转载自blog.csdn.net/weixin_44325637/article/details/134931941