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.

posta un mese fa181 visualizzazioni
2 Risposte
1
Risposta accettata

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
con risposta un mese fa
profile picture
ESPERTO
verificato un mese fa
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
ESPERTO
con risposta un mese fa
profile pictureAWS
ESPERTO
verificato un mese fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande