Selection guide for PolarDB for MySQL

Updated at:

PolarDB for MySQL offers multiple product editions for different business scenarios. This topic describes the differences between the editions and compares their parameters to help you quickly select the right one.

Selection overview

When selecting a PolarDB for MySQL edition for your business, consider the following key factors:

  • Database engine version

    • If you have a self-managed MySQL database and want to migrate it to the cloud, select the same database engine version.

    • To create a new database, select MySQL 8.0.1 or 8.0.2.

      • Version 8.0.1 is fully compatible with community MySQL 8.0.13 and earlier versions.

      • Version 8.0.2 is fully compatible with community MySQL 8.0.18 and earlier versions.

  • Workload fluctuation

    • If your business has occasional or sharp workload fluctuations, select the Serverless option (undefined specifications, performance scales with workloads).

    • If your business workloads are stable, select the subscription or pay-as-you-go billing method (defined specifications).

  • Business scale

    • If you want cost-effective compute and storage resources, select a Standard Edition cluster. The single-compute-node architecture is suitable for individual learning and testing, while the multi-node architecture supports data management for medium- to large-sized enterprises.

    • If you want higher compute and storage performance, more features, and cross-region disaster recovery, select an Enterprise Edition cluster.

    • If your business requires high concurrent write performance, select a Multi-master Cluster (Limitless) Edition cluster. It uses a multi-master architecture to support high-concurrency read/write scenarios.

By considering factors such as the database engine version, workload fluctuation, and business scale, you can quickly select the product edition that meets your business requirements. For more information about the parameters and descriptions of each edition, see Concepts and Product selection table.

Concepts

The following tables describe the database engine versions, product editions, product series, specification types, CPU architectures, and storage classes of PolarDB for MySQL to help you compare parameters in the product selection table.

MySQL database engine versions

Option

Description

MySQL 5.6

  • If you have a self-managed MySQL database: Keep the same version when you migrate to PolarDB.

  • If you do not have a self-managed MySQL database: Select version 8.0.1 or 8.0.2.

MySQL 5.7

MySQL 8.0.1

MySQL 8.0.2

Product editions

Option

Description

Standard Edition

One primary node and multiple read-only nodes. High performance at a low cost. Multiple nodes share storage. Upgrade or downgrade in minutes.

Enterprise Edition

One or more primary nodes and multiple read-only nodes. Upgrade or downgrade in minutes. High I/O performance. Shared distributed storage. Supports cross-region disaster recovery.

Product series (Enterprise Edition)

Option

Description

Cluster Edition

One primary node and up to 15 read-only nodes. All nodes share distributed storage. Supports read/write splitting.

Multi-master Cluster (Limitless)

Multiple primary nodes and multiple read-only nodes. Supports concurrent writes from up to 63 nodes. Scales write performance in seconds. Migrates databases across nodes in seconds. Lets you add global read-only nodes.

Sub-series

Option

Description

General-purpose

Clusters on the same server share idle compute resources, such as CPU, to improve cost-effectiveness.

Dedicated

Each cluster exclusively uses its allocated compute resources and does not share them with other clusters on the same server. This provides more stable and reliable performance.

CPU architectures

Optional

Description

X86

The X86 architecture uses Intel processors and a high-performance network. It improves overall performance and stability. It meets the high stability and computing performance requirements of enterprise applications.

Yitian ARM

Uses Alibaba Cloud's self-developed Yitian 710 processor chip and 25 GE intelligent high-speed network interface cards to provide powerful computing capabilities. Paired with a high-performance network, it meets the cost-effectiveness, security, and stability requirements of government and Internet enterprises for cloud services.

Storage classes

Option

Description

Disk

  • Enterprise SSD (ESSD): Higher performance and lower single-path latency. Performance levels include PL0, PL1, PL2, and PL3, with performance increasing at each level.

  • General-purpose cloud disk: Provides the same basic storage performance as an ESSD at PL1. Supports I/O burst, acceleration, and data archiving to significantly enhance performance.

PolarStore

  • PSL5: High performance, reliability, and availability.

  • PSL4: Uses self-developed compression technology for disks. Low cost and high cost-effectiveness.

Product selection table

Note
  • In the table, "✔️" indicates that the feature is supported, and "❌" indicates that the feature is not supported.

  • 5.6, 5.7, 8.0.1, and 8.0.2 indicate MySQL database engine versions.

  • PL0, PL1, PL2, and PL3 indicate ESSD performance levels. PS indicates the PolarStore storage class.

Selection factor

Standard Edition (5.6/5.7/8.0.1/8.0.2)

Enterprise Edition (5.6/5.7/8.0.1/8.0.2)

/

Cluster Edition

Multi-master Cluster (Limitless)

(8.0.1 and 8.0.2 only)

X86

Yitian ARM (8.0.1 only)

X86

Disk/PS

PS

