Change disk storage type
AnalyticDB for PostgreSQL provides multiple disk storage types with different performance and pricing. You can change an instance's disk storage type to match your workload.
Prerequisites
The instance uses Elastic Storage Mode.
Background
AnalyticDB for PostgreSQL provides the following disk types. For more information about disk performance, see Block storage performance.
-
PL0 ESSD
-
PL1 ESSD
-
PL2 ESSD
NotePL2 ESSD is supported only when the storage capacity per node is greater than 500 GB.
-
ultra disk
NoteUltra disks are no longer available for new purchases. This does not affect existing instances.
Considerations
-
An ESSD cannot be changed to an Efficient Cloud Disk.
-
You can only upgrade the storage type from PL0 ESSD to PL1 or PL2 ESSD. You cannot downgrade from PL1 or PL2 ESSD to PL0 ESSD.
-
Changing the disk storage type affects instance read and write performance. Perform this change during off-peak hours.
-
Changing the disk storage type can take several hours or longer. The exact duration depends on the throughput during scaling, the storage space, and the original disk type.
The following table provides reference data for different scenarios based on the number of compute nodes, storage space, and data volume.
Compute nodes
Storage space (GB)
Data volume (GB)
Duration (hours)
4
50
10
1.5
4
500
3
8
5.5
4
1500
15.5
4
500
100
4.5
Billing
After the change, Alibaba Cloud bills you based on the new disk storage type. For pricing details, see pricing.
Procedure
Choosing the right disk storage type and node specifications for your use case can improve instance performance. Before changing the disk storage type, see Instance types and selection.
- Log on to the AnalyticDB for PostgreSQL console.
- In the upper-left corner of the console, select a region.
- Find the target instance. In the Actions column, select Scale compute nodes > Upgrade Node Specifications.
-
On the Change Specifications page, select the target disk storage type.
To modify other configurations, see Scale compute nodes.
NoteDuring the disk storage type change, the database remains accessible for reads and writes, but database performance may be affected. If you also change the compute node specifications, the database is read-only during the compute node scaling process.
- Read and select the service agreement, and then click Buy Now.
After you start scaling, the instance status changes to Upgrading/Downgrading. When the instance status returns to Running, the change is complete.
Related documentation
For more information about ESSD, see ESSD.