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

preguntada hace 2 años229 visualizaciones
1 Respuesta
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
respondido hace 2 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas