刪除資料庫執行個體 - Amazon Timestream

如需類似 Amazon Timestream for LiveAnalytics 的功能,請考慮使用 Amazon Timestream for InfluxDB。它提供簡化的資料擷取和單一位數毫秒查詢回應時間,以進行即時分析。在這裡進一步了解。

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

刪除資料庫執行個體

刪除資料庫執行個體會影響執行個體可復原性和快照可用性。請考慮以下問題:

  • 如果您想要刪除 InfluxDB 資源的所有 Timestream,請注意,資料庫執行個體資源會產生帳單費用。

  • 刪除資料庫執行個體的狀態時,其 CA 憑證值不會出現在 Timestream for InfluxDB 主控台中,也不會出現在 AWS Command Line Interface 命令或 Timestream API 操作的輸出中。

  • 刪除資料庫執行個體所需的時間取決於刪除的資料量,以及是否拍攝最終快照。

您可以使用 AWS Command Line Interface、 或 Timestream API AWS Management Console刪除資料庫執行個體。您必須提供資料庫執行個體的名稱:

使用 AWS Management Console
  1. 登入 AWS Management Console 並開啟 Amazon Timestream for InfluxDB 主控台

  2. 在導覽窗格中,選擇 InfluxDB 資料庫,然後選擇您要刪除的資料庫執行個體。

  3. 選擇 刪除

  4. 在方塊中輸入確認

  5. 選擇 刪除

使用 AWS Command Line Interface

若要尋找您帳戶中資料庫執行個體IDs,請呼叫 list-db-instances命令:

aws timestream-influxdb list-db-instances \ --endpoint-url YOUR_ENDPOINT \ --region YOUR_REGION

若要使用 CLI AWS 刪除資料庫執行個體,請使用下列選項呼叫 delete-db-instance命令:

aws timestream-influxdb list-db-instances \ --identifier YOUR_DB_INSTANCE \
範例

若為 Linux、macOS 或 Unix:

aws timestream-influxdb delete-db-instance \ --identifier mydbinstance

針對 Windows:

aws timestream-influxdb delete-db-instance ^ --identifier mydbinstance