0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

CloudWatch の Database Insights Advanced で Aurora MySQL の CreatedTmpTables の推移を見よう

Posted at

RDS Performance Insights の代替として出た CloudWatch Database Insights の有償版、Advanced モードを利用すると、一時テーブルの利用状況をメトリクスとして見ることができる。

image.png

これまでも performance_schema.memory_summary_global_by_event_name などを参照することで利用状況を確認することはできたが、あくまで「点」としての情報なので傾向を知るためにはスクリプトを組んで定期的に取得するなどの工夫が必要だった。

InnoDB オンディスク一時テーブルへの書き込みが頻発すると DB のパフォーマンスに大きく影響するほか、リーダーインスタンスにおいてはクエリがエラーになってしまうこともあるため、状況を知っておくことは大切。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?