Parameter | Description |
Storage type | Select the storage type that is used for the new RDS instance. Note If the Upgrade mode parameter is set to Local upgrade, you do not need to configure this parameter. The major engine version upgrade feature is based on snapshots for cloud disks. You can select one of the following storage types: General ESSD ESSD PL1 ESSD PL2 ESSD PL3
|
The Available Zone | Specify the zones and vSwitches of the new RDS instance and its secondary RDS instance. The zones that you specify can be different from the zones of the original RDS instance. Note If the Upgrade mode parameter is set to Local upgrade, you do not need to configure these parameters. |
For Available Zone |
Primary Instance Switch |
Standby Instance Switch |
Cutover configuration | Specify whether to enable the system to automatically switch your workloads over to the new RDS instance. No cutting: The system does not automatically switch your workloads over to the new RDS instance. Before you perform an upgrade, we recommend that you select the No cutting configuration method to test whether the new major engine version is compatible with your workloads. If the new major engine version passes the compatibility test, you can release the new RDS instance. Then, you can select the Cutover configuration method to perform the upgrade. For more information, see Release or unsubscribe from an ApsaraDB RDS for PostgreSQL instance and Procedure. Note The data migration does not interrupt your workloads on the original RDS instance. If you select the No cutting configuration method, you must change the endpoint of the original RDS instance to the endpoint of the new RDS instance on your application after the data is migrated to the new RDS instance. For more information about how to view the endpoint of an RDS instance, see View and change the endpoints and port numbers of an ApsaraDB RDS for PostgreSQL instance.
Cutover: The system automatically switches your workloads over to the new RDS instance. This configuration method is used to perform an upgrade after you verify that the new major engine version is compatible with your workloads. If you use the local upgrade mode, no new RDS instance is created and the original RDS instance inherits the original configurations. You do not need to modify the endpoint configuration in your application. If you use the blue-green deployment mode, your application is automatically connected to the new RDS instance after the switchover is complete. You do not need to modify the endpoint configuration in your application.
Note After the switchover is complete, you cannot roll your workloads back to the original RDS instance. Proceed with caution. During the switchover, the original RDS instance processes only read requests. We recommend that you perform the switchover during off-peak hours. If read-only RDS instances are attached to the original RDS instance, you cannot select the Cutover configuration method. In this case, you can upgrade the major engine version of the original RDS instance only by using the No cutting configuration method. In addition, the read-only RDS instances that are attached to the original RDS instance are not cloned. After the upgrade is complete, you must create a read-only RDS instance for the RDS instance that runs the new major engine version. For more information, see Create a read-only ApsaraDB RDS for PostgreSQL instance.
|
Cutover time | Specify the point in time when the system switches your workloads over to the new RDS instance after the data is migrated to the new RDS instance. immediately: After the data is migrated to the new RDS instance, the system immediately switches your workloads over to the new RDS instance. Instance operation and maintenance time: The system switches your workloads over to the new RDS instance during the maintenance window that you specified. For more information, see Set the maintenance window of an ApsaraDB RDS for PostgreSQL instance.
Note This parameter is required only when the Cutover configuration parameter is set to Cutover. |
Upgrade mode | Select an upgrade mode. Note This parameter is required only when the Cutover configuration parameter is set to Cutover. This parameter is not available for RDS for PostgreSQL instances that use local disks. The blue-green deployment mode is used for these instances by default.
Local upgrade: The major engine version upgrade is performed on the original RDS instance, and no new RDS instance is created. After the upgrade, the original RDS instance runs the new major engine version and inherits the original orders, name, tags, alert rules in CloudMonitor, and backup settings. Blue green deployment: After the major engine version of the RDS instance is upgraded, the original RDS instance is retained and a new RDS instance is created. No fees are generated for the creation of the new RDS instance. After the new RDS instance is created, fees are generated based on the new billing method that may be different from the original billing method. After the upgrade is complete, fees are generated for both the original and new RDS instances, and the new RDS instance cannot enjoy the discounts provided for the original RDS instance.
|
Statistical information collection mode | Specify the point in time at which the system collects the statistics of the new RDS instance. Collection before cutting: This option ensures the stability of your database service. If the original RDS instance contains a large amount of data, the upgrade may require a long period of time. Collection after cutting: This option accelerates the upgrade process. If you access tables for which no statistics are generated, the query plans that you specify may be inaccurately executed. In addition, your database service may be unavailable during peak hours.
Note If you select the No cutting configuration method, the Collection before cutting option specifies that the system collects the statistics of the new RDS instance before the new RDS instance starts to process read and write requests, and the Collection after cutting option specifies that the system collects the statistics of the new RDS instance after the new RDS instance starts to process read and write requests. |
Storage space | Specify the storage capacity of the new RDS instance. Note If the Upgrade mode parameter is set to Local upgrade, you do not need to configure this parameter. If the original RDS instance uses local SSDs, you can reduce the storage capacity of the RDS instance when you upgrade the major engine version of the RDS instance. The minimum value that you specify for the Storage space parameter must meet the following requirements: The minimum value is determined by the smaller one between the following values: The used storage of the original RDS instance multiplied by 120% in GB. If the result is not a multiple of 5, the obtained value is rounded up to a multiple of 5. The storage capacity of the original RDS instance.
The minimum value is greater than or equal to the minimum storage capacity of an ESSD. If the minimum value is smaller than the minimum storage capacity of an ESSD, you must use the minimum storage capacity of the ESSD as the minimum value. The following list provides the minimum storage capacities of ESSDs of different performance levels (PLs). ESSD PL1: 20 GB ESSD PL2: 500 GB ESSD PL3: 1,500 GB
Note Examples: The storage capacity of the original RDS instance is 100 GB, 70 GB of storage is used, and ESSD PL1 is selected as the storage type when you upgrade the major engine version of the RDS instance. Calculation method: 70 × 120% = 84, rounded up to 85. The minimum value for the Storage space parameter is 85 GB. The storage capacity of the original RDS instance is 700 GB, 350 GB of storage is used, and ESSD PL2 is selected as the storage type when you upgrade the major engine version of the RDS instance. Calculation method: 350 × 120% = 420. The obtained value 420 GB is smaller than 500 GB that is supported by an ESSD of PL2. The minimum value for the Storage space parameter is 500 GB.
|
Instance specification | Specify the instance type of the new RDS instance. For more information about the instance types that are supported, see Primary ApsaraDB RDS instance types. Note If the Upgrade mode parameter is set to Local upgrade, you do not need to configure this parameter. |