View a markdown version of this page

为 Aurora MySQL 开启 Performance Schema - Amazon Aurora

为 Aurora MySQL 开启 Performance Schema

假设已为数据库实例启用了数据库洞察,但当前未管理性能架构。如果要允许数据库洞察自动管理性能架构,请完成以下步骤。

配置 Performance Schema 以进行自动管理
  1. 登录 AWS 管理控制台 并通过以下网址打开 Amazon RDS 控制台:https://console.aws.amazon.com/rds/。

  2. 选择参数组。

  3. 选择数据库实例的参数组名称。

  4. 选择编辑。

  5. 在搜索栏中输入 performance_schema。

  6. 选择 performance_schema 参数。

  7. 选择设置为默认值。

  8. 选择将值设置为默认值进行确认。

  9. 选择保存更改。

  10. 重启数据库实例。

    重要

    无论何时打开或关闭 Performance Schema,都要确保重启数据库实例。

有关修改实例参数的更多信息,请参阅在 Amazon Aurora 中修改数据库参数组中的参数。有关控制面板的更多信息,请参阅数据库洞察。有关 MySQL Performance Schema 的更多信息,请参阅 MySQL 文档中的 MySQL Performance Schema(适用于 8.0)和 MySQL Performance Schema(适用于 8.4)。