性能洞察和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
전문가
질문됨 9달 전16회 조회
1개 답변
0

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

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

祝好, /Bennie

profile picture
전문가
답변함 9달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인