Scenarios

  • Single compute node architecture: Personal learning, testing, and start-ups.

  • Multi-node architecture: Production databases for medium- and large-sized enterprises that have high volumes of read requests during peak hours and require intelligent data analysis. Examples include online retail and large enterprise resource planning (ERP) systems.

  • Production databases for medium- and large-sized enterprises.

  • Databases for industries such as the Internet, Internet of Things (IoT), retail e-commerce, logistics, and gaming.

  • Core databases for the finance, securities, and insurance industries that require very high data security.

Mainly for application scenarios with high-concurrency reads and writes, such as multitenancy in SaaS, gaming, and e-commerce.

Features

Automatic scaling for performance optimization

Supported

Supported

Supported

Supported

Automatic storage scaling

Supported

Supported

Supported

Supported

Database and table recovery

Supported

Supported

Supported

Not supported

Cold data archiving

8.0.1 and 8.0.2 only

Supported

8.0.1 and 8.0.2 only

Supported

Global Database Network (GDN)

Not supported

Not supported

Supported

Not supported

PolarDB for AI

Not supported

Not supported

8.0.1 and 8.0.2 only

Not supported

Performance

Default maximum connections (highest specifications)

Dedicated: 64,000

General-purpose: 16,000

Dedicated: 150,000

General-purpose: 32,000

Dedicated: 100,000

General-purpose: 32,000

Maximum IOPS

(Maximum for all nodes combined)

PL3 (1,000,000) > PL2 (100,000) > General-purpose cloud disk (50,000, supports I/O burst up to 1,000,000) > PL1 (50,000) > PL0 (10,000)

(Maximum for a single read-only node)

General-purpose: PSL5 (84,000) > PSL4 (42,000)

Dedicated: PSL5 (523,000) > PSL4 (150,000)

(Maximum for a single read-only node)

General-purpose: PSL5 (126,000) > PSL4 (63,000)

Dedicated: PSL5 (384,000) > PSL4 (150,000)

Maximum throughput

(Maximum for all nodes combined, in MB/s)

PL3 (4,000) > PL2 (750) > General-purpose cloud disk (125, supports I/O burst up to 4,096) > PL1 (350) > PL0 (180)

(Maximum for a single read-only node, in Gbps)

General-purpose I/O bandwidth: 8

Dedicated I/O bandwidth: 32

Maximum storage space (TB)

PL3, PL2, PL1, General-purpose cloud disk (64) > PL0 (32)

500

Note

PolarStore supports petabyte-level storage. If you have this requirement, contact us to reserve resources.

X-Engine (High-Compression Engine)

8.0.1 and 8.0.2 only

Supported

8.0.1 and 8.0.2 only

Not supported

Query speed optimization (Elastic parallel query)

Single-node parallelism (single compute node): MySQL 8.0.1

Single-node parallelism (single read-only node): 8.0.1 and 8.0.2

Multi-node parallelism (multiple nodes): 8.0.2

Columnar query optimization (In-Memory Column Index)

8.0.1 and 8.0.2 only

Not supported

8.0.1 and 8.0.2 only

8.0.1 and 8.0.2 only

Security

Storage encryption (Transparent Data Encryption (TDE))

Supported

Supported

Supported

Supported

What is dynamic data masking

Supported

Supported

Supported

Supported

Data encryption (What is Fully Encrypted Database)

Supported

Supported

Supported

Supported

Encryption in transit (SSL)

Supported

Supported

Supported

Supported

SQL Explorer and Audit

Supported

Supported

Supported

Supported

Stability

Storage data reliability

The data reliability of disks is 99.9999999% (seven 9s) for PSL4 and 99.99999999% (eight 9s) for PSL5.

Multi-node (Hot Standby Cluster enabled): 99.99%. Multi-node (Hot Standby Cluster disabled): 99.96%.

Single compute node (Hot Standby Cluster enabled): 99.95%. Single compute node (Hot Standby Cluster disabled): 99.90%.

PSL4: 99.9999999% ("seven nines") and PSL5: 99.99999999% ("eight nines")

Multi-node (Hot Standby Cluster enabled): 99.99%. Multi-node (Hot Standby Cluster disabled): 99.96%.

Single read-only node (Hot Standby Cluster enabled): 99.95%. Single read-only node (Hot Standby Cluster disabled): 99.90%.

Service-Level Agreement (SLA)

(Compensation for availability below the threshold)

Cost

Billing method

Subscription/Pay-as-you-go. Serverless is not supported for MySQL 5.6 and 8.0.2.

Subscription/Pay-as-you-go. Serverless is not supported for MySQL 5.6.

Non-Serverless price

(Lowest specifications, 100 GB storage)

CNY 0.127/hour

CNY 0.127/hour

CNY 0.99/hour (1 primary node, storage is billed separately)

CNY 1.98/hour (2 primary nodes, storage is billed separately)

Serverless price

(1-16 PCU, 100 GB storage)

CNY 0.175-14/hour

CNY 0.4-16/hour

(Storage is billed separately on a pay-as-you-go basis.)