

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# Amazon RDS Performance Insights
<a name="performance-insights-tools"></a>

[Amazon RDS Performance Insights](https://aws.amazon.com/rds/performance-insights/) 是一種資料庫效能調校和監控工具，可擴展 Amazon RDS 監控功能。它透過視覺化資料庫執行個體負載並依等待、SQL 陳述式、主機或使用者篩選負載，協助您分析資料庫的效能。此工具將多個指標合併為單一互動式圖形，可協助您識別資料庫執行個體可能遇到的瓶頸類型，例如鎖定等待、高 CPU 耗用或 I/O 延遲，並判斷哪些 SQL 陳述式正在建立瓶頸。下列畫面顯示視覺化範例。

![\[來自 Amazon RDS Performance Insights 的範例圖表\]](http://docs.aws.amazon.com/zh_tw/prescriptive-guidance/latest/amazon-rds-monitoring-alerting/images/performance-insights-example.png)


您必須在資料庫執行個體建立程序期間[啟用績效詳情](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.Enabling.html)，才能收集您帳戶中 Amazon RDS 資料庫執行個體的指標。免費方案包括七天的效能資料歷史記錄和每月一百萬個 API 請求。或者，您可以購買較長的保留期。如需有關費用的資訊，請參閱 [Performance Insights 定價](https://aws.amazon.com/rds/performance-insights/pricing/)。

如需有關如何使用績效詳情來監控資料庫執行個體的資訊，請參閱本指南稍後的[資料庫執行個體監控](db-instance-monitoring.md)一節。

Performance Insights [會自動將指標發佈至 CloudWatch](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.Cloudwatch.html)。除了使用績效詳情工具之外，您還可以利用 CloudWatch 提供的其他功能。您可以使用 CloudWatch 主控台、 AWS CLI或 CloudWatch API 來檢查績效詳情指標。您也可以新增 CloudWatch 警示，就像任何其他指標一樣。例如，您可能想要觸發向DBAs簡訊通知，或在`DBLoad`指標超過您設定的閾值時採取修正動作。您也可以將績效詳情指標新增至現有的 CloudWatch 儀表板。