View a markdown version of this page

Amazon CloudWatch로 Aurora DSQL 모니터링 - Amazon Aurora DSQL

Amazon CloudWatch로 Aurora DSQL 모니터링

원시 데이터를 수집하여 읽기 가능한 실시간에 가까운 지표로 처리하는 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.

CDC 스트림 지표

Aurora DSQL은 변경 데이터 캡처(CDC) 스트림에 대해 다음 지표를 게시합니다. 이러한 지표는 ClusterIdStreamId 차원을 사용하므로 각 CDC 스트림을 독립적으로 모니터링할 수 있습니다. CDC 스트림에 대한 자세한 내용은 데이터 캡처(CDC) 스트림 변경을 참조하세요.

CloudWatch 지표 이름 지표 단위 설명
IsImpaired Is impaired none Indicates whether the stream is impaired. The value is 1 when the stream is in the IMPAIRED state, and 0 when the stream is healthy. Use this metric to create a CloudWatch alarm that notifies you when a stream becomes impaired.
PublishedBytes Published bytes bytes The total number of bytes that Aurora DSQL wrote to the target Kinesis data stream.
PublishedRecords Published records none The number of CDC records that Aurora DSQL wrote to the target Kinesis data stream.
BehindSourceLag Behind source lag milliseconds The delay, in milliseconds, between when a transaction commits in Aurora DSQL and when the CDC system processes the resulting record. A rising value indicates that the CDC pipeline is falling behind the write workload. If lag grows beyond the failure threshold, the stream transitions to FAILED.
BytesStreamed Bytes streamed bytes The total bytes streamed through the CDC pipeline for billing purposes. This metric reflects the data volume used to calculate streaming charges.
StreamDPU Stream DPU DPU The Distributed Processing Units (DPU) consumed by the CDC stream. This metric reflects the processing cost of streaming change data.