性能洞察和MySQL 5.7.22

0

【以下的问题经过翻译处理】 您好,

我有一个MySQL 5.7.22版本的MySQL RDS DB。我想启用 Performance Insights。在这里查看:https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.Enabling.html,我发现需要在我的参数组中启用多个参数。所以我创建了一个新的参数组,并将“mysql5.7”用作参数组系列。

我毫不费力地在新创建的参数组中找到了“performance_schema”,并将其设置为1,但我没有看到文档中提到的任何“performance-schema”参数:

performance-schema-consumer-events-waits-current=ON
performance-schema-instrument='wait/%=ON'
performance-schema-consumer-global-instrumentation=ON
performance-schema-consumer-thread-instrumentation=ON

据我所知,我不能添加不存在的参数到参数组中,只能修改已有的参数。

在分配参数组并重新启动数据库后,我能够启用 Performance Insights,但仅限于此处提到的简化模式下:https://aws.amazon.com/blogs/database/tuning-amazon-rds-for-mysql-with-performance-insights/,其中等待表没有完整的信息。

有谁知道如何在数据库上启用这些参数,以便 Performance Insights 以完整模式运行?

profile picture
专家
已提问 8 个月前13 查看次数
1 回答
0

【以下的回答经过翻译处理】 为了启用性能洞察,您需要修改实例并启用它的选项。当您启用性能洞察时,系统会自动为您设置性能架构参数。您尝试修改的参数由 RDS 管理,用户无法修改。

请注意,以下DB实例类不支持性能洞察:db.t2.micro,db.t2.small,db.t3.micro和db.t3.small。

祝好, /Bennie

profile picture
专家
已回答 8 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则