- Documentation
RDS for MySQL
Kernel functions
Feature
Automatically converting storage engine to InnoDB
Feature
Automatically converting storage engine to InnoDB
Automatically converting storage engine to InnoDB
This topic describes the feature in RDS for MySQL that automatically converts MyISAM, Memory, and Archive storage engines to the InnoDB storage engine.
RDS for MySQL supports the InnoDB storage engine by default but does not support the MyISAM, Memory, or Archive storage engines. To facilitate database migration or upgrades, you can automatically convert MyISAM, Memory, and Archive storage engines to the InnoDB storage engine.
Supported version
- MySQL 5.7 version, and the kernel minor version is MySQL 5.7.32_20250415 and above.
- MySQL 8.0 version, and the kernel minor version is MySQL 8.0.32_20250415 and above.
- MySQL 8.4 version, and the kernel minor version is MySQL 8.4.7_20260415 and above.
Instructions
- When a user creates a table and specifies the storage engine as MyISAM, Memory, or Archive, the storage engine is automatically converted to InnoDB.
- If a user creates a table without specifying a storage engine but sets the default engine to MyISAM, Memory, or Archive (for example, default_storage_engine = 'myisam'), the storage engine is also automatically converted to InnoDB.
- To disable the automatic conversion feature, set the value of the loose_convert_disabled_engines_to_innodb parameter to off. For detailed information on modifying parameters, please refer to Modifying parameters.
Limitations
The MyISAM engine supports composite primary keys that include auto-increment columns, while the InnoDB engine does not. Therefore, an error is reported when creating a table after it has been converted from MyISAM to InnoDB. The error message is as follows:
We recommend that you create an index for the auto-increment column to use composite primary keys that include an auto-increment column in the InnoDB engine. Example as follows:
The modification is as follows. The table is created successfully with the InnoDB storage engine:
Last updated: 2026.05.28 15:17:49