amazon-web-services - AWS DMS 的内部工作原理

标签 amazon-web-services import export aws-dms

在 AWS DMS 中,迁移是如何在内部发生的?是不是像从源表中导出整个数据并导入到目标表中一样?还是像将表记录一条一条迁移到目标表?我是 aws dms 的新手,对那里的工作原理不太了解。

最佳答案

AWS 在其文档和博客文章中公布了 DMS 的工作原理。这是我在开始使用 DMS 时希望拥有的列表:

要深入了解,请参阅:https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Introduction.html

A task can consist of three major phases:

  • The full load of existing data
  • The application of cached changes
  • Ongoing replication

During a full load migration, where existing data from the source is moved to the target, AWS DMS loads data from tables on the source data store to tables on the target data store. While the full load is in progress, any changes made to the tables being loaded are cached on the replication server; these are the cached changes.

...

When the full load for a given table is complete, AWS DMS immediately begins to apply the cached changes for that table. When all tables have been loaded, AWS DMS begins to collect changes as transactions for the ongoing replication phase. After AWS DMS applies all cached changes, tables are transactionally consistent. At this point, AWS DMS moves to the ongoing replication phase, applying changes as transactions.

发件人:https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Introduction.Components.html

看标题:

  1. 复制任务
  2. 持续复制或更改数据捕获 (CDC)

要详细了解 DMS 的内部工作原理,请阅读 AWS 的以下博客:

  1. Debugging Your AWS DMS Migrations: What to Do When Things Go Wrong (Part 1)
  2. Debugging Your AWS DMS Migrations: What to Do When Things Go Wrong (Part 2)
  3. Debugging Your AWS DMS Migrations: What to Do When Things Go Wrong? (Part 3)

最后,在 https://aws.amazon.com/blogs/database/category/migration/aws-database-migration-service-migration/ 浏览特定于您的源数据库和目标数据库的博客。

关于amazon-web-services - AWS DMS 的内部工作原理,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51559550/

相关文章:

ubuntu - Amazon EC2 上的权限被拒绝(公钥)并且无法访问服务器

import - ELF 格式导入符号的源共享库名称

php - 导入excel文件时方法 block 不存在

mysql - 有没有办法将 mysql 数据库从 Windows(Wamp) 移动到 Ubuntu(Xampp)?

java - AWS S3 Java SDK 不将文件复制到文件夹

asp.net - 无法部署到 Elastic Beanstalk : ERROR_FILE_IN_USE

amazon-web-services - 如何在 Kinesis 服务器端记录 IP、时间戳和用户代理

Python 全局变量通过导入?

python - 存储和调用数据的最有效方法是什么?

sql-server - 将数据从 Excel 传输到 SQL Server