今日を知り、明日を変えるシステム運用メディア

CloudWatch は Aurora PostgreSQL の実行計画キャプチャを提供します

CloudWatch は Aurora PostgreSQL の実行計画キャプチャを提供します

本記事は、2025 年 1 月22 日にAWS公式サイトの What’s New with AWS? に掲載された英語記事を自動翻訳したものです。

ニュース内容

Amazon CloudWatch Database Insights は、Aurora PostgreSQL インスタンスで実行されている上位の SQL クエリのクエリ実行プランを収集し、時間の経過とともに保存するようになりました。

この機能は、クエリ実行プランの変更がパフォーマンスの低下やクエリの停止の原因であるかどうかを特定するのに役立ちます。Aurora PostgreSQL の実行プランのキャプチャは、CloudWatch Database Insights のアドバンスモードでのみ使用できます。

クエリ実行プランは、データベースエンジンがリレーショナルデータベース管理システム (RDBMS) のデータを取得または変更するために使用する一連の手順です。RDBMS クエリオプティマイザーは、特定のクエリを実行するための一連の代替方法から常に最適な実行プランを選択するとは限りません。そのため、データベースユーザーは、パフォーマンスを向上させるためにプランを手動で調べて調整する必要がある場合があります。

この機能を使用すると、SQL クエリの複数のプランを視覚化して比較できます。これにより、SQL クエリのパフォーマンスの変化がクエリ実行プランの違いによるものかどうかを数分以内に判断できます。

この機能は、RDS サービスコンソール、AWS API、または AWS SDK を使用して Aurora PostgreSQL クラスターで Database Insights アドバンスモードを有効にすると開始できます。 CloudWatch Database Insights は、フリートレベルで集約されたデータベースのヘルスモニタリングと、詳細なデータベースおよび SQL クエリ分析のためのインスタンスレベルのダッシュボードを提供します。

CloudWatch Database Insights は、すべてのパブリック AWS リージョンで利用可能で、vCPU ベースの料金設定を提供しています。詳細については、料金ページをご覧ください。詳細については、Database Insights のドキュメントをご覧ください。

原文

Amazon CloudWatch Database Insights now collects the query execution plans of top SQL queries running on Aurora PostgreSQL instances, and stores them over time. This feature helps you identify if a change in the query execution plan is the cause of performance degradation or a stalled query. Execution plan capture for Aurora PostgreSQL is available exclusively in the Advanced mode of CloudWatch Database Insights.

A query execution plan is a sequence of steps that database engines use to retrieve or modify data in a relational database management system (RDBMS). The RDBMS query optimizers may not always choose the most optimal execution plan from a set of alternative ways to execute a given query. Hence, database users sometimes need to manually examine and tune the plans to improve performance. This feature allows you to visualize multiple plans of a SQL query and compare them. It can help you determine if a change in performance of a SQL query is due to a different query execution plan within minutes.

You can get started with this feature by enabling Database Insights Advanced mode on your Aurora PostgreSQL clusters using the RDS service console, AWS APIs, or the AWS SDK. CloudWatch Database Insights delivers database health monitoring aggregated at the fleet level, as well as instance-level dashboards for detailed database and SQL query analysis.

CloudWatch Database Insights is available in all public AWS Regions and offers vCPU-based pricing – see the pricing page for details. For further information, visit the Database Insights documentation.

引用元:CloudWatch provides execution plan capture for Aurora PostgreSQL

人気の記事

最新情報をお届けします!

最新のITトレンドやセキュリティ対策の情報を、メルマガでいち早く受け取りませんか?ぜひご登録ください

メルマガ登録