文档首页> 数据复制服务 DRS> 故障排除> 失败案例> MySQL->GaussDB(DWS)实时同步> 增量同步失败报错,关键词“Table *** not found in target database”
更新时间:2022-12-27 GMT+08:00
分享

增量同步失败报错,关键词“Table *** not found in target database”

场景描述

增量同步期间DRS任务报错,同步日志界面提示:service INCREMENT failed, cause by: Check table structure consistency fail!Table %s not found in target database

可能原因

  • 源库创表的DDL语句在同步时设置了过滤条件未在目标库执行。
  • 直接在目标库执行了删表操作。
  • DDL语句在同步时设置了过滤条件,online DDL 时部分 DDL(如rename)被过滤掉。

解决方案

  • 如果是前两种原因,请用户参考源库表结构在目标库创建对应的表。
  • 如果是onlineDDL部分DDL被过滤,请把临时表rename为目标库正确的表名。
分享:

    相关文档

    相关产品