Amazon CloudWatch を使用した Aurora DSQL のモニタリング
raw データを収集し、読み取り可能なほぼリアルタイムのメトリクスを処理する CloudWatch を使用して Aurora DSQL をモニタリングします。CloudWatch はこれらの統計を 15 か月間保持するため、ウェブアプリケーションやサービスパフォーマンスをより適切に把握できます。アラームを設定して特定のしきい値を監視し、通知を送信したり、しきい値に達したときにアクションを実行したりします。Aurora DSQL で利用できる使用状況とオブザーバビリティのメトリクスを以下で確認してください。
詳細については、「Amazon CloudWatch ユーザーガイド」を参照してください。
オブザーバビリティとパフォーマンス
この表は、Aurora DSQL のオブザーバビリティメトリクスの概要を示しています。これには、読み取り専用トランザクションと合計トランザクションを追跡するためのメトリクスが含まれており、全体的なワークロードの特性を提供します。クエリタイムアウトや OCC 競合率などの実用的なメトリクスは、パフォーマンスの問題や同時実行の競合を特定するのに役立ちます。セッション関連のメトリクスは、アクティブと合計の両方で、システムの現在の負荷に関するインサイトを提供します。
CloudWatch メトリクス名 | メトリクス | 単位 | 説明 |
---|---|---|---|
ReadOnlyTransactions | Read-only transactions | none | The number of read-only transactions |
TotalTransactions | Total transactions | none | The total number of transactions executed on the system, including read-only transactions. |
QueryTimeouts | Query timeouts | none | The number of queries which have timed out due to hitting the maximum transaction time |
OccConflicts | OCC conflicts | none | The number of transactions aborted due to key level OCC |
CommitLatency | Commit Latency | milliseconds | Time spent by commit phase of query execution (P50) |
BytesWritten | Bytes Written | bytes | Bytes written to storage |
BytesRead | Bytes Read | bytes | Bytes read from storage |
ComputeTime | QP compute time | milliseconds | QP wall clock time |
ClusterStorageSize | Cluster Storage Size | bytes | Cluster size |
使用状況メトリクス
Aurora DSQL は、分散処理ユニット (DPU) と呼ばれる単一の正規化された請求ユニットを使用して、クエリ処理、読み取り、書き込みなど、すべてのリクエストベースのアクティビティを測定します。
CloudWatch メトリクス名 | メトリクス | ディメンション: ResourceId | 単位 | 説明 |
---|---|---|---|---|
WriteDPU | Write Units | <cluster-id> | DPU | Approximates the write active-use component of your Aurora DSQL cluster DPU usage. |
MultiRegionWriteDPU | Multi-Region Write Units | <cluster-id> | DPU | Applicable for Multi-Region clusters: Approximates the multi-Region write active-use component of your Aurora DSQL cluster DPU usage. |
ReadDPU | Read Units | <cluster-id> | DPU | Approximates the read active-use component of your Aurora DSQL cluster DPU usage. |
ComputeDPU | Compute Units | <cluster-id> | DPU | Approximates the compute active-use component of your Aurora DSQL cluster DPU usage. |
TotalDPU | Total Units | <cluster-id> | DPU | Approximates the total active-use component of your Aurora DSQL cluster DPU usage. |