People,
Can someone explain this picture of memory consumption on Amazon RDS working with Mysql? In this graph, I upgraded to db.m2.2xlarge, with 34 GB of available memory, at 03:30. You see the switch very clearly. When clients start connecting and fall into this instance, Freeable memory drops steeply to 5 GB, where it now hovers. In my previous update, between the dimensions of the DB instance, I saw the same pattern until free memory dropped to less than 1 GB and hung there indefinitely.
What does this example do from 03:30 to 07:30? Why doesn't he free up unused memory when it becomes available? I think I would expect this graph to be a waveform corresponding to usage patterns and traffic vs vs an exponential decay form, which suggests that this is a super lazy and / or broken garbage collection algorithm.
Also note that about 2 / 3rds of database operations are writes, and 1/3 are reads, and about 2 GB of memcache in front of the database.

memory-management mysql memory-leaks amazon-web-services amazon-rds
esilver Jul 23 2018-11-11T00: 00Z
source share