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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인