Monitoring data migrations in AWS DMS
After you start your homogeneous data migration, you can monitor its status and progress. Data migrations of large data sets such as hundreds of gigabytes take hours to complete. To maintain the reliability, availability, and high performance of your data migration, monitor its progress regularly.
To check the status and progress of your data migration
-
Sign in to the AWS Management Console and open the AWS DMS console at https://console.aws.amazon.com/dms/v2/
. -
Choose Migration projects. The Migration projects page opens.
-
Choose your migration project and navigate to the Data migrations tab.
For your data migration, see the Status column. For more information about values in this column, see Migration statuses.
For a running data migration, the Migration progress column displays the percentage of migrated data.
To check the details of your data migration
-
Sign in to the AWS Management Console and open the AWS DMS console at https://console.aws.amazon.com/dms/v2/
. -
Choose Migration projects. The Migration projects page opens.
-
Choose your migration project. On the Data migrations tab, choose your data migration.
On the Details tab, you can see the migration progress. Particularly, you can see the following metrics.
Public IP address – The public IP address of your data migration. You need this value to configure a network. For more information, see Setting up a network.
Tables loaded – The number of successfully loaded tables.
Tables loading – The number of tables currently loading.
Tables queued – The number of tables currently waiting to be loaded.
Tables errored – The number of tables that failed to load.
Elapsed time – The amount of time that passed after the start of your data migration.
CDC latency – The average time that passes between when a change occurs on a source table and when AWS DMS applies this change to the target table.
Migration started – The time when you started this data migration.
Migration stopped – The time when you stopped this data migration.
To view the log files for your data migration, choose View CloudWatch logs under Homogeneous data migration settings. You can Turn on CloudWatch logs when you create or modify a data migration. For more information, see Creating a data migration and Managing data migrations.
You can use Amazon CloudWatch alarms or events to closely track your data migration. For more information, see What are Amazon CloudWatch, Amazon CloudWatch Events, and Amazon CloudWatch Logs? in the Amazon CloudWatch User Guide. Note that there is a charge for using Amazon CloudWatch.
For homogeneous data migrations, AWS DMS includes the following metrics in Amazon CloudWatch.
Metric |
Description |
---|---|
OverallCDCLatency |
The overall latency during the CDC phase. For MySQL databases, this metric shows the number of seconds that passes between the change in the source binary log and the replication of this change. For PostgreSQL databases, this metric shows the number of seconds that passes between
Units: Seconds |
StorageConsumption |
The storage that your data migration consumes. Units: Bytes |