Updated on 2024-01-10 GMT+08:00

Upgrading a Major Engine Version

Precautions

DDS does not support major engine version upgrade on the console. You can use DRS to migrate data as required.

For example, you can use DRS to migrate data from DDS 3.4 to DDS 4.0 without interrupting services.

Constraints

Before migrating data using DRS, you need to create the destination DB instance in advance.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click in the upper left corner of the page and choose Databases > Document Database Service.
  4. On the Instances page, click an instance you want to migrate. On the displayed Basic Information page, click Migrate Database in the upper right corner of the page.

    For more information, see Migrating Data to the Cloud in Data Replication Service User Guide.

    Table 1 Database versions

    Source DB Version

    Destination Database Version

    Migration Type

    Self-built MongoDB/Other cloud MongoDB/DDS

    • 3.4
    • 4.0
    • 4.2
    • 4.4

    DDS

    • 3.4
    • 4.0
    • 4.2
    • 4.4

    Version upgrade

    • Data cannot be migrated from a newer version database to an older version database.
    • During the specification change, two primary/standby switchovers and two intermittent disconnections will occur. After that, check the DRS task.
    • After a major version upgrade, you can change the IP address of the newer version database to the IP address of the older version database. To perform this operation, release the IP address of the older version database first. For details, see Changing a Private IP Address.