mysql - 将AWS RDS数据库转换为InnoDB,数据库 "mysql"是否需要转换?

标签 mysql innodb myisam rds

出于显而易见的原因,我正在将所有 RDS 数据库转换为 InnoDB。但是,我仍然收到通知,并非我所有的数据库都在使用 InnoDB。 唯一不是 InnoDB 的表属于 information_schema 和名为“mysql”的模式。我没有转换这些表,因为我担心它会破坏数据库。

Do not convert MySQL system tables in the mysql database (such as user or host) to the InnoDB type. This is an unsupported operation. The system tables must always be of the MyISAM type.

我可以转换名为mysql的数据库吗?这是我从 AWS 收到的消息。

This DB Instance also contains MyISAM tables that have not been migrated to InnoDB. These tables can impact your ability to perform point-in-time restores. Consider converting these tables to InnoDB.

最佳答案

不要接触数据库 mysqlperformance_schemasyssys_schema(如果它们存在)。

此处列出了引擎转换中的一些细微问题: http://mysql.rjweb.org/doc.php/myisam2innodb

关于mysql - 将AWS RDS数据库转换为InnoDB,数据库 "mysql"是否需要转换?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33201033/

相关文章:

mysql - MyISAM表意外丢失,我丢失了1个月的数据,而且我的主机没有备份

php - MySQL 带回多个总数

php - 尝试将带有间隔值的日期插入日期时间字段时出现语法错误

mysql - 使用 Laravel 队列时如何避免作业数据库表锁问题?

mysql - 调整具有WriteIOPS不稳定性的MySQL RDS

mysql - 在实时机器 (MySQL) 上更新 MyISAM 表

mysql - 支持 MySQL 的 linux 的低开销语言是什么?

mysql - 将列作为行返回

mysql - InnoDB 在外键上使用 where 子句时锁定不同的索引

mysql - 重新同步MySQL自增字段