You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -265,6 +270,7 @@ mysql_timezone: 'UTC' # optional, timezone for MySQL timestamp conversion (de
265
270
- `exclude_databases`- databases to __exclude__, string or list, eg `'table1*'` or `['table2', 'table3*']`. If same database matches `databases` and `exclude_databases`, exclude has higher priority.
266
271
- `exclude_tables`- databases to __exclude__, string or list. If same table matches `tables` and `exclude_tables`, exclude has higher priority.
267
272
- `target_databases`- if you want database in ClickHouse to have different name from MySQL database
273
+
- `target_tables` - if you want table in ClickHouse to have different name from MySQL table. Specify as `source_database.source_table: target_table_name`. The target database is determined by existing rules (e.g., `target_databases` mapping). This mapping applies to both initial and realtime replication, including DDL operations like ALTER, DROP, etc.
268
274
- `log_level`- log level, default is `info`, you can set to `debug` to get maximum information (allowed values are `debug`, `info`, `warning`, `error`, `critical`)
269
275
- `optimize_interval`- interval (seconds) between automatic `OPTIMIZE table FINAL` calls. Default 86400 (1 day). This is required to perform all merges guaranteed and avoid increasing of used storage and decreasing performance.
270
276
- `auto_restart_interval`- interval (seconds) between automatic db_replicator restart. Default 3600 (1 hour). This is done to reduce memory usage.
0 commit comments