開始使用 CloudWatch Database Insights
Amazon RDS 和 Aurora 資料庫預設啟用 Database Insights 的標準模式。若要開始使用 Database Insights 的進階模式,可以建立新的資料庫或修改資料庫。
如需為 Amazon RDS 資料庫啟用 Database Insights 的進階模式或標準模式的詳細資訊,請參閱下列主題。
《Amazon RDS 使用者指南》中的 Turning on the Advanced mode of Database Insights for Amazon RDS
《Amazon RDS 使用者指南》中的 Turning on the Standard mode of Database Insights for Amazon RDS
《Amazon RDS 使用者指南》中的 Turning CloudWatch Database Insights on or off when creating a DB instance or Multi-AZ DB cluster for Amazon RDS
如需為 Amazon Aurora 資料庫啟用 Database Insights 的進階模式或標準模式的相關資訊,請參閱下列主題。
《Amazon Aurora 使用者指南》中的 Turning on the Advanced mode of Database Insights for Amazon Aurora
《Amazon Aurora 使用者指南》中的 Turning on the Standard mode of Database Insights for Amazon Aurora
如需為 Aurora PostgreSQL Limitless Database 啟用 Database Insights 進階模式或標準模式的相關資訊,請參閱下列主題。
《Amazon Aurora 使用者指南》中的為 Aurora PostgreSQL Limitless Database 開啟 Database Insights 進階模式
《Amazon Aurora 使用者指南》中的為 Aurora PostgreSQL Limitless Database 開啟 Database Insights 標準模式
Database Insights 的必要許可
使用 Database Insights 需要特定 IAM 許可。Database Insights 需要 CloudWatch、CloudWatch Logs、Amazon RDS 和 Amazon RDS Performance Insights 的許可。若您擁有更廣泛的權限,可能無需為使用者或角色提供這些許可。
需要下列 CloudWatch 許可才能使用 Database Insights。
cloudwatch:BatchGetServiceLevelIndicatorReportcloudwatch:DescribeAlarmscloudwatch:GetDashboardcloudwatch:GetMetricDatacloudwatch:ListMetricscloudwatch:PutDashboard
需要下列 CloudWatch Logs 許可才能使用 Database Insights。
logs:DescribeLogGroupslogs:GetQueryResultslogs:StartQuerylogs:StopQuery
需要下列 Amazon RDS 許可才能使用 Database Insights。
rds:DescribeDBClustersrds:DescribeDBInstancesrds:DescribeEventsrds:DescribeDBShardGroups(如果您要監控 Aurora PostgreSQL Limitless Database)
需要下列 Performance Insights 許可才能使用 Database Insights。
pi:ListAvailableResourceMetricspi:ListAvailableResourceDimensionspi:DescribeDimensionKeyspi:GetDimensionKeyDetailspi:GetResourceMetricspi:ListPerformanceAnalysisReportspi:GetResourceMetadatapi:GetPerformanceAnalysisReportpi:CreatePerformanceAnalysisReportpi:DeletePerformanceAnalysisReportpi:ListTagsForResourcepi:TagResourcepi:UntagResource
下列政策範例中包含完整存取 Database Insights 所需的許可。