Upgrading the Major Version of a DB Instance on the Console

Scenarios

RDS for PostgreSQL allows you to upgrade the major version of your DB instance in either of the following methods:

Constraints

Precautions

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click Service List. Under Database, click Relational Database Service. The RDS console is displayed.
  4. On the Instances page, click the instance name.
  5. In the navigation pane, choose Major Version Upgrade.
  6. On the displayed page, select the target version, click Check Now, and wait for several minutes.

    • If plugins are installed on the instance after a successful upgrade check, an upgrade may fail due to compatibility issues. If this happens, perform a check again.
    • If the upgrade check fails, you can click View Report on the Upgrade Checks tab page and rectify the incompatibility based on the report.

  7. After the check is successful, click Next. Select "I understand Precautions for the Upgrade." and click Upgrade Now.
  8. Specify Cutover and Collect Statistics.

    During a major version upgrade, optimizer statistics are not automatically synchronized. Statistics need to be collected after the upgrade is complete.

    • Before cutover: Service stability is ensured. If your instance has a large amount of data, the upgrade may take a longer time.
    • After cutover: Faster upgrade is ensured. After the upgrade, accessing tables that no statistics have been generated for may cause inaccurate execution plans and even instance breakdowns during peak hours.