这个错误意味着AWS DMS在执行完全加载(全量复制)后停止了复制任务。要解决该问题,可以按照以下步骤进行:
以下是一个示例AWS DMS复制任务的启动类型JSON:
{
"TargetMetadata": {
"TargetSchema": "",
"SupportLobs": true,
"FullLobMode": false,
"LobChunkSize": 64,
"LimitedSizeLobMode": true,
"LobMaxSize": 32,
"InlineLobMaxSize": 0,
"LoadMaxFileSize": 0,
"ParallelLoadThreads": 0,
"ParallelLoadBufferSize": 0,
"BatchApplyEnabled": false,
"TaskRecoveryTableEnabled": false,
"ParallelLoadQueuesPerThread": 1
},
"FullLoadSettings": {
"TargetTablePrepMode": "DO_NOTHING",
"CreatePkAfterFullLoad": false,
"StopTaskCachedChangesApplied": false,
"StopTaskCachedChangesNotApplied": false,
"MaxFullLoadSubTasks": 8,
"TransactionConsistencyTimeout": 600,
"CommitRate": 10000
},
"Logging": {
"EnableLogging": true,
"LogSize": 0,
"LogComponent": "ORA",
"IncludeErrorDetails": true,
"IncludeEmptySchema": false,
"IncludeFullTableScans": false
},
"ControlTablesSettings": {
"HistoryTimeslotInMinutes": 5,
"ControlSchema": "",
"HistoryTableEnabled": true,
"Retryattempts": 5,
"Retry