Downsizing resources on rds Database

0

I downsize a production database ( RDS PostgreSQL) from 16 GB ram to a 8 GB ram and at first I had 11 GB free memory and now I have 5 GB of free memory , from that logic I can still downsize to a 4GB ram without any problem correct ? By the way my CPU utilization and the rest are prety low.

已提問 1 個月前檢視次數 181 次
2 個答案
1
已接受的答案

Hi,

To start with, you can upscale or downscale instance class based on CPU/RAM/IO requirement for your application. So if you think, 4 GB RAM and 2 vCPU is enough for your application workload, then you should downscale instance class to appropriate instance class for example: db.t4g.medium which has 2 vCPU and 4 GB RAM [1].

Furthermore, always remember to check supported instance class for DB engines [2].

Hope it helps and if it does, I would appreciate if answer can be accepted so that community can benefit for clarity when searching for similar enquiries in repost/aws guide.

References

[1] https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html#Concepts.DBInstanceClass.Summary : DB instance classes - Hardware specifications for DB instance classes

[2] https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html#gen-purpose-inst-classes : DB instance classes - Supported DB engines for general-purpose instance classes

AWS
已回答 1 個月前
profile picture
專家
已審閱 1 個月前
0

Hi,

Did you think about using Aurora Serverless for pg since your utilization is low: https://aws.amazon.com/rds/aurora/serverless/

You would solve 2 issues in 1 shot:

  • the RAM tuning that you need to do will be done by Aurora
  • Aurora is pay-as-you-go: costs are very low for a very low utilization

Best,

Didier

profile pictureAWS
專家
已回答 1 個月前
profile pictureAWS
專家
已審閱 1 個月前

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

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

回答問題指南