使用 Performance Insights 进行监控 - Amazon DocumentDB

本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。

使用 Performance Insights 进行监控

Performance Insights 添加到现有的 Amazon DocumentDB 监控功能中,以展示您的集群性能并帮助您分析影响集群性能的任何问题。利用 Performance Insights 控制面板,您可以可视化数据库负载并按等待状态、查询语句、主机或应用来筛选负载。

注意

Performance Insights 仅适用于 Amazon DocumentDB 3.6、4.0 和 5.0 基于实例的集群。

它有何用处?

  • 可视化数据库性能 — 可视化负载以确定负载在数据库上的时间和位置

  • 确定导致数据库负载的原因 — 确定哪些查询、主机和应用程序导致了实例上的负载

  • 确定数据库何时出现负载 — 放大 Performance Insights 控制面板以关注特定事件,或缩小以查看更大时间跨度的趋势

  • 数据库负载警报 — 从 CloudWatch 自动访问新的数据库负载指标,您可以在其中监控数据库负载指标以及其他 DocumentDB 指标,并针对这些指标设置警报

Amazon DocumentDB Performance Insights 有哪些局限性?

  • AWS GovCloud(美国西部)区域的 Performance Insights 尚不可用

  • DocumentDB 的 Performance Insights 最多可保留 7 天的性能数据

  • 长度超过 1024kb 的查询不会在 Performance Insights 中聚合