Note
If you have an ApsaraDB RDS for MySQL instance, you can upgrade the instance to a PolarDB for MySQL cluster. After the upgrade, the account, databases, IP address whitelists, and required parameters of the source ApsaraDB RDS for MySQL instance are migrated to the PolarDB for MySQL cluster. For more information, see Overview of upgrading an ApsaraDB RDS for MySQL instance to a PolarDB for MySQL cluster.
If you have an existing PolarDB for MySQL cluster, you can upgrade the major version of the PolarDB for MySQL cluster by migrating the data from the existing cluster to a new PolarDB for MySQL cluster. After the upgrade, the account, databases, IP address whitelists, and required parameters of the source cluster are retained in the destination cluster. For more information, see Overview of major version upgrades.
Enterprise Edition
Standard Edition
Step 1: Complete the basic settings
In this step, configure the basic settings of a cluster, including the billing method, region, zone, database engine, edition, specifications, and storage.
Go to the PolarDB cluster purchase page.
Configure Billing Method.
Subscription: a upfront model. You select the resources of fixed specifications and pay upfront when you create a cluster. The longer subscription duration has the greater the discount. This method is suitable for businesses with consistent and long-term resource requirements.
Pay-as-you-go: a postpaid model. You select the resources of fixed specifications but do not need to pay upfront when you create a cluster. You are charged based on your actual resource usage. This method is suitable for businesses with flexible resource requirements.
Serverless: a postpaid model. You do not need to select the resources of fixed specifications or pay upfront when you create a cluster. In this billing method, PolarDB can dynamically scale resources based on the workload requirements. This method is applicable to businesses with fluctuating or unpredictable loads.
Note
If your billing method no longer meets your business requirements, you can switch the billing method. For more information, see Switch between billing methods.
Configure Region.
Select a region that is near your geographical location to reduce latency. You cannot change the region of a cluster after the cluster is created. For more information, see Regions and zones.
Note
Make sure that the PolarDB cluster and the Elastic Compute Service (ECS) instance to which it will be connected are deployed in the same region. Otherwise, the PolarDB cluster and the ECS instance can communicate only over the Internet, which degrades performance.
For Creation Method, choose Create Primary Cluster to create a PolarDB cluster.
Or you can choose another option as follows according to your needs:
Create Secondary Cluster: Creates a secondary cluster that is deployed in a global database network (GDN). For more information, see Add a secondary cluster.
Upgrade/Migrate from PolarDB: Creates a cluster by replicating data from the source PolarDB cluster and synchronizing incremental data. This method is often used to upgrade the major version of a PolarDB for MySQL cluster. For more information, see Overview of major version upgrades.
Source PolarDB Version: the version of the source PolarDB cluster. Valid values: MySQL 5.6, MySQL 5.7, and MySQL 8.0.
Source PolarDB Cluster: the source PolarDB cluster.
Migrate from RDS: creates a cluster by cloning the data of an ApsaraDB RDS instance and synchronizing incremental data. In most cases, this method is used to migrate data. Before migration is complete, the PolarDB cluster remains in the read-only mode, with binary logging enabled by default. For more information, see Overview.
Source RDS Version: the engine version of the source RDS instance. Valid values: MySQL 5.6, MySQL 5.7, and MySQL 8.0.
Source RDS Instance: the available source ApsaraDB RDS instances. Read-only instances are excluded.
Note
Read-only instances are not displayed in the list. ApsaraDB RDS instances that run non-InnoDB engines are not supported. When you create a PolarDB cluster by restoring from a backup, the source instance can keep running without being interrupted.
Clone from RDS: Creates a PolarDB cluster by cloning all the data of a selected ApsaraDB RDS instance. For more information, see Clone an ApsaraDB RDS for MySQL instance to a PolarDB for MySQL cluster.
Source RDS Version: the engine version of the source ApsaraDB RDS instance. Valid values: MySQL 5.6, MySQL 5.7, and MySQL 8.0.
Source RDS Instance: the available source ApsaraDB RDS instances. Read-only instances are excluded.
Note
ApsaraDB RDS instances that run non-InnoDB engines are not supported. When you create a PolarDB cluster by restoring from a backup, the source instance can keep running without being interrupted.
Restore from Recycle: creates a cluster by restoring a backup of a deleted cluster from the recycle bin.
Source Version: the version of the cluster that is deleted.
Deleted Clusters: the name of the cluster that is deleted.
Backup History: the backup file that you want to restore.
Configure Database Engine.
PolarDB supports the following database engines:
MySQL 8.0.2 (fully compatible with MySQL 8.0)
(Recommended) MySQL 8.0.1 (fully compatible with MySQL 8.0)
MySQL 5.7 (fully compatible with MySQL 5.7)
MySQL 5.6 (fully compatible with MySQL 5.6)
For Database Edition, choose Enterprise Edition.
Set Edition.
Select Cluster Edition (Recommended) or Multi-master Cluster (Limitless). For more information, see Editions.
Note
The Multi-master Cluster (Limitless) option is available only when you choose MySQL 8.0.1 for Database Engine and one of the following for Creation Method: Create Primary Cluster, Upgrade/Migrate from PolarDB, or Restore from Recycle.
Set Specification.
You can select General-purpose or Dedicated for Enterprise Edition clusters.
Dedicated: The cluster does not share allocated compute resources such as CPUs with other clusters on the same server. This improves the reliability and stability of the cluster.
General-purpose: Idle computing resources such as CPUs are shared among clusters on the same host to ensure cost-effectiveness.
For more information about the comparison between the types of specifications, see Comparison between general-purpose and dedicated compute nodes.
Set Primary Zone.
The zone in which the new cluster is deployed. A zone is a geographically isolated location within a region. All zones in a region provide the same level of service performance.
You can deploy your PolarDB cluster and ECS instance in the same zone or in different zones.
You need to specify only the primary zone. The system automatically selects a secondary zone.
Configure a VPC and a vSwitch.
The network type is fixed to VPC. You do not need to configure this parameter. Make sure that the PolarDB cluster is created in the same VPC as the ECS instance to which you want to connect. Otherwise, the cluster and the ECS instance cannot communicate over the internal network to achieve optimal performance.
Use an existing VPC that meets your network requirements. For example, if you have an existing ECS instance and the VPC to which the ECS instance belongs meets your network requirements, select the VPC.
Otherwise, use the default VPC and the default vSwitch.
Default VPC:
Only one VPC is specified as the default VPC in the region that you select.
The CIDR block of the default VPC uses a 16-bit subnet mask, such as 192.168.0.0/16, and provides up to 65,536 private IP addresses.
The default VPC does not count against the quota of VPCs that you can create.
Default vSwitch:
Only one vSwitch is specified as the default vSwitch in the zone that you select.
The CIDR block of the default vSwitch uses a 20-bit subnet mask, such as 192.168.0.0/20, and provides up to 4,096 private IP addresses.
The default vSwitch does not count against the quota of vSwitches that you can create in a VPC.
If the default VPC and vSwitch cannot meet your requirements, you can create your custom VPC and vSwitch. For more information, see Create and manage a VPC.
Note
If you have never deployed a cluster in a specific region, no default VPC or vSwitch is available in the region. In this case, you need to create a VPC and vSwitch.
Configure the Add to Whitelist parameter to specify whether to add the CIDR blocks of the VPC to the whitelist of the PolarDB cluster.
Note
After you create a PolarDB for MySQL cluster, you must configure an IP address whitelist and create an initial account for the cluster. Only ECS instances in the specified security group and the IP addresses or CIDR blocks added to the whitelist can access the cluster. For more information, see Configure whitelists for a cluster.
Configure High-availability Mode.
PolarDB provides multiple high availability modes. After you enable the hot standby storage cluster feature for a PolarDB cluster, a hot standby storage cluster is created in the secondary zone of the region in which the PolarDB cluster resides or in a different data center in the same zone. The hot standby storage cluster has independent storage resources. Whether the hot standby storage cluster has independent compute resources varies based on the high availability mode. When the PolarDB cluster in the primary zone fails, the hot standby storage cluster immediately takes over and handles read and write operations and storage tasks.
Note
For more information about the hot standby storage cluster and related solutions, see High availability modes (hot standby clusters).
Rules for changing high availability modes:
You cannot directly change the high availability mode of a cluster from Double Zones (Hot Standby Storage Cluster Enabled) or Double Zones (Hot Standby Storage and Compute Clusters Enabled) to Single Zone (Hot Standby Storage Cluster Disabled).
For such change of the high availability mode, we recommend that you purchase a new cluster and select the Single Zone (Hot Standby Storage Cluster Disabled) high availability mode for the cluster. Then, migrate the existing cluster to the new cluster by using Data Transmission Service (DTS). For information about how to migrate an existing cluster to a new cluster, see Migrate data between PolarDB for MySQL clusters.
You can select the Three Zones high availability mode only when you purchase a new cluster. You cannot change the high availability mode of a cluster from Three Zones to other high availability modes and vice versa.
You can manually change the high availability mode of a cluster from Single Zone (Hot Standby Storage Cluster Disabled) to a different high availability mode. For more information, see High availability modes (hot standby clusters).
Select a node type.
Select whether to Enable Serverless.
Note
If you enable the serverless feature for a PolarDB cluster when you create it, the default configurations are provided (The resources of a single node can scale from 0 PCU to 8 PCUs, and the cluster can contain 0 to 1 read-only node). For information about the configurations of serverless-enabled clusters with defined specifications, see Enable and manage the serverless feature for a common cluster with defined specifications. With the serverless feature enabled, the cluster scales based on the business loads. You are charged for the computing resources involved in the scale-up/scale-out. For more information, see Serverless.
Set Nodes.
If your source cluster is configured with Cluster Edition (Recommended), it consists of a read-write node and a read-only node by default. You can keep the default setting or change it to include only a read-write node.
Note
If you set the number of read-only nodes to 1 when you purchase a cluster, you cannot change the number to 0 after the cluster is created. To change the number of read-only nodes of an existing cluster to 0, you need to purchase a new cluster with no read-only nodes and migrate data of the existing cluster to the new cluster over Data Transmission Service (DTS). For more information, see Migrate data between PolarDB for MySQL clusters.
Single Node Edition is no longer available. To include only one node in your cluster, set the number of read-only nodes to 0 at cluster creation.
See the following information about the nodes:
Read/Write node: processes write operations and some read operations. It is also known as the primary node. The active-active failover mechanism is used between the primary node and read-only nodes to ensure high availability of databases.
Read-only node: processes read operations to reduce the loads on the primary node. High availability and scalability are supported. Add or remove read-only nodes based on your requirements.
Read-only Column Store Node: the IMCI feature node. The IMCI feature uses the columnar storage to accelerate online analytical processing (OLAP) queries. This allows PolarDB for MySQL to achieve integrated real-time transaction processing and data analytics. After you add read-only column store nodes, configure automatic request distribution among row store and column store nodes, and add IMCIs to business tables, OLAP queries are routed to read-only row store nodes or read-only column store nodes instead of to the primary node.
If your source cluster is of Multi-master Cluster (Limitless), the system creates two primary nodes with the same specifications by default. In this case, you do not need to configure this parameter.
Set Storage Type.
PolarDB supports the following storage types: PSL5 and PSL4.
PSL5: the default storage type of PolarDB clusters purchased before June 7, 2022. PSL5 provides storage with higher performance, reliability, and availability.
PSL4: a new storage type for PolarDB. This type uses the Smart-SSD technology developed in-house by Alibaba Cloud to compress and decompress data that is stored on SSD disks. PSL4 can minimize the storage costs of data while maintaining a high disk performance.
Note
You cannot change the storage type of existing clusters. If you need to change storage type, we recommend that you purchase a new cluster, set the desired storage type, and then migrate data to the new cluster.
For information about the differences between the two storage types, see Comparison between PSL4 and PSL5.
Set Storage Engine.
PolarDB supports the following storage engines: InnoDB and InnoDB & X-Engine.
InnoDB :InnoDB storage engine.
InnoDB & X-Engine:: deploys InnoDB and X-Engine. If you select this option, you can specify the X-Engine memory usage ratio. For more information, see X-Engine.
If you have set the billing method to Pay-as-you-go at the beginning of cluster configurations, Storage Billing Method is also set to pay-as-you-go and cannot be modified. You are billed on an hourly basis based on the actual data usage. For more information, see Pay-as-you-go prices.
If you have set the billing method to Subscription, you can set Storage Billing Method.
Choose Pay-as-you-go or Subscription.
Pay-as-you-go: You do not need to specify the storage capacity when you choose the pay-as-you-go storage billing method. The storage capacity of the cluster can be automatically scaled up as the volume of data increases. You are charged for the actual data volume. For more information, see Pay-as-you-go prices.
Subscription: You need to purchase a specific amount of storage capacity when you create the cluster. For more information, see Subscription prices.
Configure Storage Capacity
Pay-as-you-go: You do not need to specify the storage capacity. The storage capacity of the cluster can be automatically scaled up as the volume of data increases.
Subscription: You need to set the Storage Capacity based on which you are billed.
Note
The amount of storage capacity of the specified PSL type that you want to purchase. The storage capacity of a PolarDB cluster ranges from 50 GB to 500 TB, in 10 GB increments.
Step 1: Complete the basic settings
In this step, you can configure the basic parameters and resources that are required to purchase a cluster. The basic parameters include the billing method, region, and zone. The basic resources include the database engine, compute node specifications, PolarProxy, and storage.
Go to the PolarDB cluster purchase page.
Configure Billing Method.
Subscription: a upfront model. You select the resources of fixed specifications and pay upfront when you create a cluster. The longer subscription duration has the greater the discount. This method is suitable for businesses with consistent and long-term resource requirements.
Pay-as-you-go: a postpaid model. You select the resources of fixed specifications but do not need to pay upfront when you create a cluster. You are charged based on your actual resource usage. This method is suitable for businesses with flexible resource requirements.
Serverless: a postpaid model. You do not need to select the resources of fixed specifications or pay upfront when you create a cluster. In this billing method, PolarDB can dynamically scale resources based on the workload requirements. This method is applicable to businesses with fluctuating or unpredictable loads.
Note
If your billing method no longer meets your business requirements, you can switch the billing method. For more information, see Switch between billing methods.
Configure Region.
Select a region that is near your geographical location to reduce latency. You cannot change the region of a cluster after the cluster is created. For more information, see Regions and zones.
Note
We recommend that you select the same region as the ECS instance to which you want the cluster to connect. Otherwise, the cluster and the ECS instance can communicate only over the Internet, which degrades performance.
For Creation Method, choose Create Primary Cluster to create a PolarDB cluster.
Or you can choose another option as follows according to your needs:
Create Secondary Cluster: Creates a secondary cluster that is deployed in a global database network (GDN). For more information, see Add a secondary cluster.
Upgrade/Migrate from PolarDB: Creates a cluster by replicating data from the source PolarDB cluster and synchronizing incremental data. This method is often used to upgrade the major version of a PolarDB for MySQL cluster. For more information, see Overview of major version upgrades.
Source PolarDB Version: the version of the source PolarDB cluster. Valid values: MySQL 5.6, MySQL 5.7, and MySQL 8.0.
Source PolarDB Cluster: the source PolarDB cluster.
Migrate from RDS: creates a cluster by cloning the data of an ApsaraDB RDS instance and synchronizing incremental data. In most cases, this method is used to migrate data. Before migration is complete, the PolarDB cluster remains in the read-only mode, with binary logging enabled by default. For more information, see Overview.
Source RDS Version: the engine version of the source RDS instance. Valid values: MySQL 5.6, MySQL 5.7, and MySQL 8.0.
Source RDS Instance: the available source ApsaraDB RDS instances. Read-only instances are excluded.
Note
Read-only instances are not displayed in the list. ApsaraDB RDS instances that run non-InnoDB engines are not supported. When you create a PolarDB cluster by restoring from a backup, the source instance can keep running without being interrupted.
Clone from RDS: Creates a PolarDB cluster by cloning all the data of a selected ApsaraDB RDS instance. For more information, see Clone an ApsaraDB RDS for MySQL instance to a PolarDB for MySQL cluster.
Source RDS Version: the engine version of the source ApsaraDB RDS instance. Valid values: MySQL 5.6, MySQL 5.7, and MySQL 8.0.
Source RDS Instance: the available source ApsaraDB RDS instances. Read-only instances are excluded.
Note
ApsaraDB RDS instances that run non-InnoDB engines are not supported. When you create a PolarDB cluster by restoring from a backup, the source instance can keep running without being interrupted.
Restore from Recycle: creates a cluster by restoring a backup of a deleted cluster from the recycle bin.
Source Version: the version of the cluster that is deleted.
Deleted Clusters: the name of the cluster that is deleted.
Backup History: the backup file that you want to restore.
For Database Engine, choose MySQL Compatible and one of the following from the drop-down list:
PolarDB supports the following database engines:
MySQL 8.0.2 (fully compatible with MySQL 8.0)
(Recommended) MySQL 8.0.1 (fully compatible with MySQL 8.0)
MySQL 5.7 (fully compatible with MySQL 5.7)
MySQL 5.6 (fully compatible with MySQL 5.6)
Set the Database Edition parameter to Standard Edition.
Set Specification.
You can select General-purpose or Dedicated for Standard Edition.
Dedicated: The cluster does not share allocated compute resources such as CPUs with other clusters on the same server. This improves the reliability and stability of the cluster.
General-purpose: Idle computing resources such as CPUs are shared among clusters on the same host to ensure cost-effectiveness.
For more information about the differences between the two specification types, see Comparison between general-purpose and dedicated compute nodes.
Set the CPU Architecture parameter to X86 or YiTian ARM.
x86: The x86 architecture is paired with Intel processors and complemented by high-performance network infrastructure. The architecture provides a comprehensive enhancement in overall performance and stability, and meets the demands of enterprise-level applications for high stability and computing power.
ARM: The ARM architecture uses Yitian 710 chips that are developed by Alibaba Cloud and 25 Gigabit Ethernet smart network interface cards (NICs) to provide strong computing power. The architecture is complemented by high-performance network infrastructure to meet the demands of public service sectors and enterprises such as Internet companies for cost-effectiveness, security, and stability of cloud services.
Set Primary Zone.
The zone in which the new cluster is deployed. A zone is a geographically isolated location within a region. All zones in a region provide the same level of service performance.
You can deploy your PolarDB cluster and ECS instance in the same zone or in different zones.
You need to specify only the primary zone. The system automatically selects a secondary zone.
Configure a VPC and a vSwitch.
The network type is fixed to VPC. You do not need to configure this parameter. Make sure that the PolarDB cluster is created in the same VPC as the ECS instance to which you want to connect. Otherwise, the cluster and the ECS instance cannot communicate over the internal network to achieve optimal performance.
Use an existing VPC that meets your network requirements. For example, if you have an existing ECS instance and the VPC to which the ECS instance belongs meets your network requirements, select the VPC.
Otherwise, use the default VPC and the default vSwitch.
Default VPC:
Only one VPC is specified as the default VPC in the region that you select.
The CIDR block of the default VPC uses a 16-bit subnet mask, such as 192.168.0.0/16, and provides up to 65,536 private IP addresses.
The default VPC does not count against the quota of VPCs that you can create.
Default vSwitch:
Only one vSwitch is specified as the default vSwitch in the zone that you select.
The CIDR block of the default vSwitch uses a 20-bit subnet mask, such as 192.168.0.0/20, and provides up to 4,096 private IP addresses.
The default vSwitch does not count against the quota of vSwitches that you can create in a VPC.
If the default VPC and vSwitch cannot meet your requirements, you can create your custom VPC and vSwitch. For more information, see Create and manage a VPC.
Note
If you have never deployed a cluster in a specific region, no default VPC or vSwitch is available in the region. In this case, you need to create a VPC and vSwitch.
Configure the Add to Whitelist parameter to specify whether to add the CIDR blocks of the VPC to the whitelist of the PolarDB cluster.
Note
After you create a PolarDB for MySQL cluster, you must configure an IP address whitelist and create an initial account for the cluster. Only ECS instances in the specified security group and the IP addresses or CIDR blocks added to the whitelist can access the cluster. For more information, see Configure whitelists for a cluster.
Configure High-availability Mode.
PolarDB provides multiple high availability modes. After you enable the hot standby storage cluster feature for a PolarDB cluster, a hot standby storage cluster is created in the secondary zone of the region in which the PolarDB cluster resides or in a different data center in the same zone. The hot standby storage cluster has independent storage resources. Whether the hot standby storage cluster has independent compute resources varies based on the high availability mode. When the PolarDB cluster in the primary zone fails, the hot standby storage cluster immediately takes over and handles read and write operations and storage tasks.
Note
For more information about the hot standby storage cluster and related solutions, see High availability modes (hot standby clusters).
Rules for changing high availability modes:
You cannot directly change the high availability mode of a cluster from Double Zones (Hot Standby Storage Cluster Enabled) or Double Zones (Hot Standby Storage and Compute Clusters Enabled) to Single Zone (Hot Standby Storage Cluster Disabled).
For such change of the high availability mode, we recommend that you purchase a new cluster and select the Single Zone (Hot Standby Storage Cluster Disabled) high availability mode for the cluster. Then, migrate the existing cluster to the new cluster by using Data Transmission Service (DTS). For information about how to migrate an existing cluster to a new cluster, see Migrate data between PolarDB for MySQL clusters.
You can select the Three Zones high availability mode only when you purchase a new cluster. You cannot change the high availability mode of a cluster from Three Zones to other high availability modes and vice versa.
You can manually change the high availability mode of a cluster from Single Zone (Hot Standby Storage Cluster Disabled) to a different high availability mode. For more information, see High availability modes (hot standby clusters).
Select a node type.
Set Nodes.
By default, the cluster consists of one primary node and one read-only node. You can select two nodes (a primary node and a read-only node) or one node (a primary node) for the cluster.
Note
If you set the number of read-only nodes to 1 when you purchase a cluster, you cannot change the number to 0 after the cluster is created. To change the number of read-only nodes of an existing cluster to 0, you need to purchase a new cluster with no read-only nodes and migrate data of the existing cluster to the new cluster over Data Transmission Service (DTS). For more information, see Migrate data between PolarDB for MySQL clusters.
Single Node Edition is no longer available. To include only one node in your cluster, set the number of read-only nodes to 0 at cluster creation.
See the following information about the nodes:
Read/Write node: processes write operations and some read operations. It is also known as the primary node. The active-active failover mechanism is used between the primary node and read-only nodes to ensure high availability of databases.
Read-only node: processes read operations to reduce the loads on the primary node. High availability and scalability are supported. Add or remove read-only nodes based on your requirements.
Read-only Column Store Node: the IMCI feature node. The IMCI feature uses the columnar storage to accelerate online analytical processing (OLAP) queries. This allows PolarDB for MySQL to achieve integrated real-time transaction processing and data analytics. After you add read-only column store nodes, configure automatic request distribution among row store and column store nodes, and add IMCIs to business tables, OLAP queries are routed to read-only row store nodes or read-only column store nodes instead of to the primary node.
Select the PolarProxy specifications.
PolarDB provides two PolarProxy editions: Standard Enterprise Edition and Dedicated Enterprise Edition.
Standard Enterprise Edition: applicable to General-purpose clusters. It uses shared CPU resources and provides intelligent, instant, and elastic scaling based on business workloads.
Dedicated Enterprise Edition: applicable to Dedicated clusters. It uses dedicated CPU resources and provides better stability.
You can specify PolarProxy specifications, which range from 4 vCPUs (4C) to 16 vCPUs (16C).
Note
If you set the Nodes parameter to one node (a primary node) or disable PolarProxy, you do not need to specify PolarProxy specifications.
Set Storage Type.
ESSDs are ultra-high performance disks developed by Alibaba Cloud. ESSDs use a next-generation distributed block storage architecture and support 25 Gigabit Ethernet networks and Remote Direct Memory Access (RDMA). Each ESSD has low one-way latency and can deliver up to 1 million random read/write IOPS. ESSDs are provided at the following performance levels (PLs):
PL0 ESSD: A PL0 ESSD delivers the basic performance of an ESSD.
PL1 ESSD: A PL1 ESSD delivers IOPS that is five times that delivered by a PL0 ESSD and throughput that is approximately twice that delivered by the PL0 ESSD.
PL2 ESSD: A PL2 ESSD delivers IOPS and throughput that are approximately twice the IOPS and throughput delivered by a PL1 ESSD.
PL3 ESSD: A PL3 ESSD delivers IOPS that is up to ten times that delivered by a PL2 ESSD and throughput that is up to five times that delivered by the PL2 ESSD. The ESSDs are suitable for business scenarios in which highly concurrent requests must be processed with high I/O performance and at low read and write latencies.
ESSD AutoPL disk: Compared with an ESSD at one of the preceding PLs, an ESSD AutoPL disk decouples IOPS and storage, gives you the flexibility to configure IOPS and storage, and allows you to make some adjustments as needed. This reduces the overall Total Cost of Ownership (TCO).
Important
For more information about the performance of ESSDs, see ESSDs.
After the storage of an ESSD is exhausted, the disk is locked. In this case, the disk handles only read operations.
The following table describes the PSL4 and PSL5 storage types.
Storage type | Feature | Scenario |
PSL5 | PSL5 is the storage type used in historical versions of PolarDB and the default storage type of PolarDB clusters purchased before June 7, 2022. PSL5 provides high performance, reliability, and availability. | Business scenarios that require high performance and reliability and use databases as the core of business systems, such as the finance, e-commerce, and public service sectors, and large and medium-sized Internet services. |
PSL4 | PSL4 is a new storage type available for PolarDB. PSL4 uses the Smart-SSD technology developed in-house by Alibaba Cloud to compress and decompress data at the physical SSD level. This reduces the storage price without compromising SSD performance. | Business scenarios that prioritize cost-effectiveness. |
Note
If you select ESSD AutoPL, you can configure the Provisioned IOPS for AutoPL Disks parameter to increase the input/output operations per second (IOPS) of the ESSD AutoPL disks from the initial maximum value of 50,000. The maximum value of the parameter is 50,000. Therefore, the maximum IOPS of an ESSD AutoPL disk can reach 100,000 in theory.
If you have set the billing method to Subscription, you can set Storage Billing Method.
Choose Pay-as-you-go or Subscription.
Pay-as-you-go: You do not need to specify the storage capacity when you choose the pay-as-you-go storage billing method. The storage capacity of the cluster can be automatically scaled up as the volume of data increases. You are charged for the actual data volume. For more information, see Pay-as-you-go prices.
Subscription: You need to purchase a specific amount of storage capacity when you create the cluster. For more information, see Subscription prices.
Configure Storage Capacity
Pay-as-you-go: You do not need to specify the storage capacity. The storage capacity of the cluster can be automatically scaled up as the volume of data increases.
Note
The amount of ESSD storage capacity that you want to purchase. Valid values: 20 GB to 32 TB. The value that you select must be a multiple of 10 GB.
Subscription: You need to set the Storage Capacity based on which you are billed.
Note
The amount of storage capacity of the specified PSL type that you want to purchase. Valid values: 10 GB to 500 TB. The value that you select must be a multiple of 10 GB.
Step 2: Configure advanced options
Advanced options include the cluster name, parameter template, and case sensitivity of table names.
For Cluster Name, choose the auto-generated name or use a custom name.
An auto-generated name is produced by the system and can be modified afterwards. A custom name must meet the following conditions:
It cannot start with http://
or https://
.
It must be 2 to 256 characters in length.
It must start with a letter and can contain letters, digits, periods (.), underscores (_), and hyphens (-).
Set Resource Group.
This parameter specifies the resource group to which the cluster belongs. Select a resource group from the drop-down list. For more information, see Create a resource group.
Set Parameter Templates.
The parameter template that you want to use. Select a custom or default system parameter template.
Note
In the parameter template drop-down list, all custom and default system parameter templates available in the current region are displayed. For more information about parameter templates, see Apply a parameter template.
Set Time Zone.
The default value is UTC+8 (Default).
Set Table Name Case Sensitivity.
You can specify whether table names in the cluster are case-sensitive. Select Not Case-sensitive (Default); or if table names in your on-premises database are case-sensitive, select Case-sensitive to facilitate data migration.
Note
After the cluster is created, you cannot change the value of this parameter. Exercise caution when you configure this parameter.
Specify whether to enable binary logging. For more information, see Enable binary logging.
Specify the backup retention policy for the cluster when it is released or deleted.
Select Retain Last Automatic Backup (Automatic Backup before Release) (Default) if you want the system to retain the last backup after you delete the cluster.
Select Retain All Backups if you want the system to retain all backups after you delete the cluster.
Select Delete All Backups (Cannot be Restored) if you do not want the system to retain any backups after you delete the cluster.
Specify whether to enable TDE. For more information, see Configure TDE for a PolarDB cluster.
Note
Once enabled, TDE cannot be disabled.
TDE depends on KMS. You must authorize the PolarDB cluster to access KMS by configuring a RAM role.
After TDE is enabled, data files in PolarDB clusters are encrypted but remain transparent for access. The cluster performance is reduced by 5% to 10%.
Step 3: Configure the number of clusters to purchase and confirm the order
Before the cluster is created, make sure that the selected configurations such as the quantity meet your requirements.
Check the selected settings.
Set Quantity.
If you set the billing method to Subscription, you must specify the duration of the cluster and whether to enable auto-renewal for the cluster.
You can create a maximum of 50 clusters at a time. This allows you to create multiple clusters in specific scenarios such as deploying multiple game servers at a time.
You can purchase a maximum of 50 clusters with your Alibaba Cloud account.
We recommend that you enable auto-renewal to prevent service interruptions caused by untimely manual renewal.
Read the Terms of Service.
View the fees and details in the lower part of the page. If they are correct, click Buy Now.
On the Purchase page, confirm the order and the payment method, and then click Subscribe.
After you complete the payment, wait 10 to 15 minutes to view the new cluster on the Clusters page.
Note
If specific nodes in the cluster are in the Creating state, the cluster is being created and is unavailable. The cluster is only available when the cluster is in the Running state.
Make sure that you have selected the region in which the cluster is deployed. Otherwise, you cannot view the cluster.