简体   繁体   中英

No Data appearing in Redshift from MongoDB using AWS DMS

I am trying to test the AWS data migration service to fetch some data from Atlas MongoDB to Redshift cluster, I have created the replication instance, both the endpoints, successfully tested the connection them and created the replication task, the task loads and completes normally but no data appears in redshift, just empty tables?

Anybody can you please help what might be the reason?

加载完成但表统计信息中没有行

Ok so first try to debug it, modify the task and enable cloudwatch logs and run the task again and look at the logs, also enalbe data assessment task you will need to add an iam role for that. Some mistakes I made was that the endpoint for mongodb needs an atlasadmin login, no other will work, tell me if it did not work. Also make sure all tasks have correct db name, capitol letters matter, same happend with me, my endpoint had db name with small letters and my task had db name with capitol letter, the task was successful but no data.Lastly and most important is that make sure your mongo peering connection is correctly figured with aws. Im sure when you see the logs there will be an un authorized error.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM