選取您的 Cookie 偏好設定

我們使用提供自身網站和服務所需的基本 Cookie 和類似工具。我們使用效能 Cookie 收集匿名統計資料,以便了解客戶如何使用我們的網站並進行改進。基本 Cookie 無法停用,但可以按一下「自訂」或「拒絕」以拒絕效能 Cookie。

如果您同意,AWS 與經核准的第三方也會使用 Cookie 提供實用的網站功能、記住您的偏好設定,並顯示相關內容,包括相關廣告。若要接受或拒絕所有非必要 Cookie,請按一下「接受」或「拒絕」。若要進行更詳細的選擇,請按一下「自訂」。

開啟 Amazon RDS Database Insights 的標準模式

焦點模式
開啟 Amazon RDS Database Insights 的標準模式 - Amazon Relational Database Service

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

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

若要開啟 Amazon RDS Database Insights 的標準模式,請使用下列程序。

在建立資料庫執行個體或多可用區域資料庫叢集時,開啟 Database Insights 的標準模式

Amazon RDS 建立資料庫時,請開啟 Database Insights 的標準模式。

Console

在 主控台中,您可以在建立資料庫執行個體或多可用區域資料庫叢集時,開啟 Database Insights 的標準模式。

使用主控台建立資料庫執行個體或多可用區域資料庫叢集時,開啟 Database Insights 的標準模式
  1. 登入 AWS Management Console ,並在 https://console.aws.amazon.com/rds/:// 開啟 Amazon RDS 主控台。

  2. 選擇 Databases (資料庫)。

  3. 選擇建立資料庫

  4. Database Insights 區段中,選取標準模式。然後,從下列選項中選擇開啟或關閉績效詳情:

    • 若要關閉績效詳情,請取消選取啟用績效詳情

    • 若要開啟績效詳情,請選取啟用績效詳情。若要設定績效詳情,請指定下列選項:

      • Retention (保留) – 保留績效詳情資料的時間。保留期間必須至少為 7 天。

      • AWS KMS key – 指定您的 KMS 金鑰。績效詳情使用您的 KMS 金鑰來加密所有可能的敏感資料。將會對傳輸中與靜態資料進行加密。如需詳細資訊,請參閱加密 Amazon RDS 資源

  5. 選擇建立資料庫

AWS CLI

若要在建立資料庫執行個體或多可用區域資料庫叢集時開啟 Database Insights 的標準模式,請呼叫 create-db-instancecreate-db-cluster AWS CLI 命令,並提供下列值:

  • --database-insights-mode standard 以開啟 Database Insights 的標準模式。

  • --engine資料庫執行個體的資料庫引擎。

  • --db-instance-identifier – 資料庫執行個體的識別符,或 --db-cluster-identifier多可用區域資料庫叢集的識別符。

  • --enable-performance-insights--no-enable-performance-insights 以開啟或關閉績效詳情。如果您指定 --enable-performance-insights,您還必須指定 --performance-insights-retention-period 資料庫資料庫執行個體資料的保留期間。保留期間必須至少為 7 天。

下列範例會在建立 執行個體時啟用 Database Insights 和 Performance Insights 的標準模式。

若為 Linux、macOS 或 Unix:

aws rds create-db-instance \ --database-insights-mode standard \ --engine postgresql \ --db-instance-identifier sample-db-identifier \ --enable-performance-insights \ --performance-insights-retention-period 7

針對 Windows:

aws rds create-db-instance ^ --database-insights-mode standard ^ --engine postgresql ^ --db-instance-identifier sample-db-identifier ^ --enable-performance-insights ^ --performance-insights-retention-period 7

下列範例會啟用 Database Insights 的標準模式,並在建立 執行個體時停用績效詳情。

若為 Linux、macOS 或 Unix:

aws rds create-db-instance \ --database-insights-mode standard \ --engine postgresql \ --db-instance-identifier sample-db-identifier \ --no-enable-performance-insights

針對 Windows:

aws rds create-db-instance ^ --database-insights-mode standard ^ --engine postgresql ^ --db-instance-identifier sample-db-identifier ^ --no-enable-performance-insights
RDS API

若要在建立資料庫執行個體或多可用區域資料庫叢集時開啟 Database Insights 的標準模式,請為您的 CreateDBInstanceCreateDBCluster Amazon RDS API 操作指定下列參數。

  • DatabaseInsightsModestandard

  • EnablePerformanceInsightsTrueFalse。如果您將 EnablePerformanceInsights 設為 True,則必須將 PerformanceInsightsRetentionPeriod設為至少 7 天。

在 主控台中,您可以在建立資料庫執行個體或多可用區域資料庫叢集時,開啟 Database Insights 的標準模式。

使用主控台建立資料庫執行個體或多可用區域資料庫叢集時,開啟 Database Insights 的標準模式
  1. 登入 AWS Management Console ,並在 https://console.aws.amazon.com/rds/:// 開啟 Amazon RDS 主控台。

  2. 選擇 Databases (資料庫)。

  3. 選擇建立資料庫

  4. Database Insights 區段中,選取標準模式。然後,從下列選項中選擇開啟或關閉績效詳情:

    • 若要關閉績效詳情,請取消選取啟用績效詳情

    • 若要開啟績效詳情,請選取啟用績效詳情。若要設定績效詳情,請指定下列選項:

      • Retention (保留) – 保留績效詳情資料的時間。保留期間必須至少為 7 天。

      • AWS KMS key – 指定您的 KMS 金鑰。績效詳情使用您的 KMS 金鑰來加密所有可能的敏感資料。將會對傳輸中與靜態資料進行加密。如需詳細資訊,請參閱加密 Amazon RDS 資源

  5. 選擇建立資料庫

