- Documentation
RDS for MySQL
Kernel functions
Performance
Invisible Index
Performance
Invisible Index
Invisible Index
This topic describes the invisible index feature that RDS for MySQL provides for MySQL 5.7 instances.
After an index is made invisible, if an application or user is actually using it, they will receive errors or experience performance problems. This method allows you to assess the impact of deleting an index before it is deleted, so you can confirm whether it can be safely deleted. RDS for MySQL ports this feature from MySQL 8.0 to MySQL 5.7, making the feature available in MySQL 5.7 as well.
- MySQL 5.7 version, and the kernel minor version is MySQL 5.7.32_20250615 and above.
- MySQL 8.0 version, all kernel minor versions are supported.
- MySQL 8.4 version, and the kernel minor version is MySQL 8.4.7_20260415 and above.
This feature allows you to set an index to invisible before deleting it, to determine if the index is still in use by checking for errors or performance problems. It is suitable for business scenarios that require high security.
- Using force index on an invisible index causes an error:
- Invisible index is a new syntax that RDS for MySQL adds for MySQL 5.7. After using this syntax, note the downstream binlog consumption.
- Use the following statements to create an invisible index or change an index to an invisible index:
- Use the following statement to change it to a visible index:
Last updated: 2026.06.03 14:52:29