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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南