AWS DMS构建表列表失败

时间:2019-04-03 13:55:43

标签: sql-server amazon-rds-aurora aws-dms

我正在尝试从SQL Server完全加载到Aurora-mysql,但是该任务由于某些错误而失败。 我想知道为什么AWS在此方面如此便宜。

  [TASK_MANAGER ]I: Execute Request Task 'LEDGD7DCQS4IBQSXXQF66YPLIU' running full load only with flags fresh start with cdcPosition null and stop_at null (replicationtask.c:702)
    [TASK_MANAGER ]I: Task 'LEDGD7DCQS4IBQSXXQF66YPLIU' running full load only in fresh start mode (replicationtask.c:1239)
    [TASK_MANAGER ]I: Task Id: bdef8ae7-25e8-432c-bf33-06f6fc86e673 (replicationtask.c:3008)
    [TASK_MANAGER ]I: Creating threads for all components (replicationtask.c:1869)
    [TASK_MANAGER ]E: Build tables list failed [1020486] (replicationtask.c:1993)
    [TASK_MANAGER ]E: Task 'LEDGD7DCQS4IBQSXXQF66YPLIU' failed [1020486] (replicationtask.c:3038)
    [TASK_MANAGER ]W: Task 'LEDGD7DCQS4IBQSXXQF66YPLIU' encountered a fatal error (repository.c:4704)
    [TASK_MANAGER ]I: Task Management thread terminated abnormally (replicationtask.c:3645)

为什么“构建表列表失败”我需要检查什么...遍历了文档,但一无所获。

3 个答案:

答案 0 :(得分:0)

“恢复”而不是“重新启动”为我完成了工作。

答案 1 :(得分:0)

也许尝试将SOURCE_UNLOAD的默认日志记录设置为更详细的级别。两者都低于默认级别。

LOGGER_SEVERITY_DEBUG –将调试消息,参考消息,警告和错误消息写入日志。

LOGGER_SEVERITY_DETAILED_DEBUG –所有信息都写入日志。

您将需要使用CLI来创建任务并为此参考自定义任务设置文件。

来源:AWS DMS Logging

答案 2 :(得分:0)

在DMS EndPoint上配置的用户上可能需要附加格言GRANT。

 GRANT SELECT ON FN_DBLOG TO dmstest;
 GRANT VIEW SERVER STATE TO dmstest;
 use msdb;
 GRANT EXECUTE ON MSDB.DBO.SP_STOP_JOB TO dmstest;
 GRANT EXECUTE ON MSDB.DBO.SP_START_JOB TO dmstest;
 GRANT SELECT ON MSDB.DBO.BACKUPSET TO dmstest;
 GRANT SELECT ON MSDB.DBO.BACKUPMEDIAFAMILY TO dmstest;
 GRANT SELECT ON MSDB.DBO.BACKUPFILE TO dmstest;

https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.SQLServer.html#CHAP_Source.SQLServer.Security