在修改資料庫執行個體或多可用區域資料庫叢集時,開啟 Database Insights 的標準模式

修改 Amazon RDS 的資料庫時,請開啟 Database Insights 的標準模式。

注意

若要啟用 Database Insights,多可用區域資料庫叢集中的每個資料庫執行個體必須具有相同的效能詳情和增強型監控設定。

Console

在 主控台中,您可以在修改資料庫執行個體或多可用區域資料庫叢集時,開啟 Database Insights 的標準模式。

使用主控台修改資料庫執行個體或多可用區域資料庫叢集時,開啟 Database Insights 的標準模式
  1. 登入 AWS Management Console ,並在 https://console.aws.amazon.com/rds/:// 開啟 Amazon RDS 主控台。

  2. 選擇 Databases (資料庫)。

  3. 選擇一個資料庫執行個體或多可用區域資料庫叢集,然後選擇 Modify (修改)。

  4. Database Insights 區段中,選取標準模式。然後,從下列選項中選擇:

    • 若要關閉績效詳情,請取消選取啟用績效詳情

    • 若要開啟績效詳情,請選取啟用績效詳情。若要設定績效詳情,請指定下列選項:

      • Retention (保留) – 保留績效詳情資料的時間。保留期間必須至少為 7 天。

      • AWS KMS key – 指定您的 KMS 金鑰。績效詳情使用您的 KMS 金鑰來加密所有可能的敏感資料。將會對傳輸中與靜態資料進行加密。如需更多詳細資訊,請參閱 加密 Amazon RDS 資源

  5. 選擇 Continue (繼續)。

  6. Scheduling of Modifications (修改排程) 中,選擇 Apply immediately (立即套用)。如果您在下一個排定的維護時段選擇套用,您的資料庫會忽略此設定,並立即開啟 Database Insights 的標準模式。

  7. 選擇修改執行個體

AWS CLI

若要在修改資料庫執行個體或多可用區域資料庫叢集時開啟 Database Insights 的標準模式,請呼叫 modify-db-instancemodify-db-cluster AWS CLI 命令,並提供下列值:

  • --database-insights-mode standard 以開啟 Database Insights 的標準模式。

  • --db-instance-identifier – 資料庫執行個體的識別符 或 --db-cluster-identifier多可用區域資料庫叢集的識別符。

  • --enable-performance-insights--no-enable-performance-insights 以開啟或關閉績效詳情。如果您指定 --enable-performance-insights,您還必須指定 --performance-insights-retention-period- 資料庫執行個體或多可用區域資料庫叢集的資料保留期。保留期間必須至少為 7 天。

下列範例會啟用 Database Insights 的標準模式,並在修改 執行個體時啟用 Performance Insights。

若為 Linux、macOS 或 Unix:

aws rds modify-db-instance \ --database-insights-mode standard \ --db-instance-identifier sample-db-identifier \ --enable-performance-insights \ --performance-insights-retention-period 7

針對 Windows:

aws rds modify-db-instance ^ --database-insights-mode standard ^ --db-instance-identifier sample-db-identifier ^ --enable-performance-insights ^ --performance-insights-retention-period 7

下列範例會啟用 Database Insights 的標準模式,並在修改 執行個體時停用績效詳情。

若為 Linux、macOS 或 Unix:

aws rds modify-db-instance \ --database-insights-mode standard \ --db-instance-identifier sample-db-identifier \ --no-enable-performance-insights

針對 Windows:

aws rds modify-db-instance ^ --database-insights-mode standard ^ --db-instance-identifier sample-db-identifier ^ --no-enable-performance-insights
RDS API

若要在修改資料庫執行個體或多可用區域資料庫叢集時開啟 Database Insights 的標準模式,請為您的 ModifyDBInstanceModifyDBCluster Amazon RDS API 操作指定下列參數。

  • DatabaseInsightsModestandard

  • EnablePerformanceInsightsTrueFalse。如果您將 EnablePerformanceInsights 設為 True,則必須將 PerformanceInsightsRetentionPeriod設為至少 7 天。

在 主控台中,您可以在修改資料庫執行個體或多可用區域資料庫叢集時,開啟 Database Insights 的標準模式。

使用主控台修改資料庫執行個體或多可用區域資料庫叢集時,開啟 Database Insights 的標準模式
  1. 登入 AWS Management Console ,並在 https://console.aws.amazon.com/rds/:// 開啟 Amazon RDS 主控台。

  2. 選擇 Databases (資料庫)。

  3. 選擇一個資料庫執行個體或多可用區域資料庫叢集,然後選擇 Modify (修改)。

  4. Database Insights 區段中,選取標準模式。然後,從下列選項中選擇:

    • 若要關閉績效詳情,請取消選取啟用績效詳情

    • 若要開啟績效詳情,請選取啟用績效詳情。若要設定績效詳情,請指定下列選項:

      • Retention (保留) – 保留績效詳情資料的時間。保留期間必須至少為 7 天。

      • AWS KMS key – 指定您的 KMS 金鑰。績效詳情使用您的 KMS 金鑰來加密所有可能的敏感資料。將會對傳輸中與靜態資料進行加密。如需更多詳細資訊,請參閱 加密 Amazon RDS 資源

  5. 選擇 Continue (繼續)。

  6. Scheduling of Modifications (修改排程) 中,選擇 Apply immediately (立即套用)。如果您在下一個排定的維護時段選擇套用,您的資料庫會忽略此設定,並立即開啟 Database Insights 的標準模式。

  7. 選擇修改執行個體

隱私權網站條款Cookie 偏好設定
© 2025, Amazon Web Services, Inc.或其附屬公司。保留所有權利。