tencent cloud

Feedback

Data Migration Guide

Last updated: 2023-04-03 16:53:58

    Relevant information

    Overall process

    Step
    Description
    1. Prepare.
    Before creating a data migration task, you need to prepare the source and target databases and a network environment as instructed in Preparations Overview to meet the environment requirements.
    2. Create a data migration task.
    This section provides only a basic sample migration task. For more scenarios, see Migration from MySQL to TencentDB for MySQL.
    3. View the task progress or perform other operations.
    You can view the overall migration progress and details and perform operations such as verification and retry as instructed in Viewing Task.
    You can view various data migration metrics as instructed in Viewing Monitoring Metric.
    4. Perform the business cutover.
    You need to select an appropriate time for business cutover to reduce the impact on the business. For more information, see Cutover Description.

    Sample data migration task

    Notes:
    The following only summarizes the steps of configuring a data migration task for your reference. For detailed directions, parameters, and operation limits, see Data Migration (NewDTS).
    1. Log in to the DTS console, select Data Migration on the left sidebar, and click Create Migration Task to enter the Create Migration Task page.
    2. On the Create Migration Task page, select the types, regions, and specifications of the source and target instances and click Buy Now.
    3. On the Set source and target databases page, configure the task, source database, and target database settings. After the source and target databases pass the connectivity test, click Create.
    
    4. On the Set migration options and select migration objects page, configure the migration type and objects and click Save.
    
    5. On the task verification page, verify the task. After the verification is passed, click Start Task. If the verification failed, you can view the specific check items and failure causes, fix the problem as prompted, and initiate the verification task again.
    
    6. Return to the data migration task list, and you can see that the task has entered the Preparing status. After 1–2 minutes, the data migration task will be started.
    Select Structural migration or Full migration: Once completed, the task will be stopped automatically.
    Select Full + Incremental migration: After full migration is completed, the migration task will automatically enter the incremental data sync stage, which will not stop automatically. You need to click Complete to manually stop the incremental data sync.
    Manually complete incremental data sync and business switchover at appropriate time.
    Check whether the migration task is in the incremental sync stage without any lag. If so, stop writing data to the source database for a few minutes.
    Manually complete incremental sync when the data gap between the target and the source databases is 0 KB and the time lag between them is 0 seconds.
    
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support