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.

gefragt vor einem Monat181 Aufrufe
2 Antworten
1
Akzeptierte Antwort

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
beantwortet vor einem Monat
profile picture
EXPERTE
überprüft vor einem Monat
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
EXPERTE
beantwortet vor einem Monat
profile pictureAWS
EXPERTE
überprüft vor einem Monat

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen