0

I am using AWS RDS postgresql with instance type db.t2.medium which has 4GB of memory. In monitoring the RAM consumption is more than 3.3GB continuously. How to determine which process is consuming the more memory. Enhance monitoring is also not there for postgresql. So can't determine why there is so much consumption of the memory.

Ajeet Khan
  • 183
  • 2
  • 8

1 Answers1

1

You don't have to monitor or worry about RDS, Amazon monitors it for you. So long as performance meets your needs just leave it be.

It's probably being used by cache - either disk or database.

Tim
  • 31,888
  • 7
  • 52
  • 78
  • But if the usage increases and the memory gets utilized to its full capacity than it will affect the performance and may cause downtime. – Ajeet Khan Jan 28 '16 at 19:24
  • Free memory is wasted memory. Memory is far better used for cache, it can be freed instantly if memory is needed for something more important. I would expect memory consumption to be close to 100%. I repeat my earlier advice - if your database is performing as expected then full memory is not an issue. Monitor your database performance, if it starts to drop then you can consider options. – Tim Jan 28 '16 at 19:27
  • Can you suggest ways to monitor database performance? – Ajeet Khan Jan 28 '16 at 19:29
  • Yes, use Cloudwatch http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Monitoring.html – Tim Jan 28 '16 at 20:09