amazon-web-services - AWS RDS Performance Insights 未显示 SQL 查询

标签 amazon-web-services amazon-rds

我在 AWS RDS 中的现有 SQL Server 数据库 (MySql 5.6.46) 上启用了 Performance Insights。
但是,无论我从顶部列表中选择什么持续时间,它仍然显示 0 个 session 和“所选时间范围内没有事件 session ”。

是否需要满足某些条件才能将我的查询记录在 Performance Insights 中?标准是什么?我该如何解决这个问题?

最佳答案

我创建了 AWS Support 案例,AWS 工程师向我解释了:

Unfortunately, this is a known issue from our end where Performance Insights does not get enabled when it is issued in the same API call as engine version upgrade as RDS follows a priority in executing multiple requests that have been submitted as part of the same API call - for example in this case, request to enable Performance Insights and request to upgrade the instance to 11.1 version. Performance Insights call is evaluated first followed by the engine upgrade. This means that when Performance Insights request was being considered, the instance was still on the previous incompatible version, hence the request did not go through successfully.


The workaround to resolve this issue is to disable Performance insights, wait a few minutes and then re-enable Performance Insights.


Enabling/disabling Performance Insights does not cause an outage/downtime. The Performance Insights agent is designed to stay out of your database workloads' way. When Performance Insights detects heavy load or depleted resources, it backs off, still collecting data, but only when it is safe to do so.

关于amazon-web-services - AWS RDS Performance Insights 未显示 SQL 查询,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61086081/

相关文章:

mysql - 使用 MySQL Workbench 安全组通过 EC2 实例连接到 Amazon RDS 实例

postgresql - MOVE ALL IN "query-cursor_1"自动 sql 指令导致 AWS RDS Postgres 性能问题

amazon-web-services - 使用 AWS CLI 递归列出 s3 存储桶内容

amazon-web-services - 如何关闭要求我按键盘上的 Q 的 AWS CLI(2) dynamodb 响应? (又名沉默)

amazon-web-services - 对于 us-east-1 以外的区域,AWS CloudFront 返回 503

amazon-web-services - AWS : DB Instance quota exceeded

c# - 从 ASP.NET 应用程序连接到 AWS MySql 数据库时访问被拒绝

database - 在让您的应用程序在本地运行的同时使用 Amazon RDS。说得通?

scala - 无法在 postman 的 HEADERS 响应中看到 strict-transport-security 参数?

amazon-web-services - 如何从 AWS EMR 下载 Zeppelin Notebook