[英]AWS setup for Migration of Data
Current setup:当前设置:
Details:细节:
Problem:问题:
My design options:我的设计选项:
Is this possible to do via DMS?这可以通过 DMS 进行吗? I tried doing research and all I could find were samples of data movement between two databases, no third one.
我试着做研究,我能找到的只是两个数据库之间的数据移动样本,没有第三个。
Is the best solution for this combination of DMS and Lambda?这种 DMS 和 Lambda 组合的最佳解决方案是什么? This is the one I have come up with let me know if this is ok, or is there a better way?
这是我想出的,让我知道这是否可以,或者有更好的方法吗?
Part 1: Setup dms to migrate data from users (clientdb1) to a temp table in clientdb2 Part 2: Create a lambda worker that listen to data inserts in the temp table when query the needed data in clientdb3 then finally insert it in users (clientdb2).第 1 部分:设置 dms 以将数据从用户(clientdb1)迁移到 clientdb2 中的临时表第 2 部分:创建 lambda 工作人员,当在 clientdb3 中查询所需数据时侦听临时表中插入的数据,然后最终将其插入用户(clientdb2 )。
Any advice would be appreciated.任何意见,将不胜感激。 Thanks
谢谢
It sounds like you simply need columns renamed from DB1 to DB2.听起来您只需要将列从 DB1 重命名为 DB2。 You can do that on the fly with DMS transformations.
您可以使用 DMS 转换即时执行此操作。 Read more on that here: AWS DMS Transformations .
在此处阅读更多信息: AWS DMS 转换。 Have a look, you can do a lot within DMS.
看看,你可以在 DMS 中做很多事情。
To add additional columns, just add them to the table in the 2nd database, as empty columns, and then DMS will populate them from table in 1st database.要添加其他列,只需将它们作为空列添加到第二个数据库中的表中,然后 DMS 将从第一个数据库中的表中填充它们。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.