Suggestions on Instance Selection
Overview
Before purchasing an RDS for MySQL instance, consider factors such as the price, performance, workload capacity, and workload scenario to choose the right one for your needs. This section describes the differences in instance types, billing modes, and storage types, helping you select the most suitable instance.
Storage Engine
By default, RDS for MySQL uses the InnoDB storage engine to provide high-performance and reliable transaction processing. The RDS for MySQL kernel provides connection thread pooling, metadata lock views, online extension of varchar length, proactive termination of idle transactions, DDL progress display, and more. These capabilities make RDS for MySQL ideal for workloads demanding high performance and concurrency.
Storage Type
RDS for MySQL provides cloud SSD (also called ultra-high I/O) and extreme SSD storage types. The table below describes the differences between the storage types to help you select a storage type that best suits your service requirements.
Storage Type |
Characteristics |
Use Case |
---|---|---|
Cloud SSD or Ultra-high I/O |
Stores data in cloud disks for decoupled storage and compute. The maximum throughput is 350 MB/s. |
CPU-intensive sub-core business systems or application modules that need to minimize costs. |
Extreme SSD |
Uses 25GE network and RDMA technologies to provide you with up to 1,000 MB/s throughput per disk and sub-millisecond latency. |
Scenarios requiring high throughput. Core application systems that are sensitive to performance and have demanding requirements on storage I/O during peak hours, such as those in finance, e-commerce, government, and gaming. |
Billing Mode
There are yearly/monthly and pay-per-use billing modes. Each one has different advantages and disadvantages.
Billing Mode |
Yearly/Monthly |
Pay-per-use |
---|---|---|
Payment |
Prepaid Billed by the required duration specified in your order |
Postpaid Billed for what you use |
Supported Instance Types |
|
|
Billing Period |
Billed by the required duration specified in your order |
Calculated by the second but billed every hour |
Billed Items |
Instance classes (vCPUs and memory), storage space, backup space, cross-region backup (optional), EIP bandwidth (optional), Monitoring by Seconds (optional), database proxies (optional), and deployment in Dedicated Computing Cluster (optional) |
Instance classes (vCPUs and memory), storage space, backup space, cross-region backup (optional), EIP bandwidth (optional), Monitoring by Seconds (optional), database proxies (optional), and deployment in Dedicated Computing Cluster (optional) |
Billing Mode Change |
Yearly/Monthly billing can be changed to pay-per-use billing. The change is only applied after the yearly/monthly subscription expires. For details, see Yearly/Monthly to Pay-per-Use. |
Pay-per-use billing can be changed to yearly/monthly billing. For details, see Pay-per-Use to Yearly/Monthly. |
Scenarios |
Recommended for resources expected to be in use long-term. A cost-effective option for scenarios where the resource usage duration is predictable. |
Good for short-term, bursty, or unpredictable workloads that cannot tolerate any interruptions, such as applications for e-commerce promotions, temporary testing, and scientific computing. |
The table below lists the billed items of a yearly/monthly DB instance.
Billed Item |
Description |
Billing Factor |
---|---|---|
* Instance class |
vCPUs and memory |
Billed by vCPUs, memory, and instance type. Computing and storage capabilities vary by the number of vCPUs and memory size. |
* Storage space |
Database storage |
Billed based on unified standards. |
* Backup space |
RDS provides free backup space of the same size as your purchased database storage. After the free backup space is used up, charges are applied based on the backup space pricing details. Pricing is listed on a per-hour basis, but bills are calculated based on the actual usage duration. |
Billed based on unified standards. |
(Optional) Cross-region backup |
RDS allows you to store backups in a region different from the one where your DB instance is located. Enabling cross-region backup will incur extra fees, and you will be billed for the storage space. Pricing is listed on a per-hour basis, but bills are calculated based on the actual usage duration. |
Billed based on unified standards. |
(Optional) EIP bandwidth |
If an EIP is purchased along with a DB instance, the EIP is billed by bandwidth. |
An EIP is required if a DB instance needs to access the Internet. Billed by bandwidth, traffic, and the EIP reservation price.
|
(Optional) Monitoring by Seconds |
Once it is enabled, pricing is listed on a per-hour basis, but bills are calculated based on the actual usage duration. RDS provides monitoring every 60 seconds for free. |
Billed based on unified standards. |
(Optional) Database proxies |
RDS allows read and write requests to be automatically routed through a read/write splitting address. Enabling database proxy incurs extra fees. |
Billed by the proxy instance class (vCPUs and memory) and nodes. |
(Optional) Deployment in DCC |
RDS can be deployed in DCC, which incurs extra fees. |
Billed by the memory size. |
(Optional) DRS migration |
If you use Data Replication Service (DRS) for data migration, you will be billed based on the DRS pricing standard. |
For details, see DRS Billing. |
The table below lists the billed items of a pay-per-use DB instance.
Billed Item |
Description |
Billing Factor |
---|---|---|
* Instance class |
vCPUs and memory |
Billed by vCPUs, memory, and instance type. Computing and storage capabilities vary by the number of vCPUs and memory size. |
* Storage space |
Database storage |
Billed based on unified standards. |
* Backup space |
RDS provides free backup space of the same size as your purchased database storage. After the free backup space is used up, charges are applied based on the backup space pricing details. Pricing is listed on a per-hour basis, but bills are calculated based on the actual usage duration. |
Billed based on unified standards. |
(Optional) Cross-region backup |
RDS allows you to store backups in a region different from the one where your DB instance is located. Enabling cross-region backup will incur extra fees, and you will be billed for the storage space. Pricing is listed on a per-hour basis, but bills are calculated based on the actual usage duration. |
Billed based on unified standards. |
(Optional) EIP bandwidth |
If an EIP is purchased along with a DB instance, the EIP is billed by bandwidth. |
An EIP is required if the DB instance needs to access the Internet. Billed by bandwidth, traffic, and the EIP reservation price.
|
(Optional) Monitoring by Seconds |
Once it is enabled, pricing is listed on a per-hour basis, but bills are calculated based on the actual usage duration. RDS provides monitoring every 60 seconds for free. |
Billed based on unified standards. |
(Optional) Database proxies |
RDS allows read and write requests to be automatically routed through a read/write splitting address. Enabling database proxy incurs extra fees. |
Billed by the proxy instance class (vCPUs and memory) and nodes. |
(Optional) Deployment in DCC |
RDS can be deployed in DCC, which incurs extra fees. |
Billed by the memory size. |
(Optional) DRS migration |
If you use Data Replication Service (DRS) for data migration, you will be billed based on the DRS pricing standard. |
For details, see DRS Billing. |
DB Instance Type
RDS for MySQL supports single-node and primary/standby instances. You can select an instance type tailored to your workload requirements by referring to Table 5.
DB Instance Type |
Description |
Advantages |
Scenarios |
---|---|---|---|
Single-node |
DB engine version: 8.0, 5.7, and 5.6 (with 5.6 only available for existing instances) Nodes: 1 primary node |
|
It is suitable for development and testing of microsites, and small- and medium-sized enterprises, or for learning about RDS. |
Primary/Standby |
DB engine version: 8.0, 5.7, and 5.6 (with 5.6 only available for existing instances) Nodes: 1 primary node + 1 standby node |
|
It is suitable for production databases of large- and medium-sized enterprises in Internet, Internet of Things (IoT), retail e-commerce sales, logistics, gaming, and other sectors. |
Instance Class
Table 6 lists the instance classes of RDS for MySQL DB instances.
Storage Type |
Instance Class |
Supported CPU Architecture |
Description |
Scenarios |
---|---|---|---|---|
|
General-purpose (recommended) |
x86 |
CPU resources are shared with other general-purpose DB instances on the same physical machine. CPU usage is maximized through resource overcommitment. This instance class is a cost-effective option. |
Suitable for scenarios where cost effectiveness is critical while performance stability is not critical. |
Dedicated (recommended) |
x86 |
A dedicated instance has dedicated CPU and memory resources to ensure stable performance. There is no CPU resource contention between instances. |
Suitable for core databases that require high performance stability, such as databases in e-commerce, gaming, finance, government, and enterprise. |
|
Ultra-high I/O |
General-enhanced (only for existing instances) General-enhanced II (only for existing instances) |
x86 |
With a leading network acceleration engine and Data Plane Development Kit (DPDK) fast packet processing, this instance class provides higher network performance and computing power. |
Suitable for websites and web applications that require high database computing and network performance. |
Functions Supported by Different Instance Types
Function |
Single-Node |
Primary/Standby |
|
---|---|---|---|
Instance lifecycle |
√ Only pay-per-use instances can be stopped. |
√ Only pay-per-use instances can be stopped. |
|
√ Only pay-per-use instances can be started. |
√ Only pay-per-use instances can be started. |
||
√ |
√ |
||
√ |
√ |
||
√ |
√ |
||
Instance modification |
√ |
√ |
|
√ |
√ |
||
x |
√ |
||
√ |
√ |
||
√ |
x |
||
√ |
√ |
||
√ |
√ |
||
Version upgrade |
√ |
√ |
|
x |
√ |
||
Backup and restoration |
√ |
√ |
|
√ |
√ |
||
√ |
√ |
||
√ |
√ |
||
√ |
√ |
||
√ |
√ |
||
√ |
√ |
||
√ |
√ |
||
√ |
√ |
||
Read replica |
√ |
√ |
|
√ |
√ |
||
Data migration |
√ |
√ |
|
Database proxy |
√ |
√ |
|
√ |
√ |
||
DBA Assistant |
√ |
√ |
|
√ |
√ |
||
√ |
√ |
||
√ |
√ |
||
Security and encryption |
√ |
√ |
|
√ |
√ |
||
Parameter management |
√ |
√ |
|
√ |
√ |
||
Log management |
√ |
√ |
|
√ |
√ |
||
√ |
√ |
||
Metrics and alarms |
√ |
√ |
|
√ |
√ |
||
√ |
√ |
||
Tags |
√ |
√ |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot