All Products
Search
Document Center

ApsaraDB RDS:Limits

Last Updated:Mar 28, 2026

ApsaraDB RDS for MySQL enforces the following limits to maintain instance stability and security.

Unless a specific version is mentioned, the limits in this topic apply to all versions.

For limits on other database engines, see:

Specifications and performance

ResourceLimitNotes
Storage spaceHigh-performance local disks: up to 8,000 GB<br>Standard SSDs: up to 6,000 GB<br>Enterprise SSDs (ESSDs): up to 64,000 GBThe maximum varies by instance type. See Primary instance types.
Temporary tablespaceHigh-performance local disks: up to 300 GB<br>Cloud disks: unlimitedExceeding the 300 GB limit on high-performance local disks can cause frequent high-availability switches and instance breakdowns.
ConnectionsUp to 100,000The maximum varies by instance type. See Primary instance types.
IOPSHigh-performance local disks: up to 144,000<br>Cloud disks: see IOPS
MemoryHigh-performance local disks: up to 720 GB<br>Cloud disks: up to 768 GBFor cloud disk instances, the underlying operating system consumes approximately 500–700 MB and ApsaraDB RDS management services consume approximately 500 MB. The actual available memory is less than the specified size.
JSON columnMaximum storable data: 4 GB

Quotas

QuotaLimitAdjustable
Read-only instances per primary instance10No
Pay-as-you-go and Serverless primary instances200Yes — submit a request in Quota Center
Tags per instance20 (each tag key must be unique)No
Instances per batch tag operation50No
Free backup storage — high-performance local disks50% × purchased storage spaceNo
Free backup storage — cloud disks200% × purchased storage spaceNo
Backup retention periodDefault: 7 days. Maximum: 730 days. Backups retained beyond 730 days are converted to archive backups at a lower storage cost. See Backup storage costs.No

The excess backup usage is calculated as: Data backup size + Log backup size - Free quota. The value is measured in GB and rounded up to the nearest integer.

Log retention periods

Log typeRetention period
Error logs30 days
Slow query log details7 days
Slow query log statistics7 days
Primary/secondary switchover logs30 days

See View error logs and slow query logs.

Naming limits

ItemRules
Instance name2–255 characters. Allowed: uppercase letters, lowercase letters, Chinese characters, digits, underscores (_), and hyphens (-). Must start with a letter or a Chinese character.
Account nameMySQL 8.0 or 5.7: 2–32 characters. MySQL 5.6: 2–16 characters. Allowed: lowercase letters, digits, and underscores (_). Must start with a lowercase letter and end with a lowercase letter or digit. Must be unique and cannot be an SQL keyword.
Database nameUp to 64 characters. Allowed: lowercase letters, digits, underscores (_), and hyphens (-). Must start with a lowercase letter and end with a lowercase letter or digit. Must be unique and cannot be an SQL keyword.
User-defined function nameAvoid reserved keywords.

Security limits

Passwords

Passwords must be 8–32 characters and contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters (!@#$%^&*()_+-=).

Network and access

ItemLimit
Default port3306. Change it in the console if needed. See View or change endpoints and ports.
Disk encryptionCan only be enabled during instance creation. Cannot be disabled afterward. See Configure disk encryption.
Security groups per instanceMaximum 10. If an ApsaraDB RDS instance and an Elastic Compute Service (ECS) instance are in different security groups, the ECS instance cannot access the RDS instance. The security group must match the instance network type: virtual private cloud (VPC) instances can only join VPC-type security groups; classic network instances can only join classic network-type security groups. See Configure a security group.
IP whitelist groups per instanceMaximum 50. Each group supports up to 1,000 IP addresses or CIDR blocks. See Configure an IP address whitelist.
Public endpointMust be manually requested. See Apply for or release a public endpoint.

Account permissions

ApsaraDB RDS does not provide root or sa permissions.

Privileged accounts:

  • One privileged account per instance (create and manage it in the console or via API only).

  • A privileged account can disconnect any other account.

Standard accounts:

  • Create and manage standard accounts in the console, via API, or using SQL statements.

  • Standard accounts cannot create or manage other accounts, and cannot disconnect other accounts.

  • By default, a standard account can only connect to the current database. Grant permissions on specific databases in the console, or use a GRANT statement. See Modify permissions of a standard account and Account permissions.

XA_RECOVER_ADMIN permission (MySQL 8.0 only):

  • Only MySQL 8.0 instances support this permission.

  • For accounts created in the RDS console, grant it manually using the GRANT command.

  • Accounts created via other means (such as the CREATE USER command on a client) cannot be granted this permission.

Instance parameters:

Most parameters can be modified in the console or via API. For security and stability, some parameters cannot be modified.

Instance operation limits

Storage engines

Supported engine:

  • InnoDB

Unsupported engines:

EngineStatusDetails
X-EngineNew instances not supportedConvert existing X-Engine instances to InnoDB and enable storage compression to reduce storage costs.
TokuDBNot supported since August 1, 2019Percona no longer maintains TokuDB and many known bugs remain unfixed. See [Discontinuation] Convert TokuDB to InnoDB.
MyISAMNot supportedExisting MyISAM tables are automatically converted to InnoDB. See Why is MyISAM not supported?
MEMORYNot supportedMEMORY tables are automatically converted to InnoDB.

Backup and recovery

OperationAllowed methods
Logical backupCommand line or graphical user interface (GUI)
Physical backupRDS console or API only
Logical recoveryCommand line or GUI
Physical recoveryRDS console or API only

Logging

  • Logging is enabled by default and cannot be disabled.

  • The binlog_format parameter is fixed to ROW and cannot be changed.

High availability and replication

ApsaraDB RDS for MySQL uses a primary/secondary replication architecture (except for Basic Edition instances).

  • High-availability series: The secondary instance is not readable.

  • Cluster Edition: Secondary nodes are readable.

Other limits

ItemLimit
Single table sizeUp to 16 TB (OS file size limit). See Single table size limits.
Storage space — full behaviorWhen storage is full, the instance is automatically locked. Monitor storage usage regularly to prevent this.

If the storage space of an instance is full, the instance is automatically locked. This affects its use. Regularly check the storage usage.

Instance restartRestart in the console or via API.
Network settings (MySQL 5.5/5.6)If the instance is in the classic network and has database proxy enabled, do not enable net.ipv4.tcp_timestamps in SNAT mode.
Help informationAll MySQL versions include the mysql.help_topic schema and support the HELP command. In some versions, help data may not be initialized and query results may be empty. Manually import a script to populate the data.