Constraints
The following tables list the constraints designed to ensure the stability and security of RDS for MySQL.
Item |
Constraints |
Description |
---|---|---|
Storage space |
|
To increase the upper limit of the storage space to 10 TB, submit a service ticket. |
Connections |
A maximum of 100,000 |
The default maximum number of connections varies depending on the memory. For details, see What Is the Maximum Number of Connections to an RDS DB Instance? |
IOPS |
|
The input/output operations per second (IOPS) supported depends on the I/O performance of Elastic Volume Service (EVS) disks. For details, see the description about ultra-high I/O and extreme SSDs in Disk Types and Performance of Elastic Volume Service Service Overview. |
Item |
Constraints |
Description |
---|---|---|
Total number of instances (including read replicas) |
50 |
To increase the quotas, see Managing Quotas. |
Read replica |
A maximum of 10 read replicas can be created for a DB instance. |
For more information, see Introduction to Read Replicas. |
Tags |
A maximum of 20 tags can be added for a DB instance. |
For more information, see Managing Tags. |
Free backup space |
RDS provides free backup space of the same size as your purchased storage space. |
After you pay for the storage space of your DB instance, you will get a backup space of the same size for free. For more information, see How Is RDS Backup Data Billed? |
Retention period of automated backups |
The default value is 7 days. The value ranges from 1 to 732 days. |
For more information, see Configuring a Same-Region Backup Policy. |
Log retention period |
|
For more information, see Log Management. |
Item |
Constraints |
---|---|
Instance name |
|
Database name |
|
Account name |
|
Backup name |
|
Parameter template name |
|
Item |
Constraints |
---|---|
Permissions of user root |
Only the administrator account root is provided on the instance creation page. For details about the supported permissions, see Root Permissions. Running revoke, drop user, or rename user on root may cause service interruption. Exercise caution when running any of these statements. |
Password of user root |
For more information, see Resetting the Administrator Password to Restore Root Access. |
Database port |
1024 to 65535 (excluding 12017, 33071, and 33062, which are occupied by the RDS system) For more information, see Changing a Database Port. |
Disk encryption |
If you enable disk encryption during instance creation, the disk encryption status and the key cannot be changed later. For more information, see Performing a Server-Side Encryption. |
VPC |
The VPC where a DB instance is located cannot be changed after the instance is created. |
Security group |
|
System database |
When you create an RDS for MySQL instance, the system automatically creates the following system databases for the instance. DML operations cannot be performed on system databases or system tables.
|
System account |
To provide O&M services, the system automatically creates system accounts when you create RDS for MySQL DB instances. These system accounts are unavailable to you.
|
Instance parameter |
To ensure optimal performance of RDS, you can modify parameters in the parameter template you created as needed. For more information, see Suggestions on RDS for MySQL Parameter Tuning. |
Item |
Constraints |
---|---|
RDS for MySQL storage engine |
Only the InnoDB storage engine is supported. MyISAM, FEDERATED, and MEMORY are not supported. For more information, see What Storage Engines Does RDS for MySQL Support? |
Instance deployment |
ECSs where DB instances are deployed are not directly visible to you. You can only access the DB instances through IP addresses and database ports. |
Data migration |
You can migrate data from DDM, GaussDB, TaurusDB, self-managed MySQL databases, self-managed Oracle databases, or MySQL databases built on other clouds to RDS for MySQL, or from one RDS for MySQL instance to another RDS for MySQL instance. Data migration tools include Data Replication Service (DRS), mysqldump, and Data Admin Service (DAS). You are advised to use DRS because it is easy to use and can complete a migration task in minutes. DRS facilitates data transfer between databases, helping you reduce DBA labor costs and hardware costs.
NOTE:
We have arranged preferential pricing for DRS in the following scenarios:
You can use the price calculator provided by DRS to quickly calculate the reference price based on the required specifications. For more information, see Migration Solution Overview. |
Primary/Standby replication |
RDS for MySQL uses a primary/standby dual-node replication cluster. You do not need to set up replication additionally. The standby DB instance is not visible to you and therefore you cannot access it directly. |
High CPU usage |
If the CPU usage is high or close to 100%, data read/write and database access will become slow, and an error will be reported during data deletion. For details, see High CPU Usage of RDS for MySQL Instances. |
Full storage |
There is not enough storage available for a DB instance and the instance becomes read-only, so applications cannot write any data to the instance. For details, see Full Storage of RDS for MySQL Instances. |
Number of tables |
RDS for MySQL supports a maximum of 500,000 tables. If there are more than 500,000 tables, database backup or a minor version upgrade may fail. If there are more than 100,000 tables, DDL statements executed for the tables cause high CPU utilization. To remain database performance, temporarily increase the value of innodb_open_files on the console to the total number of tables in the instance. After the DDL execution is complete, set the parameter to its default value.
NOTICE:
The innodb_open_files value actually applied is the smaller one of innodb_open_files and table_open_cache. |
Rebooting a DB instance |
DB instances cannot be rebooted through commands. They must be rebooted through the RDS console. |
Stopping or starting a DB instance |
|
Viewing backups |
You can download automated and manual backups for local storage. To download a backup, you can use OBS Browser+, the current browser, or the download URL. For more information, see Downloading a Full Backup File. |
Log management |
|
Recycle bin |
RDS allows you to move unsubscribed yearly/monthly DB instances and deleted pay-per-use DB instances to the recycle bin. You can rebuild a DB instance that was deleted up to 7 days ago from the recycle bin. |
SQL standard |
The ZEROFILL attribute has been deprecated and will be deleted in later versions. |
Permission |
Level |
Description |
Supported |
---|---|---|---|
Select |
Table |
Query permissions |
Yes |
Insert |
Table |
Insert permissions |
|
Update |
Table |
Update permissions |
|
Delete |
Table |
Delete permissions |
|
Create |
Database, table, or index |
Permissions of creating databases, tables, or indexes |
|
Drop |
Database or table |
Permissions of deleting databases or tables |
|
Reload |
Server management |
Permissions of running the following commands: flush-hosts, flush-logs, flush-privileges, flush-status, flush-tables, flush-threads, refresh, and reload |
|
Process |
Server management |
Permissions of viewing processes |
|
Grant |
Database, table, or stored program |
Permissions of granting access control |
|
References |
Database or table |
Foreign key operation permissions |
|
Index |
Table |
Index permissions |
|
Alter |
Table |
Permissions of altering tables, such as adding fields or indexes |
|
Show_db |
Server management |
Permissions of viewing database connections |
|
Create_tmp_table |
Server management |
Permissions of creating temporary tables |
|
Lock_tables |
Server management |
Permissions of locking tables |
|
Execute |
Stored procedure |
Permissions of executing stored procedures |
|
Repl_slave |
Server management |
Replication permissions |
|
Repl_client |
Server management |
Replication permissions |
|
Create_view |
View |
Permissions of creating views |
|
Show_view |
View |
Permissions of viewing views |
|
Create_routine |
Stored procedure |
Permissions of creating stored procedures |
|
Alter_routine |
Stored procedure |
Permissions of altering stored procedures |
|
Create_user |
Server management |
Permissions of creating users |
|
Event |
Database |
Event triggers |
|
Trigger |
Database |
Triggers |
|
Super |
Server management |
Permissions of killing threads |
No For details, see Why Does the Root User of My RDS Instance Not Have the Super Permissions? |
File |
File on the server |
Permissions of accessing files on database server nodes |
No |
Shutdown |
Server management |
Permissions of shutting down databases |
|
Create_tablespace |
Server management |
Permissions of creating tablespaces |
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