Refreshing table structures for MySQL DB Engine

31 views
Skip to first unread message

Csongor Fagyal

unread,
Apr 13, 2023, 9:35:43 AM4/13/23
to ClickHouse
Hello,

I have noticed that when using the MySQL DB Engine, if a table/view structure is changed in MySQL (actually we are using MariaDB), it is not reflected in ClickHouse, unless:
- CH is restarted
or
- The DB is recreated in CH

Anybody knows any workaround for this?

Thank you,
- Cs.

Dima Novik

unread,
Apr 13, 2023, 10:42:44 AM4/13/23
to ClickHouse
Hi,

This feature works this way by design. You can try to replace it with mysql table function if possible:
https://clickhouse.com/docs/en/sql-reference/table-functions/mysql

Best wishes,
Dmitrii

Reply all
Reply to author
Forward
0 new messages