Querying the Migration Progress

The migration progress of an online migration task helps you keep track of the status of the migration task.

DRS shows the migration progress using a progress bar, helping you learn the migration progress in real time. During full migration, you can check migration details.

  • With the progress bar, you can view the migration progress of structures, data, and indexes. When the progress reaches 100%, the migration is complete. The migration of data and indexes is relatively slow.
  • In the migration details, you can view the migration progress of a specific object. If the number of objects is the same as that of migrated objects, the migration is complete. You can view the migration progress of each object in details. During incremental migration, the progress details are not displayed. You can view the consistency status on the Migration Comparison tab.

    Only whitelisted users who migrate data from MySQL to MySQL can view the migration details. To use this function, submit a service ticket. In the upper right corner of the management console, choose Service Tickets > Create Service Ticket to submit a service ticket.

Prerequisites

  • You have logged in to the DRS console.
  • A migration task has been started.

Procedure

  1. On the Online Migration Management page, click the target migration task name in the Task Name/ID column.
  2. On the displayed page, click Migration Progress to view the migration progress.

    • View the migration progress percentage of structures, data, and indexes.
      When a full migration is complete, the progress of each item reaches 100%. If you select the Full+Incremental migration type, an incremental migration will start after the full migration is complete. You can view the delay of the incremental migration on the Migration Progress page. If the delay is 0s, it means that the destination database is synchronized with the source database in real time.
      Figure 1 Migration progress overview

      "Delay" refers to the delay from when the transaction was submitted to the source database to when it is synchronized to the destination database and executed.

      Transactions are synchronized as follows:

      1. Data is extracted from the source database.
      2. The data is transmitted over the network.
      3. DRS parses the source logs.
      4. The transaction is executed on the destination database.

      If the delay is 0, the source database is consistent with the destination database, and no new transactions need to be synchronized.

      Frequent DDL operations, ultra-large transactions, and network problems may result in excessive synchronization delay.

    • View the migration task progress. In the Migration Details area, locate the target migration object and click View Details in the Operation column to view the migration progress. After the incremental migration starts, the progress is not displayed. You can click the Migration Comparison tab to compare the data consistency.
      Figure 2 Migration progress details
    • Check the data read and write performance. Click the Monitoring Graphs to view the read and write performance. This graph shows the real-time rates of reading data from the source database and writing data to the destination database. The unit is MB/s.
      Figure 3 Performance monitoring