Updated on 2022-09-16 GMT+08:00

Upgrading a Major Engine Version

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.

Before using this method, you need to prepare the instance of a later version.

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.

Table 1 Database versions

Source DB Version

Destination Database Version

Migration Type

Self-built MongoDB/Other cloud MongoDB/DDS

  • 3.4
  • 4.0

DDS

  • 3.4
  • 4.0

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.