RDS Database with 70GB of data takes 3-4 hours to stop...

0

Hi,

We've got a RDS database that is taking ridiculously long to stop, it starts back up within 4-5 mins~

  • Instance Class: db.t4g.large
  • Engine: PostgreSQL
  • Engine Version: 12.11
  • Multi-AZ: No
  • Storage Type: SSD (gp2)
  • Storage: 150GB (70GB used)
  • Performance Insights: Disabled
  • Cloudwatch: Enabled

A backup of the instance takes 45 mins to complete, so even with the "hidden snapshot" it should only take 50~ mins max... why is it taking so long to stop an RDS instance?

I'd greatly appreciate suggestions and advice.

Thanks

質問済み 2年前229ビュー
1回答
0
  1. Analyze pg_stat_activity, pg_stat_statements for the DB activity and long running queries during that time
  2. Take pg_badger report during the window and analyze the session/queries
  3. If possible, enable Performance insights and check what is top events and top SQLs during the window
AWS
回答済み 2年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